- 31 Jan, 2012 6 commits
-
-
Justin Ruggles authored
Add FF_INPUT_BUFFER_PADDING_SIZE. If allocation fails, also free memory which was allocated previously in adpcm_encode_init().
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
It is already set in avcodec_alloc_frame().
-
Justin Ruggles authored
-
Justin Ruggles authored
DSPContext.bswap_buf() requires aligned output
-
- 30 Jan, 2012 14 commits
-
-
Christophe Gisquet authored
Provide MMX, SSE2 and SSSE3 versions, with a fast-path when the weights are multiples of 512 (which is often the case when the values round up nicely). *_TIMER report for the 16x16 and 8x8 cases: C: 9015 decicycles in 16, 524257 runs, 31 skips 2656 decicycles in 8, 524271 runs, 17 skips MMX: 4156 decicycles in 16, 262090 runs, 54 skips 1206 decicycles in 8, 262131 runs, 13 skips MMX on fast-path: 2760 decicycles in 16, 524222 runs, 66 skips 995 decicycles in 8, 524252 runs, 36 skips SSE2: 2163 decicycles in 16, 262131 runs, 13 skips 832 decicycles in 8, 262137 runs, 7 skips SSE2 with fast path: 1783 decicycles in 16, 524276 runs, 12 skips 711 decicycles in 8, 524283 runs, 5 skips SSSE3: 2117 decicycles in 16, 262136 runs, 8 skips 814 decicycles in 8, 262143 runs, 1 skips SSSE3 with fast path: 1315 decicycles in 16, 524285 runs, 3 skips 578 decicycles in 8, 524286 runs, 2 skips This means around a 4% speedup for some sequences. Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Diego Biurrun authored
-
Diego Biurrun authored
This fixes some unused variable warnings with YASM disabled.
-
Justin Ruggles authored
Currently, any samples in the final frame are not decoded because they are only represented by one frame instead of two. So we encode two final frames to cover both the analysis delay and the MDCT delay.
-
Justin Ruggles authored
Fixes handling of CODEC_CAP_SMALL_LAST_FRAME.
-
Alex Converse authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
Alex Converse authored
-
Alex Converse authored
There are many places where we read an unchecked 4-bit index into it. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
Michael Niedermayer authored
Fixes CVE-2011-3945 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 807a045a) Signed-off-by:
Alex Converse <alex.converse@gmail.com>
-
Alex Converse authored
Fixes: CVE-2011-3952 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Based on fix by Michael Niedermayer
-
Christophe Gisquet authored
While pshufb allows emulating bswap on XMM registers for SSSE3, more shuffling is needed for SSE2. Alignment is critical, so specific codepaths are provided for this case. For the huffyuv sequence "angels_480-huffyuvcompress.avi": C (using bswap instruction): ~ 55k cycles SSE2: ~ 40k cycles SSSE3 using unaligned loads: ~ 35k cycles SSSE3 using aligned loads: ~ 30k cycles Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Ronald S. Bultje authored
This fixes playback of e.g. RGB48 (bpp=6) content on x86 CPUs. Fixes bug 214.
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
- 29 Jan, 2012 8 commits
-
-
Mans Rullgard authored
Some compilers still do not support this syntax. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
On x86-64, it indeed uses all 16 registers (and on x86-32, this gets clipped to 8). Not marking it properly causes callers of this function to fail randomly because of XMM register clobbering.
-
Ronald S. Bultje authored
-
Aneesh Dogra authored
Signed-off-by:
Aneesh Dogra <lionaneesh@gmail.com> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Aneesh Dogra authored
Signed-off-by:
Aneesh Dogra <lionaneesh@gmail.com> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Aneesh Dogra authored
Note: This fixes the following GCC warning :- libavcodec/sunrast.c:94: warning: comparison of unsigned expression < 0 is always false. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Aneesh Dogra authored
Signed-off-by:
Aneesh Dogra <lionaneesh@gmail.com> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 28 Jan, 2012 8 commits
-
-
Nathan Caldwell authored
Forgot to add the equivalent amount to the incoming sample pointer as the output pointer. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Nathan Caldwell authored
10l: Forgot to adjust deinterleave for new location of incoming samples in 7946a5ac. This produced incorrect, but surprisingly listenable results. Thanks to Justin Ruggles for the report. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
Anton Khirnov authored
This function is video-only, so there's no point in setting more linesizes. Fixes stack corruption in avplay.
-
Mans Rullgard authored
Overall speedup of HE-AAC decoding 2.3x on Cortex-A8, 1.2x on A9. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
This prepares for assembly optimisations by moving the most time-consuming loops to functions called through pointers in a new context. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Alex Converse authored
-
- 27 Jan, 2012 4 commits
-
-
Martin Storsjö authored
Earlier, calling avcodec_encode_audio worked fine even if time_base wasn't set. Now it crashes due to trying to scale the output pts to the codec context time base. This affects e.g. VLC. If no time_base is set for audio codecs, set it to the sample rate. CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Aneesh Dogra authored
Signed-off-by:
Justin Ruggles <justin.ruggles@gmail.com>
-
Aneesh Dogra authored
Signed-off-by:
Justin Ruggles <justin.ruggles@gmail.com>
-
Justin Ruggles authored
Fixes build with --enable-libspeex
-