summaryrefslogtreecommitdiff
path: root/libavcodec/ac3dec.h
Commit message (Collapse)AuthorAge
* eac3dec: don't call avpriv_request_sample every frame.Tim Walker2016-04-02
| | | | | | | | These errors neither prevent nor stop successful decoding of the E-AC-3 stream's "core", causing avpriv_request_sample to be called for every single frame in the bitstream. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dsputil: Split bswap*_buf() off into a separate contextDiego Biurrun2014-06-22
|
* (e)ac3: parse and store the Lt/Rt and LFE mix levels.Tim Walker2014-01-19
|
* (e)ac3: parse and store the Dolby Surround, Surround EX and Headphone mode ↵Tim Walker2014-01-05
| | | | flags.
* ac3dec: Remove write-only channel_layout field from AC3DecodeContextTim Walker2013-11-22
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* fmtconvert: Explicitly use int32_t instead of intChristophe Gisquet2013-07-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ac3: decode directly to the user-provided AVFrameJustin Ruggles2013-02-12
|
* lavc: Move vector_fmul_window to AVFloatDSPContextJustin Ruggles2013-01-16
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* ac3dec: make downmix() take array of pointers to channel dataMans Rullgard2012-12-09
|
* ac3dec: output planar float onlyMans Rullgard2012-12-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Give all anonymously typedeffed structs in headers a nameDiego Biurrun2012-10-06
| | | | Anonymous structs cannot be forward declared and have no benefit.
* ac3: move ac3_downmix() from dsputil to ac3dspMans Rullgard2012-09-12
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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.
* ac3dec: avoid pointless alloc and indirection for input_bufferReimar Döffinger2011-09-06
| | | | | Since we now always allocate it, it can simply be made part of the context instead.
* ac3dec: add a drc_scale private optionAnton Khirnov2011-07-10
| | | | | | Deprecate corresponding AVCodecContext option. This is the first test of decoder private options.
* doxygen: Prefer member groups over grouping into modulesReinhard Tartler2011-07-02
| | | | | | | | | Before this, almost all module groups have been used for grouping functions and fields in structures semantically. This causes them to not appear properly in the file documentation and needlessly clutters up the "Modules" index. Additionally, this commit streamlines some spelling and appearances.
* ac3dec: fix doxy-style for comment ("///>" should be "///<" instead).Reimar Döffinger2011-06-13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ac3enc: add channel coupling supportJustin Ruggles2011-05-24
| | | | | | | | | Channel coupling is an optional AC-3 feature that increases quality by combining high frequency information from multiple channels into a single channel. The per-channel high frequency information is sent with less accuracy in both the frequency and time domains. This allows more bits to be used for lower frequencies while preserving enough information to reconstruct the high frequencies.
* Add AVX FFT implementation.Vitor Sessak2011-04-26
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* ac3: move ff_ac3_bit_alloc_calc_bap to ac3dspMans Rullgard2011-03-29
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parserJustin Ruggles2011-03-25
| | | | and decoder, and vice-versa for the AC-3 encoder.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3: define AC3_MAX_CPL_BANDS and use it in ac3dec.hJustin Ruggles2011-03-04
|
* Separate format conversion DSP functions from DSPContext.Justin Ruggles2011-02-02
| | | | | | | This will be beneficial for use with the audio conversion API without requiring it to depend on all of dsputil. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove the add bias hack for the C version of DSPContext.float_to_int16_*().Justin Ruggles2011-01-28
|
* define AC3_CRITICAL_BANDS and use it in the AC-3 encoder and decoder.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25967 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: use better (and shared) macro names for some constant valuesJustin Ruggles2010-12-14
| | | | Originally committed as revision 25950 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
* 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
* Move some prototypes from dsputil.c to reasonable header filesMåns Rullgård2010-03-06
| | | | Originally committed as revision 22260 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
* Merge FFTContext and MDCTContextMåns Rullgård2009-09-20
| | | | Originally committed as revision 19931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: move fixed_coeffs into the aligned arrays comment groupJustin Ruggles2009-08-05
| | | | Originally committed as revision 19590 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
* The internal header libavutil/internal.h should not be used outside libavutil.Diego Biurrun2009-06-11
| | | | Originally committed as revision 19157 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
* 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
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing #includes to fix 'make checkheaders'.Diego Biurrun2009-02-17
| | | | Originally committed as revision 17398 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
* revert r15812 (E-AC-3 Spectral Extension) pending further reviewJustin Ruggles2008-11-13
| | | | Originally committed as revision 15818 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add support for spectral extensionJustin Ruggles2008-11-13
| | | | Originally committed as revision 15812 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-31
| | | | | | | | | Consistently apply this rule: the guard name is obtained from the filename by stripping the leading "lib", converting '/' and '.' to '_' and uppercasing the resulting name. Guard names in the root directory have to be prefixed by "FFMPEG_". Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unneeded variable, dither_allJustin Ruggles2008-08-28
| | | | Originally committed as revision 15011 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add definitions and documentation for shared functions for E-AC-3 decodingJustin Ruggles2008-08-27
| | | | Originally committed as revision 14991 to svn://svn.ffmpeg.org/ffmpeg/trunk
* copy default coupling band structure from table to decoding context (used ↵Justin Ruggles2008-08-27
| | | | | | for E-AC-3) Originally committed as revision 14990 to svn://svn.ffmpeg.org/ffmpeg/trunk