summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* ttadec: check channel count as read from extradata.Shitiz Garg2011-12-10
| | | | | | | fixes floating-point exception due to channels being set to 0. fixes Bug 128. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* cljr: remove unused codePaul B Mahol2011-12-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ptx: fix inverted check for sufficient dataJanne Grunau2011-12-10
| | | | Fix regression introduced in 2b53e69.
* ptx: emit a warning on insufficient picture dataJanne Grunau2011-12-10
| | | | | | Return the whole packet as consumed in this case and not the size the packet should have had. Move the insufficient data check into the for condition to fix a ISO C90 error on bigendian.
* Dxtory capture format decoderKostya Shishkov2011-12-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cljr: K&R cosmeticsDiego Biurrun2011-12-08
|
* cljr: return a more sensible value when encountering invalid headersDiego Biurrun2011-12-08
|
* cljr: drop unnecessary emms_c() calls without MMX codeDiego Biurrun2011-12-08
|
* cljr: remove useless castsMans Rullgard2011-12-08
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cljr: group encode/decode parts under single ifdefsMans Rullgard2011-12-08
| | | | | | | | This groups the encode/decode parts under single ifdefs and eliminates the encode_init() function as it merely calls common_init(). Also fix whitespace in moved code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* cljr: remove stray semicolonMans Rullgard2011-12-08
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cljr: add missing return statement in decode_end()Paul B Mahol2011-12-08
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* shorten: avoid abort() on unknown audio typesJohn Brooks2011-12-08
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* cljr: add encoderPaul B Mahol2011-12-08
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* tests/examples: Mark some variables only used within their files as static.Diego Biurrun2011-12-08
|
* tests/tools/examples: Replace direct exit() calls by return.Diego Biurrun2011-12-08
|
* cljr: release picture at end of decodingPaul B. Mahol2011-12-08
| | | | | | Otherwise after transcoding from cljr we get: Found 1 unreleased buffers! Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* rv40: NEON optimised rv40 qpel motion compensationMans Rullgard2011-12-07
| | | | | | Based on patch by Janne Grunau. Signed-off-by: Mans Rullgard <mans@mansr.com>
* pcm-mpeg: implement new audio decoding apiHendrik Leppkes2011-12-07
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* w32thread: port fixes to pthread_cond_broadcast() from x264.Ronald S. Bultje2011-12-07
|
* dxva2.h: include d3d9.h to define LPDIRECT3DSURFACE9Rafaël Carré2011-12-07
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* doxygen: Replace '\' by '@' in Doxygen markup tags.Diego Biurrun2011-12-07
|
* cosmetics: drop some completely pointless parenthesesDiego Biurrun2011-12-07
|
* cljr: simplify CLJRContextPaul B. Mahol2011-12-07
| | | | | | There is no need to have delta, offset and gb in CLJRContext. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* Code cleanup - mpegvideo.c - 500-1000lineKonstantin Todorov2011-12-06
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rv40: NEON optimised weighted predictionJanne Grunau2011-12-06
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rv40: NEON optimised chroma MCJanne Grunau2011-12-06
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: move NEON H264 chroma mc to a separate fileMans Rullgard2011-12-06
| | | | | | This allows sharing code with the rv40 version of these functions. Signed-off-by: Mans Rullgard <mans@mansr.com>
* rv34: NEON optimised inverse transform functionsJanne Grunau2011-12-06
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* misc Doxygen markup improvementsDiego Biurrun2011-12-05
|
* doxygen: eliminate Qt-style doxygen syntaxDiego Biurrun2011-12-05
|
* g722: Change bits per sample to 4Sjoerd Simons2011-12-05
| | | | | | | | | | | | | | | Earlier, bits per sample was defined as 8, since bits_per_coded_sample was used to indicate whether to ignore the lower bits of the codeword, having values 6, 7 or 8. g722 encodes 2 samples into one byte codeword, therefore the bits per sample is 4. By changing this, the generated timestamps for streams encoded with g722 become correct. This makes timestamp generation for g722 data correct (both when encoding and when demuxing from raw g722 files). Signed-off-by: Martin Storsjö <martin@martin.st>
* g722dec: Signal skipping the lower bits via AVOptions instead of ↵Martin Storsjö2011-12-05
| | | | | | | | | | | | | | | bits_per_coded_sample This avoids using bits_per_coded_sample for this information. bits_per_coded_sample should be 4 for this codec normally, since two samples are encoded into one 8 bit codeword. In principle, this might be info that needs to be passed from a demuxer, and in that case, a private AVOption isn't the best choice, but no such samples are available at the moment, so that use case is purely theoretical at the moment. Signed-off-by: Martin Storsjö <martin@martin.st>
* api-example: update to use avcodec_decode_audio4()Justin Ruggles2011-12-04
|
* adpcmenc: cosmetics: pretty-printingChris Berov2011-12-04
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* ac3dec: cosmetics: pretty-printingChris Berov2011-12-04
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* shorten: remove dead initializationPaul B. Mahol2011-12-04
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* roqvideodec: set AVFrame reference before reget_buffer.Reimar Döffinger2011-12-04
| | | | | | | Otherwise it might return a write-only frame which would break decoding completely. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* bmp: fix some 1bit samples.Carl Eugen Hoyos2011-12-04
| | | | | | <= 8bpp BMP images always have palette. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wavpack: Properly clip samples during lossy decodeDerek Buitenhuis2011-12-03
| | | | | | | | When decoding lossy WavPack samples, they are supposed to be clipped, in order to be decoded correctly. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* zmbv.c: coding style clean-up.Nathan Adil Maxson2011-12-03
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* xan.c: coding style clean-up.Nathan Adil Maxson2011-12-03
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegvideo.c: code cleanup - first 500 lines.Konstantin Todorov2011-12-03
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* h264: fix frame reordering code.Ronald S. Bultje2011-12-03
| | | | | Fixes fate-h264-conformance-{mr2_tandberg_e,mr3_tandberg_b} without requiring -strict 1.
* aac_latm: reconfigure decoder on audio specific config changesJanne Grunau2011-12-03
|
* latmdec: fix audio specific config parsingJanne Grunau2011-12-03
| | | | | | | | | Pass the correct size in bits to mpeg4audio_get_config and add a flag to disable parsing of the sync extension when the size is not known. Latm with AudioMuxVersion 0 does not specify the size of the audio specific config. Data after the audio specific config can be misinterpreted as sync extension resulting in random and wrong configs.
* Add avcodec_decode_audio4().Justin Ruggles2011-12-02
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* avcodec: change number of plane pointers from 4 to 8 at next major bump.Justin Ruggles2011-12-02
| | | | | | Add AV_NUM_DATA_POINTERS to simplify the bump transition. This will allow for supporting more planar audio channels without having to allocate separate pointer arrays.
* svq1dec: avoid undefined get_bits(0) callMans Rullgard2011-12-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: h264dsp_neon cosmeticsMans Rullgard2011-12-02
| | | | | | | | - Replace 'ip' with 'r12'. - Use correct size designators for vld1/vst1. - Whitespace fixes. Signed-off-by: Mans Rullgard <mans@mansr.com>