summaryrefslogtreecommitdiff
path: root/libavcodec/qdm2.c
Commit message (Collapse)AuthorAge
* doxygen: qdm2: Drop documentation for non-existing function parametersDiego Biurrun2012-08-09
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* qdm2: remove broken and disabled dump_context() debug functionDiego Biurrun2012-07-05
|
* qdm2: clip array indices returned by qdm2_get_vlc().Ronald S. Bultje2012-05-07
| | | | | | | | | | 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-13
| | | | | | | 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-12
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* qdm2: simplify bitstream reader setup for some subpacket typesMans Rullgard2012-04-12
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* qdm2: use get_bits_left()Mans Rullgard2012-04-12
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | 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-26
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* Drop ALT_ prefix from BITSTREAM_READER_LE name.Diego Biurrun2011-12-22
| | | | | 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-02
| | | | | | 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-03
|
* Fix out of bound reads in the QDM2 decoder.Laurent Aimar2011-10-03
| | | | | 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-03
| | | | | 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-14
| | | | Without it, Doxygen cannot separate them into different sections.
* qdm2: Fix alignment of local array.Michael Niedermayer2011-06-20
| | | | | | | 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-19
| | | | | | 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-19
| | | | | | | | 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-17
| | | | | | | | 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-17
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add AVX FFT implementation.Vitor Sessak2011-04-26
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* fft: remove inline wrappers for function pointersMans Rullgard2011-03-19
| | | | | | | 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-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Return the amount of input data actually used in the qdm2 decoder,Reimar Döffinger2010-12-13
| | | | | | allows playback of files where multiple qdm2 packets have been merged. Originally committed as revision 25943 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix qdm2 decoder packet handling to match the apiBaptiste Coudurier2010-11-19
| | | | Originally committed as revision 25767 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix undefined expressions that use multiple calls to get_bits().Alex Converse2010-08-24
| | | | | | | | | Because the order of evaluation of subexpressions is undefined, two get_bits() calls may not be part of the same expression. See also r24902. Originally committed as revision 24906 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove non-existing stray arguments from Doxygen function documentation.Diego Biurrun2010-07-02
| | | | Originally committed as revision 23976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow hard-coding several QDM2 tables (about 32 kB size).Reimar Döffinger2010-03-14
| | | | Originally committed as revision 22525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give RDFT types more meaningful namesMåns Rullgård2010-03-07
| | | | Originally committed as revision 22290 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move FFT parts from dsputil.h to fft.hMåns Rullgård2010-03-06
| | | | Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove DECLARE_ALIGNED_{8,16} macrosMåns Rullgård2010-03-06
| | | | | | | These macros are redundant. All uses are replaced with the generic DECLARE_ALIGNED macro instead. Originally committed as revision 22233 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mpegaudiodec, mpc and qdm2 all use the same mpa_synth window, so makeReimar Döffinger2009-10-19
| | | | | | | them use the same variable/global storage. Saves 4 kB in .bss. Originally committed as revision 20314 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IndentBenjamin Larsson2009-05-17
| | | | Originally committed as revision 18864 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Switch from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in qdm2.Benjamin Larsson2009-05-17
| | | | Originally committed as revision 18863 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant code, found by CSABenjamin Larsson2009-04-22
| | | | Originally committed as revision 18661 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing av_cold in static init/close functions.Daniel Verkamp2009-02-22
| | | | | | Patch by Daniel Verkamp daniel at drv dot nu. Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the new RDFT code in the QDM2 decoder.Alex Converse2009-01-30
| | | | Originally committed as revision 16865 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use CONFIG_MPEGAUDIO_HP directly instead of USE_HIGHPRECISION indirection.Diego Biurrun2009-01-14
| | | | Originally committed as revision 16594 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-31
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk