summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodec.c
Commit message (Collapse)AuthorAge
* 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
* Make some functions staticMåns Rullgård2010-03-06
| | | | | | | These functions are not used outside their respective files, and they lack a prototype in a header. Originally committed as revision 22259 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
* Use get_bits_left() instead of size_in_bits - get_bits_count().Ronald S. Bultje2009-11-16
| | | | Originally committed as revision 20543 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reduce stack memory allocation in MP3 decoderVitor Sessak2009-11-04
| | | | Originally committed as revision 20451 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for hardcoding the mpegaudiodec tables.Reimar Döffinger2009-10-28
| | | | | | Reduces .bss size by about 194 kB. Originally committed as revision 20400 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
* Partially revert r20233, exp2f is not available on some BSDs, DOS and AVR32.Reimar Döffinger2009-10-15
| | | | Originally committed as revision 20240 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use cbrtf and exp2f instead of pow to calculate tables for MPEG audio decoding.Reimar Döffinger2009-10-15
| | | | | | | This hopefully is fast enough so that it is reasonable to use the same formula directly instead of the table for CONFIG_SMALL. Originally committed as revision 20233 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set data_size to 0 to avoid having it uninitialized.Michael Niedermayer2009-09-23
| | | | | | based on 31_mp3_outlen.patch by chrome. Originally committed as revision 19988 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check data_size in decode_frame_mp3on4().Michael Niedermayer2009-09-23
| | | | Originally committed as revision 19987 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check data_size in decode_frame()Michael Niedermayer2009-09-23
| | | | Originally committed as revision 19986 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reduce pointless verbosity after seeks in the MP3 decoder.Diego Biurrun2009-09-04
| | | | Originally committed as revision 19759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop code that attempts to decode frames that are prefixed by junk.Michael Niedermayer2009-06-30
| | | | | | | | | Too often it ends up decoding random data into noise without detecting it (for example after seeking of some MP3 data with oddly often occurring startcode emulation). Fixes issue1154. Originally committed as revision 19302 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mpegaudio: enclose SUM8() macro args in parens when usedMåns Rullgård2009-05-05
| | | | Originally committed as revision 18746 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mpegaudio: avoid unnecessary copy in high-precision modeMåns Rullgård2009-05-05
| | | | Originally committed as revision 18745 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mpegaudio: use av_clip()Måns Rullgård2009-05-05
| | | | Originally committed as revision 18744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not scan for MP3 header after the given buffer and return skippedZdenek Kabelac2009-05-04
| | | | | | | bytes along with consumed bytes on successful decoding. patch by Zdenek Kabelac, zdenek.kabelac gmail com Originally committed as revision 18736 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable from decode_init() found by CSA.Michael Niedermayer2009-04-17
| | | | Originally committed as revision 18550 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
* Avoid allocating MPADecodeContext on stack.Andreas Öman2009-01-23
| | | | | | | Instead move relevant fields into MPADecodeHeader and use it where appropriate. Originally committed as revision 16728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify: group all the AUDIO_NONSHORT parameters in the same placeAurelien Jacobs2009-01-14
| | | | Originally committed as revision 16602 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace #ifdef CONFIG_ preprocessor check by #if CONFIG_.Diego Biurrun2009-01-14
| | | | | | CONFIG_ changed semantics and is always defined now. Originally committed as revision 16598 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
* Add dummy mp1_decoder to complement the existing dummy mp2/mp3 decoders.Michael Niedermayer2009-01-13
| | | | Originally committed as revision 16581 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r16257:Andreas Öman2008-12-22
| | | | | | | Include "libavutil/common.h" where we use llrint() in case ffmpeg's own llrint() is to be used. Originally committed as revision 16282 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Include "libavutil/common.h" where we use llrint() in case ffmpeg'sAndreas Öman2008-12-21
| | | | | | own llrint() is to be used. Originally committed as revision 16257 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add shift argument to MULL() macroMåns Rullgård2008-11-24
| | | | | | | | This replaces use of FRAC_BITS in the MULL() definition with a third argument specifying the shift amount. All uses of this macro are updated to pass FRAC_BITS as third argument. Originally committed as revision 15921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uses FF_ARRAY_ELEMS() where appropriateAurelien Jacobs2008-10-21
| | | | Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only print "invalid new backstep" when it is really invalid.Michael Niedermayer2008-09-16
| | | | | | Fixes issue541. Originally committed as revision 15339 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make decoder more robust by default against broken encoders.Michael Niedermayer2008-09-16
| | | | | | Fixes issue540. Originally committed as revision 15336 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename error_resilience to error_recognition.Michael Niedermayer2008-09-08
| | | | Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove debuging junk that probably hasnt been used by anyone since years.Michael Niedermayer2008-08-31
| | | | Originally committed as revision 15133 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use static vlc structure to decode layer 3 huffman tables.Art Clarke2008-07-31
| | | | | | Patch by Art Clarke aclarke vlideshow com Originally committed as revision 14483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Decrease severity of 'invalid new backstep' log message to warningAndreas Öman2008-07-20
| | | | | | in mpeg audio decoder. Originally committed as revision 14313 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Supply context argument to av_log() in mpeg audio decoder.Andreas Öman2008-07-20
| | | | Originally committed as revision 14312 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mpegaudio: use MAC/MLS macros in ff_mpa_synth_filterMåns Rullgård2008-07-13
| | | | Originally committed as revision 14199 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
* break if error in header so it can output already decoded framesBaptiste Coudurier2008-04-26
| | | | Originally committed as revision 12999 to svn://svn.ffmpeg.org/ffmpeg/trunk
* merge init with declarationBaptiste Coudurier2008-04-26
| | | | Originally committed as revision 12998 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: merge declsBaptiste Coudurier2008-04-26
| | | | Originally committed as revision 12997 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify: merge loopsBaptiste Coudurier2008-04-26
| | | | Originally committed as revision 12996 to svn://svn.ffmpeg.org/ffmpeg/trunk