summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* 4xm: fix calculation of the next output line position in decode_i2_frame().Aneesh Dogra2012-01-04
| | | | | | The current code doesn't work unless width is an exact multiple of 16. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ulti: convert to new bytestream API.Ronald S. Bultje2012-01-04
|
* Place some START_TIMER invocations in separate blocks.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.
* vc1dec: fix invalid memory access for small video dimensionsJohn Brooks2012-01-04
| | | | | | | | | | | For small video dimensions, these calculations of the upper bound for pixel access may have a negative result. Using an unsigned comparison to bound a potentially negative value only works if the greater operand is non-negative. Fixed by doing edge emulation when the upper bound is probably negative, everywhere that this pattern appears. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* rv34: fix invalid memory access for small video dimensionsJohn Brooks2012-01-04
| | | | | | | | | For small video dimensions calculations of the upper bound for pixel access may result in negative value. Using an unsigned comparison works only if the greater operand is non-negative. This is fixed by doing edge emulation explicitly for such conditions. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* rv34: joint coefficient decoding and dequantizationChristophe GISQUET2012-01-04
| | | | | | | | | | | Perform dequantization while decoding coefficients instead of performing it on the entire coefficients buffer. Since quantized coefficients are very sparse, this usually causes a small speedup. Speedup of around 1% on Panda board compared to the removed here neon code. Global speedup is probably around 3%. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* 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.