- 31 1月, 2012 33 次提交
-
-
由 Anton Khirnov 提交于
It allows to check whether an AVCodecContext is open in a documented way. Right now the undocumented way this check is done in lavf/lavc is by checking whether AVCodecContext.codec is NULL. However it's desirable to be able to set AVCodecContext.codec before avcodec_open2().
-
由 Anton Khirnov 提交于
It's only used by raw demuxers for storing the codec id.
-
由 Anton Khirnov 提交于
The demuxers don't use it in any way.
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
Put all private fields at the end and mark them as such so they can be easily changed/removed. This breaks ABI.
-
由 Anton Khirnov 提交于
Put all private fields at the end and mark them as such so they can be easily changed/removed. This breaks ABI.
-
由 Alex Converse 提交于
In some cases, what is left to read from ptr is smaller than EXTRABYTES. Based on a patch by Thierry Foucu <tfoucu@gmail.com>. Signed-off-by: NAlex Converse <alex.converse@gmail.com>
-
由 Justin Ruggles 提交于
-
由 Justin Ruggles 提交于
-
由 Justin Ruggles 提交于
Add FF_INPUT_BUFFER_PADDING_SIZE. If allocation fails, also free memory which was allocated previously in adpcm_encode_init().
-
由 Justin Ruggles 提交于
-
由 Justin Ruggles 提交于
-
由 Justin Ruggles 提交于
It is already set in avcodec_alloc_frame().
-
由 Justin Ruggles 提交于
-
由 Justin Ruggles 提交于
DSPContext.bswap_buf() requires aligned output
-
由 Christophe Gisquet 提交于
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: NDiego Biurrun <diego@biurrun.de>
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
This fixes some unused variable warnings with YASM disabled.
-
由 Martin Storsjö 提交于
This makes the first packet of a track fragment run to get the keyframe flag set properly if sample_degradation_priority is nonzero. This makes the keyframes flag be set properly for ismv files created by Microsoft. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
Previously, we've only passed the key string on to the recursive amf_parse_object for the mixedarray type, not for 'object'. By passing the key string on, the recursive amf_parse_object can store the amf objects as metadata. This kind of data was seen in data from XSplit Broadcaster, received over RTMP via Wowza. This patch allows reading this metadata. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Anton Khirnov 提交于
Its quality is horrible, yadif should always be used instead.
-
由 Martin Storsjö 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Justin Ruggles 提交于
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 提交于
Fixes handling of CODEC_CAP_SMALL_LAST_FRAME.
-
由 Alex Converse 提交于
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
由 Alex Converse 提交于
-
由 Alex Converse 提交于
There are many places where we read an unchecked 4-bit index into it. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
由 Michael Niedermayer 提交于
Fixes CVE-2011-3945 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: NMichael Niedermayer <michaelni@gmx.at> (cherry picked from commit 807a045a) Signed-off-by: NAlex Converse <alex.converse@gmail.com>
-
由 Alex Converse 提交于
Fixes: CVE-2011-3952 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Based on fix by Michael Niedermayer
-
由 Alex Converse 提交于
Related to CVE-2011-3940. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
由 Alex Converse 提交于
Check results for av_malloc() and fix an overflow in one call. Related to CVE-2011-3940. Based in part on work from Michael Niedermayer. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
由 Michael Niedermayer 提交于
Fixes CVE-2011-3940 (Out of bounds read resulting in out of bounds write) Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: NMichael Niedermayer <michaelni@gmx.at> (cherry picked from commit 5c011706) Signed-off-by: NAlex Converse <alex.converse@gmail.com>
-
由 Martin Storsjö 提交于
Also add spacing around operators on touched lines, and split one line to match the common style. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 30 1月, 2012 7 次提交
-
-
由 Paul B Mahol 提交于
Signed-off-by: NPaul B Mahol <onemda@gmail.com> Signed-off-by: NRonald S. Bultje <rsbultje@gmail.com>
-
由 Martin Storsjö 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Diego Biurrun 提交于
-
由 Christophe Gisquet 提交于
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: NDiego Biurrun <diego@biurrun.de>
-
由 Diego Biurrun 提交于
-
由 Paul B Mahol 提交于
The functions are already av_ prefixed and intfloat header is already provided. Install libavutil/intfloat.h Signed-off-by: NPaul B Mahol <onemda@gmail.com> Signed-off-by: NAnton Khirnov <anton@khirnov.net>
-
由 Rafaël Carré 提交于
Give the exact aspect ratios when there is a mismatch between encoder and muxer. Signed-off-by: NAnton Khirnov <anton@khirnov.net>
-