summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* h264: return index in buffer on end-of-sequence.Ronald S. Bultje2012-01-03
| | | | | Fixes hangs if the last packet contains an end-of-sequence NAL unit, bug 158.
* Merge some declarations and initializations.Diego Biurrun2012-01-04
| | | | | | This fixes compilation failures related to START_TIMER/STOP_TIMER macros and -Werror=declaration-after-statement. START_TIMER declares variables and thus may not be placed after statements outside of a new block.
* cabac: drop unused and disabled get_cabac_u() / get_cabac_ueg() functionsDiego Biurrun2012-01-04
|
* cabac: drop unused STRICT_LIMITS code branchDiego Biurrun2012-01-04
|
* libspeexenc: fix pts calculations for more than 1 frame per packetJustin Ruggles2012-01-03
|
* adxdec: clear eof flag and channel states when seekingJustin Ruggles2012-01-03
|
* adxenc: check output buffer size before writingJustin Ruggles2012-01-03
|
* adxenc: use bytestream functions for header writing.Justin Ruggles2012-01-03
| | | | also add more documentation about the header structure
* adxenc: use BLOCK_SIZE and BLOCK_SAMPLES macrosJustin Ruggles2012-01-03
|
* adxenc: use a loop to encode each channelJustin Ruggles2012-01-03
|
* adxenc: remove unneeded loopsJustin Ruggles2012-01-03
| | | | avctx->frame_size is 32, so that is how many samples we process per call.
* adxenc: avoid stereo deinterleavingJustin Ruggles2012-01-03
|
* adxenc: remove unnecessary setting of coded_frame->key_frame.Justin Ruggles2012-01-03
| | | | It is already set by avcodec_alloc_frame().
* adxenc: log an error message and return AVERROR(EINVAL) for invalid channelsJustin Ruggles2012-01-03
|
* 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.