summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* ARM: add explicit .arch and .fpu directives to asm.SMans Rullgard2011-11-22
| | | | | | | | | | | | | This prevents build errors when compiler and assembler default targets differ. Ideally each file would declare the highest level it requires. This is however not easily possible as it complicates assembling pre-armv6t2 code in Thumb-2 mode. HAVE_NEON is used as indicator for ARMv7-A since no other symbol exists for this and NEON is only available in this variant. Signed-off-by: Mans Rullgard <mans@mansr.com>
* pthread: do not touch has_b_framesJanne Grunau2011-11-22
| | | | | | | | | | | | | | | | | | Adding the thread count in frame level multithreading to has_b_frames as an additional delay causes more problems than it solves. For example inconsistent behaviour during timestamp calculation in libavformat. Thread count and frame level multithreading are both set by the user. If the additional delay caused by frame level multithreading needs to be considered in the calling code it has all information to take it into account. Should it become necessary to calculate a maximum delay inside libavcodec it should be exported as its own field and not reusing an existing field. Based on a patch by Michael Niedermayer. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* pthread: add some malloc failure checksJustin Ruggles2011-11-21
|
* avcodec: move some AVCodecContext fields to an internal struct.Justin Ruggles2011-11-19
| | | | | | | | A new field, AVCodecContext.internal is used to hold a new struct AVCodecInternal, which has private fields that are not codec-specific and are used by general libavcodec functions. Moved internal_buffer, internal_buffer_count, and is_copy.
* avcodec: use av_opt_set() instead of deprecated av_set_string3()Justin Ruggles2011-11-19
|
* avcodec: fix some const warningsJustin Ruggles2011-11-19
| | | | | | | libavcodec/options.c:583: warning: assignment discards qualifiers from pointer target type libavcodec/options.c:589: warning: initialization discards qualifiers from pointer target type
* avcodec: remove pointless AVOption, internal_buffer_countJustin Ruggles2011-11-19
|
* cinepack: return non-generic errorsLuca Barbato2011-11-18
|
* cinepak: remove redundant coordinate checksMichael Niedermayer2011-11-18
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
* cinepak: check strip_sizeMichael Niedermayer2011-11-18
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
* cinepak, simplify, use AV_RB24()Michael Niedermayer2011-11-18
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
* cinepak: simplify, use FFMIN()Michael Niedermayer2011-11-18
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
* cinepak: Fix division by zero, ask for sample if encoded_buf_size is 0Michael Niedermayer2011-11-18
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
* vp5: Fix illegal read.Alex Converse2011-11-17
| | | | Found with Address Sanitizer
* vp6: Fix illegal read.Thierry Foucu2011-11-17
| | | | | | Found with Address Sanitizer Signed-off-by: Alex Converse <alex.converse@gmail.com>
* mpegaudiodec: Don't use a nonexistent log context for av_dlogMartin Storsjö2011-11-16
| | | | | | | This fixes builds with DEBUG defined, broken since 1158745a2d12966c58e83b66243a42f20190812e. Signed-off-by: Martin Storsjö <martin@martin.st>
* cinepak: Add another special case so that it can handle the following file:Mike Melanson2011-11-16
| | | | | | | | | | | 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ö <martin@martin.st>
* lagarith: add some RGBA decoding supportKostya Shishkov2011-11-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lagarith: Add correct line prediction for RGBNathan Caldwell2011-11-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: indentationJustin Ruggles2011-11-15
|
* mpegaudiodec: init static tables in AVCodec.init_static_data()Justin Ruggles2011-11-15
|
* binkvideo: simplify and remove invalid shiftsMans Rullgard2011-11-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* hwaccel: OS X Video Decoder Acceleration (VDA) support.Sebastien Zwickert2011-11-14
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vble: remove vble_error_closeJanne Grunau2011-11-11
| | | | | | 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-11
| | | | | | | | | 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 <derek.buitenhuis@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* tta: use an integer instead of a pointer to iterate output samplesJustin Ruggles2011-11-11
|
* shorten: do not modify samples pointer when interleavingJustin Ruggles2011-11-11
|
* mpc7: only support stereo input.Justin Ruggles2011-11-11
| | | | The Musepack SV7 reference encoder converts mono to stereo when encoding.
* dpcm: do not try to decode empty packetsJustin Ruggles2011-11-11
|
* dpcm: remove unneeded buf_size==0 check.Justin Ruggles2011-11-11
| | | | It is already checked in avcodec_decode_audio3()
* twinvq: add SSE/AVX optimized sum/difference stereo interleavingJustin Ruggles2011-11-11
|
* vqf/twinvq: pass vqf COMM chunk info in extradataJustin Ruggles2011-11-11
| | | | | | 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-11
|
* mpc7: Fix memset call in mpc7_decode_frame functionAlex Converse2011-11-10
|
* atrac1: use correct context for av_log()Justin Ruggles2011-11-10
|
* apedec: consume the whole packet when copying to the decoder buffer.Justin Ruggles2011-11-10
| | | | | 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-10
| | | | also move nblocks to the local scope where it is used.
* apedec: check output buffer size after calculating actual output sizeJustin Ruggles2011-11-10
|
* apedec: remove unneeded entropy decoder normalization.Justin Ruggles2011-11-10
| | | | | | 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-10
|
* vorbisdec: remove AVCODEC_MAX_AUDIO_FRAME_SIZE checkJustin Ruggles2011-11-10
| | | | | The user could provide a larger buffer, which is already checked separately before writing output.
* vorbisdec: remove unneeded buf_size==0 checkJustin Ruggles2011-11-10
|
* vorbisdec: return proper error codes instead of made-up onesJustin Ruggles2011-11-10
|
* sunrast: Check for invalid/corrupted bitstreamLaurent Aimar2011-11-10
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* avcodec: add support for planar signed 8-bit PCM.Justin Ruggles2011-11-09
| | | | | | 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-09
| | | | | 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-09
| | | | This matches the output sample format and the range of the output values.
* smackaud: clip output samplesJustin Ruggles2011-11-09
|
* smackaud: use sign_extend() for difference value instead of castingJustin Ruggles2011-11-09
|
* sipr: use a function pointer to select the decode_frame functionJustin Ruggles2011-11-09
|