- 10 May, 2012 1 commit
-
-
Michael Niedermayer authored
Idea-by:
Don Moir <donmoir@comcast.net> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 09 May, 2012 8 commits
-
-
Justin Ruggles authored
The current SSE version is slower than the MMX version on Athlon64 and Sandy Bridge, but the SSE4 and AVX versions are faster on Sandy Bridge.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Mans Rullgard authored
Just like gcc 4.6 and later on ARM, gcc 4.8 on MIPS generates inefficient code when a known-unaligned location is used as a memory input operand. This applies the same fix as has been previously done to the ARM version of the code. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
GCC actually handles unaligned accesses correctly in all cases except, absurdly, 32-bit loads on mips64. The remaining asm is thus not needed, and removing it results in better code. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Michael Niedermayer authored
This should fix the parseutils fate test. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
error values can differ between platforms. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 08 May, 2012 2 commits
-
-
Diego Biurrun authored
libavcodec/utils.c:274: warning: passing argument 3 of ‘av_samples_fill_arrays’ discards qualifiers from pointer target type ./libavutil/samplefmt.h:151: note: expected ‘uint8_t *’ but argument is of type ‘const uint8_t *’
-
Carl Eugen Hoyos authored
-
- 07 May, 2012 2 commits
-
-
Diego Biurrun authored
-
Diego Biurrun authored
-
- 03 May, 2012 1 commit
-
-
Mans Rullgard authored
Commit adebad07 "arm: intreadwrite: fix inline asm constraints for gcc 4.6 and later" caused some older gcc versions to miscompile code. This reverts to the old version of the code for these compilers. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 02 May, 2012 2 commits
-
-
Mans Rullgard authored
Starting with version 4.7, gcc properly supports unaligned memory accesses on ARM. Not using the inline asm with these compilers results in better code. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
With a dereferenced type-cast pointer as memory operand, gcc 4.6 and later will sometimes copy the data to a temporary location, the address of which is used as the operand value, if it thinks the target address might be misaligned. Using a pointer to a packed struct type instead does the right thing. The 16-bit case is special since the ldrh instruction addressing modes are limited compared to ldr. The "Uq" constraint produces a memory reference suitable for an ldrsb instruction, which supports the same addressing modes as ldrh. However, the restrictions appear to apply only when the operand addresses a single byte. The memory reference must thus be split into two operands each targeting one byte. Finally, the "Uq" constraint is only available in ARM mode. The Thumb-2 ldrh instruction supports most addressing modes so the normal "m" constraint can be used there. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 30 Apr, 2012 3 commits
-
-
Stefano Sabatini authored
-
Michael Niedermayer authored
and suggest that av_parse_cpu_caps() be used. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 27 Apr, 2012 1 commit
-
-
Nicolas George authored
putenv() seems to be more portable.
-
- 25 Apr, 2012 3 commits
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
This moves the cpu flag parsing code from avconv to avutil so it can be accessed elsewhere. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Justin Ruggles authored
This is a new library for audio sample format, channel layout, and sample rate conversion.
-
- 24 Apr, 2012 1 commit
-
-
Reimar Döffinger authored
This should fix the FATE test on ARM (not tested), but it should also detect alpha values like 2^128 reliably as invalid which would be another out-of-range case with implementation-dependant behaviour. Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 23 Apr, 2012 4 commits
-
-
Justin Ruggles authored
Aligning nb_samples will give both correct plane pointer alignment and enough padding for SIMD-optimized functions.
-
Nicolas George authored
-
Nicolas George authored
Until now, av_parse_time() would accept "1:00" as "1" and silently ignore ":00". This patch also includes a few cosmetic changes.
-
Nicolas George authored
-
- 22 Apr, 2012 1 commit
-
-
Mans Rullgard authored
This allows masking CPU features with the -cpuflags avconv option which is useful for testing different optimisations without rebuilding. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 20 Apr, 2012 2 commits
-
-
Reimar Döffinger authored
Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
Justin Ruggles authored
The functions operate on the sample level rather than the byte level and work with all audio sample formats.
-
- 19 Apr, 2012 2 commits
-
-
Nico Weber authored
Yasm was fixed in its r2161 and yasm 0.8.0 (Apr 2010) contained this fix. Nasm was fixed in 2.06 (Jun 2009): https://groups.google.com/group/alt.lang.asm/browse_thread/thread/fcc85bbc3745d893 I tested with yasm 0.7.99 and yasm 1.2.0.7, where this works fine. I also tested with nasm. The nasm shipping with Xcode is too old to understand ffmpeg's assembly, before and after the patch. Nasm 2.10 fails to compile fft_mmx.asm on trunk with libavcodec/x86/fft_mmx.asm:88: panic: section ".text" has already been specified with alignment 32, conflicts with new alignment of 16 but builds fine if I change the two alignment "16"s in x86inc.asm to "32". With this patch, nasm 2.10 fails with libavcodec/x86/fft_mmx.asm:39: panic: section ".rodata" has already been specified with alignment 32, conflicts with new alignment of 16 instead, but again builds fine with s/16/32/. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Loren Merritt authored
Add cvtdq2ps and cvtps2dq to the AVX instruction list. Signed-off-by:
Justin Ruggles <justin.ruggles@gmail.com>
-
- 18 Apr, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 17 Apr, 2012 1 commit
-
-
Nicolas George authored
-
- 16 Apr, 2012 2 commits
-
-
Reimar Döffinger authored
Overwriting the av_malloc etc. functions is not easily possible anymore, even for systems that support overriding symbols in shared libraries in principle. Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
Justin Ruggles authored
-
- 15 Apr, 2012 1 commit
-
-
Nicolas George authored
Based on a patch by Robert Nagy <ronag89@gmail.com>. It makes a difference when the error code is immediately cast into a larger integer, such as an int64_t.
-
- 13 Apr, 2012 1 commit
-
-
Michael Niedermayer authored
This allows simd optimized routines to work in steps of 8 pixels without going over the linesize. (this matters for yuv->rgb24 for example) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 12 Apr, 2012 1 commit
-
-
Diego Biurrun authored
-