summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* cinepak: simplify, use FFMIN()Michael Niedermayer2011-11-181-2/+1
| | | | | Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Martin Storsjö <[email protected]>
* cinepak: Fix division by zero, ask for sample if encoded_buf_size is 0Michael Niedermayer2011-11-181-0/+4
| | | | | Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Martin Storsjö <[email protected]>
* vp5: Fix illegal read.Alex Converse2011-11-171-2/+6
| | | | Found with Address Sanitizer
* vp6: Fix illegal read.Thierry Foucu2011-11-171-3/+6
| | | | | | Found with Address Sanitizer Signed-off-by: Alex Converse <[email protected]>
* mpegaudiodec: Don't use a nonexistent log context for av_dlogMartin Storsjö2011-11-161-2/+2
| | | | | | | This fixes builds with DEBUG defined, broken since 1158745a2d12966c58e83b66243a42f20190812e. Signed-off-by: Martin Storsjö <[email protected]>
* cinepak: Add another special case so that it can handle the following file:Mike Melanson2011-11-161-2/+3
| | | | | | | | | | | http://samples.mplayerhq.hu/V-codecs/CVID/bad_cinepak_frame_size.mov This fix works around another work around which handles a different type of odd Cinepak data. Thanks to Matthew Hoops (clone2727 - gmail.com) for the sample and fix. Signed-off-by: Martin Storsjö <[email protected]>
* lagarith: add some RGBA decoding supportKostya Shishkov2011-11-161-0/+67
| | | | Signed-off-by: Martin Storsjö <[email protected]>
* lagarith: Add correct line prediction for RGBNathan Caldwell2011-11-161-5/+5
| | | | Signed-off-by: Martin Storsjö <[email protected]>
* cosmetics: indentationJustin Ruggles2011-11-151-157/+157
|
* mpegaudiodec: init static tables in AVCodec.init_static_data()Justin Ruggles2011-11-152-18/+22
|
* binkvideo: simplify and remove invalid shiftsMans Rullgard2011-11-141-5/+4
| | | | Signed-off-by: Mans Rullgard <[email protected]>
* hwaccel: OS X Video Decoder Acceleration (VDA) support.Sebastien Zwickert2011-11-149-2/+563
| | | | Signed-off-by: Luca Barbato <[email protected]>
* vble: remove vble_error_closeJanne Grunau2011-11-111-14/+14
| | | | | | It does not make much sense to factor the error handling to its own av_always_inline function. Fixes "format not a string literal and no format arguments" warning in the av_log.
* VBLE DecoderDerek Buitenhuis2011-11-115-1/+252
| | | | | | | | | Add a decoder for the VBLE Lossless Codec, which still has a cult following. Used to be popular several years ago on doom9. Signed-off-by: Derek Buitenhuis <[email protected]> Signed-off-by: Martin Storsjö <[email protected]>
* tta: use an integer instead of a pointer to iterate output samplesJustin Ruggles2011-11-111-1/+1
|
* shorten: do not modify samples pointer when interleavingJustin Ruggles2011-11-111-3/+4
|
* mpc7: only support stereo input.Justin Ruggles2011-11-111-1/+8
| | | | The Musepack SV7 reference encoder converts mono to stereo when encoding.
* dpcm: do not try to decode empty packetsJustin Ruggles2011-11-111-1/+1
|
* dpcm: remove unneeded buf_size==0 check.Justin Ruggles2011-11-111-3/+0
| | | | It is already checked in avcodec_decode_audio3()
* twinvq: add SSE/AVX optimized sum/difference stereo interleavingJustin Ruggles2011-11-115-18/+101
|
* vqf/twinvq: pass vqf COMM chunk info in extradataJustin Ruggles2011-11-111-2/+16
| | | | | | This is needed because the twinvq decoder cannot rely on bit_rate to be set. The API documentation says that bit_rate is set by libavcodec, not by the user.
* twinvq: check for allocation failure in init_mdct_win()Justin Ruggles2011-11-111-29/+47
|
* mpc7: Fix memset call in mpc7_decode_frame functionAlex Converse2011-11-101-1/+1
|
* atrac1: use correct context for av_log()Justin Ruggles2011-11-101-1/+1
|
* apedec: consume the whole packet when copying to the decoder buffer.Justin Ruggles2011-11-101-7/+9
| | | | | This avoids artifically consuming a partial packet but ignoring remaining data in subsequent calls.
* apedec: do not needlessly copy s->samples to nblocks.Justin Ruggles2011-11-101-4/+2
| | | | also move nblocks to the local scope where it is used.
* apedec: check output buffer size after calculating actual output sizeJustin Ruggles2011-11-101-8/+10
|
* apedec: remove unneeded entropy decoder normalization.Justin Ruggles2011-11-101-11/+1
| | | | | | The decoder already skips data at the end of the packet without this. Also remove 2 APEContext fields that were only used for the end-of-frame normalization.
* truespeech: use memmove() in truespeech_update_filters()Justin Ruggles2011-11-101-2/+1
|
* vorbisdec: remove AVCODEC_MAX_AUDIO_FRAME_SIZE checkJustin Ruggles2011-11-101-6/+0
| | | | | The user could provide a larger buffer, which is already checked separately before writing output.
* vorbisdec: remove unneeded buf_size==0 checkJustin Ruggles2011-11-101-3/+0
|
* vorbisdec: return proper error codes instead of made-up onesJustin Ruggles2011-11-101-52/+61
|
* sunrast: Check for invalid/corrupted bitstreamLaurent Aimar2011-11-101-4/+6
| | | | Signed-off-by: Janne Grunau <[email protected]>
* avcodec: add support for planar signed 8-bit PCM.Justin Ruggles2011-11-095-6/+44
| | | | | | It is found in some 8svx files (e.g. ones created by SoX). Currently the decoder reuses the 8svx functions because we already have handling of a single large planar packet for the compressed 8svx codecs.
* ra144enc: add sample_fmts list to ff_ra_144_encoderJustin Ruggles2011-11-091-0/+2
| | | | | This enables the user (i.e. avconv) to automatically convert to the supported sample format if needed.
* smackaud: use uint8_t* for 8-bit output buffer typeJustin Ruggles2011-11-091-1/+1
| | | | This matches the output sample format and the range of the output values.
* smackaud: clip output samplesJustin Ruggles2011-11-091-4/+4
|
* smackaud: use sign_extend() for difference value instead of castingJustin Ruggles2011-11-091-4/+5
|
* sipr: use a function pointer to select the decode_frame functionJustin Ruggles2011-11-092-15/+20
|
* sipr: set mode based on block_align instead of bit_rateJustin Ruggles2011-11-091-4/+9
| | | | the user is not required to set bit_rate
* sipr: do not needlessly set *data_size to 0 when returning an errorJustin Ruggles2011-11-091-4/+0
|
* ra288: fix formatting of LOCAL_ALIGNED_16Justin Ruggles2011-11-091-3/+3
|
* VC1: Add bottom field offset to block_index[] to avoid rewriting (+10L)shahriman AMS2011-11-091-4/+4
| | | | Signed-off-by: Anton Khirnov <[email protected]>
* vc1dec: move an if() block.shahriman AMS2011-11-091-10/+10
| | | | | | | There are no reason for "if (c_valid) { ... }" to appear before "if (b_valid) { ... }". Signed-off-by: Anton Khirnov <[email protected]>
* vc1dec: use correct hybrid prediction threshold.shahriman AMS2011-11-091-4/+1
| | | | Signed-off-by: Anton Khirnov <[email protected]>
* vc1dec: Partial rewrite of vc1_pred_mv()shahriman AMS2011-11-091-109/+80
| | | | | | | | | | | The current code is a generalization of the earlier progressive MV prediction code. This was supposed to predict MVs for both interlaced and progressive pictures. But the interlaced MV prediction is buggy and works mostly by luck. This partially fixes interlaced MV prediction. Signed-off-by: Anton Khirnov <[email protected]>
* vc1dec: take ME precision into account while scaling MV predictors.shahriman AMS2011-11-091-6/+14
| | | | Signed-off-by: Anton Khirnov <[email protected]>
* indeo3: Fix a fencepost error.Alex Converse2011-11-081-1/+1
| | | | Found with asan and the venerable 1-dog.avi sample.
* ra288: return error if input buffer is too smallJustin Ruggles2011-11-081-1/+1
|
* ra288: utilize DSPContext.vector_fmul()Justin Ruggles2011-11-082-20/+23
|