summaryrefslogtreecommitdiff
path: root/libavcodec/ac3dec.h
Commit message (Collapse)AuthorAgeFilesLines
* Add avcodec_decode_audio4().Justin Ruggles2011-12-021-0/+1
| | | | | | 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-061-1/+4
| | | | | 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-101-0/+2
| | | | | | Deprecate corresponding AVCodecContext option. This is the first test of decoder private options.
* doxygen: Prefer member groups over grouping into modulesReinhard Tartler2011-07-021-15/+15
| | | | | | | | | 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-131-1/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ac3enc: add channel coupling supportJustin Ruggles2011-05-241-5/+0
| | | | | | | | | 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-261-5/+5
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* ac3: move ff_ac3_bit_alloc_calc_bap to ac3dspMans Rullgard2011-03-291-0/+2
| | | | 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-251-0/+1
| | | | and decoder, and vice-versa for the AC-3 encoder.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3: define AC3_MAX_CPL_BANDS and use it in ac3dec.hJustin Ruggles2011-03-041-3/+3
|
* Separate format conversion DSP functions from DSPContext.Justin Ruggles2011-02-021-0/+2
| | | | | | | 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-281-1/+0
|
* define AC3_CRITICAL_BANDS and use it in the AC-3 encoder and decoder.Justin Ruggles2010-12-141-2/+2
| | | | 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-141-7/+4
| | | | Originally committed as revision 25950 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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-301-0/+47
| | | | | | | 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-061-0/+3
| | | | 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-061-0/+1
| | | | Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove DECLARE_ALIGNED_{8,16} macrosMåns Rullgård2010-03-061-6/+6
| | | | | | | 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-221-6/+6
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge FFTContext and MDCTContextMåns Rullgård2009-09-201-2/+2
| | | | Originally committed as revision 19931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: move fixed_coeffs into the aligned arrays comment groupJustin Ruggles2009-08-051-2/+1
| | | | 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-051-1/+0
| | | | | | | 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-051-0/+1
| | | | | | 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-111-1/+0
| | | | 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-061-1/+0
| | | | | | | | 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-191-0/+1
| | | | Originally committed as revision 18622 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-131-1/+1
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing #includes to fix 'make checkheaders'.Diego Biurrun2009-02-171-0/+1
| | | | Originally committed as revision 17398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | 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-131-27/+0
| | | | Originally committed as revision 15818 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add support for spectral extensionJustin Ruggles2008-11-131-0/+27
| | | | Originally committed as revision 15812 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-311-3/+3
| | | | | | | | | 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-281-1/+0
| | | | 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-271-0/+12
| | | | 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-271-1/+1
| | | | | | for E-AC-3) Originally committed as revision 14990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1000l to me. committed to wrong repo. revert last commit.Justin Ruggles2008-08-241-13/+1
| | | | Originally committed as revision 14953 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename some functions from *get_* to *decode_*Justin Ruggles2008-08-241-1/+13
| | | | Originally committed as revision 14952 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove some unneeded header includesJustin Ruggles2008-08-171-1/+0
| | | | Originally committed as revision 14819 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use LFG instead of Mersenne Twister for AC-3 PRNGJustin Ruggles2008-08-171-2/+2
| | | | Originally committed as revision 14815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simd int->floatLoren Merritt2008-08-131-1/+1
| | | | | | 20% faster ac3 if downmixing, 15% if not Originally committed as revision 14743 to svn://svn.ffmpeg.org/ffmpeg/trunk
* optimize ac3_downmix.Loren Merritt2008-08-121-1/+0
| | | | | | 1.3x faster 5.1->stereo, 1.9x faster 5.1->mono. Originally committed as revision 14719 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use float_to_int16_interleave in ac3Loren Merritt2008-08-121-1/+0
| | | | Originally committed as revision 14706 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use imdct_half in ac3Loren Merritt2008-08-121-1/+1
| | | | Originally committed as revision 14705 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove mdct tmp bufferLoren Merritt2008-08-121-1/+0
| | | | Originally committed as revision 14702 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: make all references to AC-3 capitalized and hyphenatedJustin Ruggles2008-08-031-2/+2
| | | | Originally committed as revision 14523 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: vertical alignmentJustin Ruggles2008-08-031-1/+1
| | | | Originally committed as revision 14516 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use MAX_BLOCKS for array size instead of 6Justin Ruggles2008-08-031-1/+1
| | | | Originally committed as revision 14515 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rearrange dimensions of pre_mantissa arrayJustin Ruggles2008-08-031-1/+1
| | | | Originally committed as revision 14514 to svn://svn.ffmpeg.org/ffmpeg/trunk