summaryrefslogtreecommitdiffstats
path: root/libavcodec/qdm2.c
Commit message (Collapse)AuthorAgeFilesLines
* get_bits: Move BITSTREAM_READER_LE definition before all relevant #includesDiego Biurrun2016-06-071-3/+4
| | | | | | | This avoids the danger that get_bits.h might get indirectly #included before BITSTREAM_READER_LE is defined. Also sort headers into canonical order where appropriate.
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-2/+2
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Drop pointless assert.h #includesDiego Biurrun2016-05-031-3/+0
|
* cosmetics: Drop empty comment linesDiego Biurrun2016-02-181-1/+0
|
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-271-1/+1
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* qdm2: Return meaningful error codesHimangi Saraogi2015-02-171-11/+11
|
* avcodec: Don't anonymously typedef structsDiego Biurrun2015-02-141-6/+6
|
* qdm2: avoid integer overflowVittorio Giovara2014-11-211-1/+1
| | | | | CC: libav-stable@libav.org Bug-Id: CID 700555
* cosmetics: Write NULL pointer inequality checks more compactlyGabriel Dume2014-08-151-7/+7
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-151-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-031-1/+1
|
* qdm2: Whitespace cosmeticsLuca Barbato2013-07-281-4/+4
|
* qdm2: Conceal broken samplesLuca Barbato2013-07-091-3/+10
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* qdm2: refactor joined stereo supportLuca Barbato2013-07-091-10/+12
| | | | | | | qdm2 does support only two channels. Loop over the run once. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* qdm2: check and reset dithering index per channelLuca Barbato2013-07-071-2/+1
| | | | | | | | Checking per subband would have the index exceed the dithering noise table size. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* qdm2: formatting cosmeticsLuca Barbato2013-07-071-187/+204
| | | | | Apply the usual style plus drop few unnecessary return at the end of void functions.
* qdm2: use init_static_dataLuca Barbato2013-07-071-128/+148
|
* qdm2: check that the FFT size is a power of 2Anton Khirnov2013-04-171-0/+4
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-1/+1
|
* Remove unnecessary dsputil.h #includesDiego Biurrun2013-02-261-1/+0
|
* qdm2: check array index before use, fix out of array accessesMichael Niedermayer2013-02-171-0/+5
| | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit a7ee6281f7ef1c29284e3a4cadfe0f227ffde1ed) CC: libav-stable@libav.org Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* qdm2: decode directly to the user-provided AVFrameJustin Ruggles2013-02-121-10/+5
|
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-041-1/+2
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-111-1/+1
| | | | Also reorder some other #include when applicable.
* qdm2: remove unneeded checks for channel countJustin Ruggles2012-11-011-8/+0
|
* qdm2: make sure channels is not <= 0 and set channel layoutJustin Ruggles2012-11-011-1/+4
|
* doxygen: qdm2: Drop documentation for non-existing function parametersDiego Biurrun2012-08-091-2/+0
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* qdm2: remove broken and disabled dump_context() debug functionDiego Biurrun2012-07-051-48/+0
|
* qdm2: clip array indices returned by qdm2_get_vlc().Ronald S. Bultje2012-05-071-5/+13
| | | | | | | | | | Prevents subsequent overreads when these numbers are used as indices in arrays. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* qdm2: fix a dubious pointer castMans Rullgard2012-04-131-5/+6
| | | | | | | This reworks a loop to get rid of an ugly pointer cast, fixing errors seen with the PathScale ENZO compiler. Signed-off-by: Mans Rullgard <mans@mansr.com>
* qdm2: make a table static constMans Rullgard2012-04-121-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* qdm2: simplify bitstream reader setup for some subpacket typesMans Rullgard2012-04-121-20/+26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* qdm2: use get_bits_left()Mans Rullgard2012-04-121-25/+21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-8/+8
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* qdm2: Check data block size for bytes to bits overflow.Alex Converse2012-01-261-0/+4
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* Drop ALT_ prefix from BITSTREAM_READER_LE name.Diego Biurrun2011-12-221-1/+1
| | | | | The prefix is a historic remnant that probably meant "alternative". Now that the A32 bitstream reader has been dropped it makes no sense anymore.
* Add avcodec_decode_audio4().Justin Ruggles2011-12-021-14/+18
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* qdm2: check output buffer size before decodingJustin Ruggles2011-10-031-2/+9
|
* Fix out of bound reads in the QDM2 decoder.Laurent Aimar2011-10-031-0/+2
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Check for out of bound writes in the QDM2 decoder.Laurent Aimar2011-10-031-1/+6
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* doxygen: place empty line between brief description and detailed descriptionDiego Biurrun2011-07-141-0/+1
| | | | Without it, Doxygen cannot separate them into different sections.
* qdm2: Fix alignment of local array.Michael Niedermayer2011-06-201-3/+3
| | | | | | | Fixes ticket270 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* qdm2: Use floating point synthesis filter.Vitor Sessak2011-05-191-17/+12
| | | | | | This avoid needlessly convertion from floating point to fixed point and back. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Move some mpegaudio functions to new mpegaudiodsp subsystemMans Rullgard2011-05-191-1/+5
| | | | | | | | This separation allows these functions to be used in a cleaner fashion from other codecs (e.g. qdm2) and simplifies creating optimised versions of them. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: add _fixed suffix to some namesMans Rullgard2011-05-171-3/+3
| | | | | | | | This adds a _fixed suffix to the fixed-point versions of things with both float and fixed-point variants. This makes it more consistent with other dual-implementation things, e.g. fft. Signed-off-by: Mans Rullgard <mans@mansr.com>
* qdm2: include correct header for rdftMans Rullgard2011-05-171-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add AVX FFT implementation.Vitor Sessak2011-04-261-1/+1
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* fft: remove inline wrappers for function pointersMans Rullgard2011-03-191-1/+1
| | | | | | | This removes the rather pointless wrappers (one not even inline) for calling the fft_calc and related function pointers. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
OpenPOWER on IntegriCloud