summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* wavpack: remove the subframes codec capAnton Khirnov2013-05-28
| | | | The decoder always consumes full packets.
* smacker: add a clarification notice about audio decodingKostya Shishkov2013-05-28
|
* Revert "smackaud: clip output samples"Kostya Shishkov2013-05-27
| | | | | | Smacker audio uses overflows instead of clipping. This reverts commit 375ca0aca81be2951d9ba4731196e70e490d3cdf.
* fix scalarproduct_and_madd_int16_altivec() for orders > 16Kostya Shishkov2013-05-26
| | | | the second and third sources were incremented only by half of the needed size
* Move get_logical_cpus() from lavc/pthread to lavu/cpu.Anton Khirnov2013-05-24
| | | | | It will be useful in lavfi, and could conceivably be useful to the user applications as well.
* w32pthreads: move from lavc to compat/Anton Khirnov2013-05-24
| | | | It will be used in other places than lavc.
* h264_parser: Set field_order and picture_structure.Yusuke Nakamura2013-05-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: Add picture structure information to AVCodecParserContext.Yusuke Nakamura2013-05-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wavpack: check packet size earlyLuca Barbato2013-05-22
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wavpack: use bytestream2 in wavpack_decode_blockLuca Barbato2013-05-22
| | | | | | | Prevent most out of buffer reads. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mpegvideo: unref buffers in ff_mpeg_unref_picture on frame size changesJanne Grunau2013-05-22
| | | | | | ff_mpeg_unref_picture clears the flag indicating that the frame needs to be reallocated after a frame size change. Since we have now reference counted buffers we can unref the buffers immediately.
* proresdec: simplify slice component offsets handlingKostya Shishkov2013-05-21
|
* mjpegdec: validate parameters in mjpeg_decode_scan_progressive_acLuca Barbato2013-05-21
| | | | | | | Prevent out of buffer write when decoding broken samples. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* ljpeg: use the correct number of components in yuvLuca Barbato2013-05-20
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mjpeg: Validate sampling factorsLuca Barbato2013-05-20
| | | | | | | They must be non-zero. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mpegvideo: unref old current_picture before allocating a new oneJanne Grunau2013-05-19
| | | | | | Allows decoding with only three frame buffers with frame reference counting. Fixes VAAPI based decoding in vlc which uses only three frame buffers for the mpegvideo-based codecs.
* vorbis: fallback to normal division instead of crashingLuca Barbato2013-05-19
| | | | | | | | The use of ff_inverse speeds up slightly arches + compilers that do not provide a division faster than the whole machinery, such as ppc32 + gcc4.7, but has operational limits. Drop the always-enable assert and provide a fallback.
* vorbis: simplify the inner loop in setup_classifsLuca Barbato2013-05-19
|
* vorbis: use normal integer values for iteratorsLuca Barbato2013-05-19
| | | | No need to use fixed-size integers.
* vorbis: refactor vorbis_residue_decode_internalLuca Barbato2013-05-19
|
* win32: Do not use GetProcAddress when compiled for Vista+Jean-Baptiste Kempf2013-05-19
| | | | | | Instead link directly to the condition variable functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* wavpack: validate samples size parsed in wavpack_decode_blockLuca Barbato2013-05-18
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wavpack: return meaningful errorsLuca Barbato2013-05-18
| | | | And forward those that were already meaningful.
* wavpack: K&R formatting cosmeticsLuca Barbato2013-05-18
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Escape 130 (RPL) decoderEli Friedman2013-05-18
| | | | | | | | Some fixes provided by Paul B Mahol <onemda@gmail.com> and Michael Niedermayer <michaelni@gmx.at> and me. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* prores: decode alpha plane when it's presentKostya Shishkov2013-05-18
|
* lavc doxy: add avcodec.h to the libavcodec group.Anton Khirnov2013-05-17
|
* jpegls: check the scan offsetLuca Barbato2013-05-17
| | | | | | | Prevent an out of array bound write. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* jpegls: factorize return pathsLuca Barbato2013-05-17
|
* jpegls: return meaningful errorsLuca Barbato2013-05-17
|
* sparc: VIS mnemonicsMichael Kostylev2013-05-17
| | | | | | | | | | | | Currently, if VIS is enabled by configure, it will also be enabled at run-time regardless of its support in the hardware. Thus, masking VIS usage as it is done in vis.h by constructing binary instructions is pointless. Using normal VIS mnemonics in inline assembly allows to take advantage of automatic register allocation, gets rid of register variables, which are unsupported by suncc for SPARC, and improves code readability. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegvideo: allocate sufficiently large scratch buffer for interlaced vidJindrich Makovicka2013-05-17
| | | | | | | | | | | | | | | | MPV_decode_mb_internal needs 3 * 16 * linesize bytes of scratch buffer For interlaced content, linesize is multiplied by two after the allocation of the scratch buffer, and the dest_cr pointer ends past the buffer. This patch makes ff_mpv_frame_size_alloc allocate a total of (aligned line_size) * 2 * 16 * 3 bytes, which suffices even for the interlaced case. CC:libav-stable@libav.org Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* pthread: reindentAnton Khirnov2013-05-17
|
* lavc/pthread: remove obsolete checksAnton Khirnov2013-05-17
| | | | | | Those were useful when avcodec_thread_init() was a public functions. It was deprecated and removed some time ago, so those checks are not needed anymore.
* Apple Intermediate Codec decoderKostya Shishkov2013-05-17
|
* vc1dec: Add support for interlaced B-framesSebastian Sandberg2013-05-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* sparc: Eliminate dead code in VIS acceleration macrosMichael Kostylev2013-05-16
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* flacdec: drop unnecessary assertLuca Barbato2013-05-16
| | | | The condition cannot happen anymore.
* mjpegdec: properly report unsupported disabled featuresLuca Barbato2013-05-16
| | | | | | | | When JPEG-LS support is disabled the decoder would feed the data to the JPEG Lossless decode_*_scan function resulting in faulty decoding. CC: libav-stable@libav.org
* Remove commented-out debug #define cruftDiego Biurrun2013-05-16
|
* jpegls: K&R formatting cosmeticsLuca Barbato2013-05-16
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* jpegls: cosmetics: Drop some unnecessary parenthesesDiego Biurrun2013-05-15
|
* mpegvideo: Remove commented-out PARANOID debug cruftDiego Biurrun2013-05-15
|
* h263dec: Remove broken and disabled debug cruftDiego Biurrun2013-05-15
|
* vc1: Reindent INIT_LUT(), align backslashesMartin Storsjö2013-05-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: Make INIT_LUT() self containedMichael Niedermayer2013-05-15
| | | | | | | Move the local variables it uses into the macro, enclosing them in a do {} while (0) scope. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: Simplify code by using INIT_LUT()Michael Niedermayer2013-05-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: Move INIT_LUT() further up to allow using it in more placesMichael Niedermayer2013-05-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Remove some now unused variablesMartin Storsjö2013-05-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Do not allow field_mode to change after the first headerMichael Niedermayer2013-05-15
| | | | | | | | This fixes out of array accesses. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Martin Storsjö <martin@martin.st>