summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* adxenc: cosmetics: pretty-printingJustin Ruggles2012-01-03
|
* adxenc: change some data typesJustin Ruggles2012-01-03
|
* adxenc: remove unneeded log messageJustin Ruggles2012-01-03
|
* adxenc: remove unneeded commentsJustin Ruggles2012-01-03
|
* adx_parser: rewrite.Michael Niedermayer2012-01-03
| | | | | | | | The previous code ended in multiple different infinite loops. See stl_ten_1_big.sfd as example with and without zzuf Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* adxdec: Validate channel count to fix a division by zero.Justin Ruggles2012-01-03
|
* adxdec: Do not require extradata.Michael Niedermayer2012-01-03
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* alacdec: implement the 2-pass prediction type.Justin Ruggles2012-01-03
| | | | | The reference encoder does not generate any streams using this, but the reference decoder can handle it, so we should as well.
* alacenc: implement the 2-pass prediction type.Justin Ruggles2012-01-03
| | | | This isn't used by the reference encoder, but it is supported by the decoder.
* alacenc: do not generate invalid multi-channel ALAC filesJustin Ruggles2012-01-03
|
* alacdec: fill in missing or guessed info about the extradata format.Justin Ruggles2012-01-03
| | | | | Now that there is official documentation from Apple about this, we don't have to guess anymore.
* utvideo: proper median prediction for interlaced videosKostya Shishkov2012-01-03
|
* dca: K&R formatting cosmeticsShitiz Garg2012-01-03
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* dct: K&R formatting cosmeticsAneesh Dogra2012-01-03
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* win32: detect number of CPUs using affinityDaniel Verkamp2012-01-03
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* snow: Restore three mistakenly removed casts.Diego Biurrun2012-01-03
|
* mpegenc: use avctx->slices as number of slicesJanne Grunau2012-01-02
| | | | | | Adds a new member to MpegEncContext to hold the number of used slice contexts. Fixes segfaults with '-threads 17 -thread_type slice' and fate-vsynth{1,2}-mpeg{2,4}thread{,_ilace} with --disable-pthreads.
* v410enc: fix undefined signed left shift caused by integer promotionJanne Grunau2012-01-02
|
* Fix a bunch of typos.Diego Biurrun2012-01-02
|
* Drop some pointless void* return value casts from av_malloc() invocations.Diego Biurrun2012-01-02
|
* wavpack: fix typos in previous cosmetic clean-up commitJustin Ruggles2012-01-02
|
* wavpack: cosmetics: K&R pretty-printingJustin Ruggles2012-01-02
|
* wavpack: determine sample_fmt before requesting a bufferHendrik Leppkes2012-01-01
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* bmv audio: implement new audio decoding APIJustin Ruggles2012-01-01
|
* mpegaudiodec: skip all channels when skipping granulesJustin Ruggles2012-01-01
| | | | | Also fix calculation of new position when switching buffers. This fixes "overread" error messages when seeking.
* bfi: K&R cosmeticsAneesh Dogra2012-01-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* bgmc: K&R cleanupAneesh Dogra2012-01-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rawdec: propagate pict_type information to the output frameStefano Sabatini2012-01-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rawdec: Support more QT 1bpp rawvideo files.Piotr Bandurski2012-01-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* threads: limit the number of automatic threads to MAX_AUTO_THREADSJanne Grunau2012-01-01
| | | | | | The extra thread added in {frame_}*thread_init was not taken into account. Explicitly sets thread_count to 1 if only one CPU core was detected. Also fixes two typos in comments.
* threads: set thread_count to 1 when thread support is disabledJanne Grunau2012-01-01
|
* threads: introduce CODEC_CAP_AUTO_THREADS and add it to libx264Janne Grunau2012-01-01
| | | | | | Some external codecs have their own code to determine the best number of threads. This number is not necessary the number of cpu cores. Thread_count will be only 0 if the codec has CODEC_CAP_AUTO_THREADS.
* mpegaudiodec: fix seeking.Ronald S. Bultje2011-12-31
| | | | | | | | | The safe bitstream reader does not allow using skip_bits_long() to seek to a point before the start of the buffer, which was needed by the mp3 decoder. This change instead calculates the start point of the first valid granule and skips to that position. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mpegaudiodec: fix compilation when testing the unchecked bitstream readerJustin Ruggles2011-12-31
|
* threads: add sysconf based number of CPUs detectionJanne Grunau2011-12-31
| | | | Can act as fallback and should work on a couple of Unix systems.
* threads: always include necessary headers for number of CPUs detectionJanne Grunau2011-12-31
| | | | | | Since the conditions for the actual usage are more specific a less preferred method can be used. This would cause compilation errors because necessary headers are not included.
* threads: default to automatic thread count detectionJanne Grunau2011-12-31
|
* cook: K&R formatting cosmeticsShitiz Garg2011-12-31
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Drop unnecessary parentheses around return values.Diego Biurrun2011-12-30
|
* libvorbis: K&R reformatting cosmeticsDiego Biurrun2011-12-29
|
* libmp3lame: K&R formatting cosmeticsAneesh Dogra2011-12-29
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegvideo_enc: K&R cosmetics (line 1000-2000).Aneesh Dogra2011-12-29
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* indeo4: remove two unused variablesKostya Shishkov2011-12-29
|
* lagarith: add decode support for arith rgb24 modeThad Ward2011-12-29
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* v410dec: Check for sufficient input data. Fixes crashMichael Niedermayer2011-12-28
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Indeo 4 decoderKostya Shishkov2011-12-28
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* mpegvideo_enc: K&R cosmeticsAneesh Dogra2011-12-27
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* threads: test for sys/param.h and include it for sysctl on OpenBSDJanne Grunau2011-12-27
|
* x86: Fix constraints for decode_significance*_x86Martin Storsjö2011-12-27
| | | | | | | | | | | | | | | | | | | Originally, prior to 8742a4ff8, the caller code was compiled within this condition: ARCH_X86 && HAVE_7REGS && HAVE_EBX_AVAILABLE && !defined(BROKEN_RELOCATIONS) Since HAVE_7REGS is defined as (ARCH_X86_64 || (HAVE_EBX_AVAILABLE && HAVE_EBP_AVAILABLE)) the subcondition HAVE_7REGS && HAVE_EBX_AVAILABLE is equal to HAVE_7REGS (for 32 bit at least). The correct simplification of the original condition thus is HAVE_7REGS, not HAVE_EBX_AVAILABLE. This fixes compilation in some cases where HAVE_EBP_AVAILABLE = 0 and HAVE_EBX_AVAILABLE = 1. Signed-off-by: Martin Storsjö <martin@martin.st>
* avs: call release_buffer() at the end.Anton Khirnov2011-12-25
| | | | Fixes a memleak.