summaryrefslogtreecommitdiff
path: root/libavcodec/ac3dec.c
Commit message (Collapse)AuthorAge
* Add ff_ prefix to ac3_common_init().Justin Ruggles2011-01-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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 compilation of AC3 decoder if E-AC3 decoder was disabled.Carl Eugen Hoyos2010-05-13
| | | | Originally committed as revision 23131 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ac3dec: return smaller of buf_size and frame_size instead of always returningJustin Ruggles2010-04-22
| | | | | | frame_size. Originally committed as revision 22950 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all remaining occurrences of AVERROR_NOMEM withStefano Sabatini2010-04-03
| | | | | | | | | AVERROR(ENOMEM). AVERROR_NOMEM is deprecated and will be dropped at the next libavutil major bump. Originally committed as revision 22791 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
* Add spectral extension to the E-AC-3 decoder.Carl Eugen Hoyos2010-03-30
| | | | | | | Original patch by Justin, updated and resubmitted by Christophe Gisquet, christophe D gisquet A gmail Originally committed as revision 22734 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify error handling by processing header errors separate from CRC andJustin Ruggles2010-01-28
| | | | | | buffer size vs. frame size errors. Originally committed as revision 21519 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only check frame size if the header is valid.Justin Ruggles2010-01-24
| | | | Originally committed as revision 21439 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use MULH instead of 64x64 multiplication, around 5% overall speedup on Intel ↵Reimar Döffinger2010-01-12
| | | | | | | | Atom. Patch by myself and Yuriy Kaminskiy [yumkam mail ru] Originally committed as revision 21175 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ac3dec: apply dynamic range compression to correct channels in dual-mono mode.Justin Ruggles2009-11-14
| | | | Originally committed as revision 20533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ac3dec: revert r20089. The change was just wrong. 10l for me.Justin Ruggles2009-11-08
| | | | Originally committed as revision 20473 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change an error to a warning to support broken AC-3 files known to exist.Justin Ruggles2009-10-01
| | | | | | Fixes Issue 1426. Originally committed as revision 20110 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: wrong operation in stereo rematrixingJustin Ruggles2009-09-30
| | | | Originally committed as revision 20106 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify stereo rematrixing by only using one temporary variable. It is alsoJustin Ruggles2009-09-30
| | | | | | about 1.8% faster on my system. Originally committed as revision 20090 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unneeded assignment in inner loop. rematrixing bands are contiguous.Justin Ruggles2009-09-30
| | | | Originally committed as revision 20089 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rearrange loop structure for approx. 35-50% faster calc_transform_coeffs_cpl()Justin Ruggles2009-09-27
| | | | | | depending on content. Originally committed as revision 20055 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move variable declaration to inside of loop.Justin Ruggles2009-09-27
| | | | Originally committed as revision 20053 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Rename some variables.Justin Ruggles2009-09-27
| | | | Originally committed as revision 20052 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify coupling band loop.Justin Ruggles2009-09-27
| | | | Originally committed as revision 20051 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: reindent after last commitJustin Ruggles2009-08-05
| | | | Originally committed as revision 19589 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ac3dec: simplify zero-bit mantissa dithering by calculating itJustin Ruggles2009-08-05
| | | | | | | conditionally during mantissa decoding, then only removing it from the coupling range for coupled channels which do not use dithering. Originally committed as revision 19588 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentation and line wrapJustin Ruggles2009-08-05
| | | | Originally committed as revision 19587 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics after last commitJustin Ruggles2009-08-05
| | | | Originally committed as revision 19586 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify decode_band_structure() so that the actual band structure is onlyJustin Ruggles2009-08-05
| | | | | | | used within the function. This removes the need to have the coupling band structure stored in the AC3DecodeContext. Originally committed as revision 19585 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use coupling band sizes instead of coupling band structure whenJustin Ruggles2009-08-05
| | | | | | calculating coupling transform coefficients. Originally committed as revision 19584 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: add more detailed information to the documentation forJustin Ruggles2009-08-03
| | | | | | decode_band_structure(). Originally committed as revision 19577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* refactoring: properly separate AC-3 and E-AC-3 codeDiego Biurrun2009-07-23
| | | | Originally committed as revision 19501 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure that eac3_decoder only gets enabled when CONFIG_EAC3_DECODER is set.Diego Biurrun2009-07-23
| | | | Originally committed as revision 19500 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ff_log_missing_feature() to av_log_missing_feature().Ronald S. Bultje2009-06-29
| | | | Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk
* eac3dec: revert commit r18860. keep the AHT IDCT 24-bit. will make AHT GAQJustin Ruggles2009-05-21
| | | | | | dequantization 24-bit in a separate commit. Originally committed as revision 18887 to svn://svn.ffmpeg.org/ffmpeg/trunk
* The AC-3 decoder is now LGPL. Exchange the license header and change referencesDiego Biurrun2009-05-19
| | | | | | in the build system and documentation that mark it as GPL. Originally committed as revision 18876 to svn://svn.ffmpeg.org/ffmpeg/trunk
* LGPL version of ac3_decode_transform_coeffs_ch, ~12.4% faster.Jason Garrett-Glaser2009-05-19
| | | | Originally committed as revision 18875 to svn://svn.ffmpeg.org/ffmpeg/trunk
* eac3dec: use 16-bit pre-mantissas instead of 24-bit in AHT decoding. it isJustin Ruggles2009-05-17
| | | | | | simpler and also fixes a bug in GAQ dequantization. Originally committed as revision 18860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ac3dec: fix coupling range check. the start subband must be less thanJustin Ruggles2009-05-16
| | | | | | the end subband. Originally committed as revision 18857 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support for getting (i)MDCT output multiplied by a constant scaling factor.Siarhei Siamashka2009-05-16
| | | | | | | | Scaling (i)MDCT output has no runtime overhead and can be used to improve performance of audio codecs. All the changes are only needed in 'ff_mdct_init' function and slow down initialization a bit. Originally committed as revision 18855 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: line wrap and vertical alignmentJustin Ruggles2009-05-06
| | | | Originally committed as revision 18752 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ac3dec: Remove unneeded context variable, num_cpl_subbands. It is alsoJustin Ruggles2009-05-06
| | | | | | | | not needed for spectral extension or enhanced coupling since it is redundant information, so I am removing it from decode_band_structure() as well. Originally committed as revision 18751 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentation after last commitJustin Ruggles2009-05-05
| | | | Originally committed as revision 18750 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ac3dec: move channel remapping to outside of block loopJustin Ruggles2009-05-05
| | | | Originally committed as revision 18749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add channel layout support to the AC-3 decoder and AC-3 parser.Justin Ruggles2009-04-19
| | | | Originally committed as revision 18622 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ac3dec: reorder output channels to SMPTE channel orderJustin Ruggles2009-04-17
| | | | Originally committed as revision 18542 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
* 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
* Factorise enum of AC3 error types to be usable by AAC in the ADTS patch thatAlex Converse2009-01-07
| | | | | | | | will follow Patch by Alex Converse ( alex converse gmail com ) Originally committed as revision 16479 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_log_missing_feature an internal function, and change its nameStefano Sabatini2008-12-08
| | | | | | to ff_log_missing_feature. Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: alignment after last commitJustin Ruggles2008-12-08
| | | | Originally committed as revision 16035 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ac3: detect dba errors and prevent writing past end of arrayJustin Ruggles2008-12-08
| | | | Originally committed as revision 16034 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ac3dec: simplify exponent bounds checkingJustin Ruggles2008-12-06
| | | | Originally committed as revision 16022 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ac3dec: unroll inner loop in exponent decoding. 46% faster decode_exponents().Justin Ruggles2008-12-06
| | | | Originally committed as revision 16018 to svn://svn.ffmpeg.org/ffmpeg/trunk