summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* AVOptions: add new API for enumerating children.Anton Khirnov2011-10-12
| | | | | | | | | This will allow the caller to enumerate child contexts in a generic way and since the API is recursive, it also allows for deeper nesting (e.g. AVFormatContext->AVIOContext->URLContext) This will also allow the new setting/reading API to transparently apply to children contexts.
* rv34: move inverse transform functions to DSP contextJanne Grunau2011-10-12
|
* h264: change unsupported bit depth message to error levelMans Rullgard2011-10-12
| | | | | | | Unsupported bit depth is certainly an error the user will want to know about. Signed-off-by: Mans Rullgard <mans@mansr.com>
* qdm2: fix signed multiplication overflowMans Rullgard2011-10-12
| | | | | | | | This code relies on the result wrapping as for unsigned values, and the sign is not used. Thus an unsigned type is proper here. Signed-off-by: Mans Rullgard <mans@mansr.com>
* libx264: support yuv422/444 output.Anton Khirnov2011-10-12
|
* fix AC3ENC_OPT_MODE_ON/OFFJohn Stebbins2011-10-11
| | | | | | The values were reversed. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* h264: fix HRD parameters parsingMans Rullgard2011-10-11
| | | | | | | | | | The bit_rate_value_minus1 and cpb_size_value_minus1 elements allow a wider range than get_ue_golomb() supports. This adds a get_ue_golomb_long() function supporting up to 31 leading zeros, which is the maximum for these syntax elements, and uses it in decode_hrd_parameters(). Signed-off-by: Mans Rullgard <mans@mansr.com>
* prores: implement multithreading.Ronald S. Bultje2011-10-11
| | | | | 60% speedup (overall decoding time) at 2 threads, and another 60% speedup at 4 threads.
* prores: idct sse2/sse4 optimizations.Ronald S. Bultje2011-10-11
| | | | ~3.0-3.5x as fast as original C version, 1.6x as fast overall.
* prores: extract idct into its own dspcontext and merge with put_pixels.Ronald S. Bultje2011-10-11
|
* h264: fix invalid shifts in init_cavlc_level_tab()Mans Rullgard2011-10-11
| | | | | | | | The level_code expression includes a shift which is invalid in those cases where the value is not used. Moving the calculation to the branch where the result is used avoids these. Signed-off-by: Mans Rullgard <mans@mansr.com>
* flashsv: return more meaningful error valueDiego Biurrun2011-10-11
|
* flashsv: fix typo in av_log() messageDiego Biurrun2011-10-11
|
* smacker: validate channels and sample format.Justin Ruggles2011-10-11
|
* smacker: check buffer size before reading output sizeJustin Ruggles2011-10-11
|
* smacker: validate number of channelsJustin Ruggles2011-10-11
|
* h264: fix detection of optional trailing PPS elementsMans Rullgard2011-10-11
| | | | | | | | | | | | | | The PPS may contain a few trailing elements whose presence is only signalled by data remaining after the the mandatory part has been parsed. The current code fails to take into account the rbsp_trailing_bits() when deciding whether to parse these optional elements. Assuming no unnecessary padding bytes are passed to this function, the optional elements are present if either more than 8 extra bits remain or the remaining bits do not form a valid rbsp_trailing_bits() after the mandatory PPS elements have been parsed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* sipr: fix get_bits(0) callsMans Rullgard2011-10-11
| | | | | | Zero-length get_bits() is undefined, must check before calling. Signed-off-by: Mans Rullgard <mans@mansr.com>
* motion_est: make MotionExtContext.map_generation unsignedMans Rullgard2011-10-11
| | | | | | | | The way this value is used, it should be an unsigned type. While the numerical value has no meaning, unsigned wraparound is relied upon. Signed-off-by: Mans Rullgard <mans@mansr.com>
* h264: reset h->ref_count in case of errors in ↵Laurent Aimar2011-10-10
| | | | | | ff_h264_decode_ref_pic_list_reordering() Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* error_resilience: fix the check for missing references in ff_er_frame_end() ↵Laurent Aimar2011-10-10
| | | | | | for H264 Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* 4xm: prevent NULL dereference with invalid huffman tableLaurent Aimar2011-10-10
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* 4xm: clear FF_INPUT_BUFFER_PADDING_SIZE bytes in temporary buffersLaurent Aimar2011-10-10
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* ptx: check for out of bound readsLaurent Aimar2011-10-10
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* tiffdec: fix out of bound reads/writesLaurent Aimar2011-10-10
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* eacmv: check for out of bound readsLaurent Aimar2011-10-10
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* eacmv: fix potential pointer arithmetic overflowsLaurent Aimar2011-10-10
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* adpcm: fix out of bound reads due to integer overflowLaurent Aimar2011-10-10
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* anm: prevent infinite loopLaurent Aimar2011-10-10
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* avs: check for out of bound readsLaurent Aimar2011-10-10
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* dnxhddec: handle cid change in bitstream.Baptiste Coudurier2011-10-10
|
* vc1: K&R reformatting cosmeticsKostya Shishkov2011-10-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ra288: log an error message when output buffer is too small.Justin Ruggles2011-10-10
| | | | also return AVERROR(EINVAL) instead of -1.
* ra288: use a more descriptive calculation for output data sizeJustin Ruggles2011-10-10
|
* ra144: use macro constants to make the code more understandable.Justin Ruggles2011-10-10
|
* ra144dec: log an error message when output buffer is too small.Justin Ruggles2011-10-10
| | | | also return AVERROR(EINVAL) instead of -1.
* ra144dec: use a more descriptive calculation for output data sizeJustin Ruggles2011-10-10
|
* lavc: Micro version bump for VC1 interlaced decoding supportMashiat Sarker Shakkhar2011-10-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vc1dec: interlaced stream decoding support 3/3Mashiat Sarker Shakkhar2011-10-10
| | | | | | Cosmetics: break some lines and reformat TODOs Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vc1dec: interlaced stream decoding support 2/3Mashiat Sarker Shakkhar2011-10-10
| | | | | | Cosmetics: reformat some data tables in vc1data.c Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vc1dec: interlaced stream decoding support 1/3Mashiat Sarker Shakkhar2011-10-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vaapi: Fix VC-1 decoding (reconstruct bitstream TTFRM correctly).Gwenole Beauchesne2011-10-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpeg4dec: use unsigned type for startcode in ff_mpeg4_decode_picture_headerMans Rullgard2011-10-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpeg124: use sign_extend() functionMans Rullgard2011-10-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3dec: use get_sbits() instead of manually sign-extendingMans Rullgard2011-10-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 4xm: fix signed overflowMans Rullgard2011-10-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* wmavoice: fix a signed overflowMans Rullgard2011-10-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegvideo_enc: fix a signed overflowMans Rullgard2011-10-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* zmbv: remove memcpy() of decoded frameMans Rullgard2011-10-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpeg12enc: use sign_extend() functionMans Rullgard2011-10-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>