summaryrefslogtreecommitdiff
path: root/libavcodec/ac3dec.c
Commit message (Collapse)AuthorAge
* change name from stream type to frame type in AC3 codeBartlomiej Wolowiec2008-03-28
| | | | Originally committed as revision 12623 to svn://svn.ffmpeg.org/ffmpeg/trunk
* only allocate context input buffer if AVCodecContext.error_reslience is ↵Justin Ruggles2008-03-26
| | | | | | greater than 0. Originally committed as revision 12600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentation after last commitJustin Ruggles2008-03-25
| | | | Originally committed as revision 12594 to svn://svn.ffmpeg.org/ffmpeg/trunk
* additional protection from segmentation faults and memory access errors byJustin Ruggles2008-03-25
| | | | | | | copying the input buffer to a local context buffer which is large enough to hold the largest possible AC3 frame. Originally committed as revision 12593 to svn://svn.ffmpeg.org/ffmpeg/trunk
* using stream type in eac3 parserBartlomiej Wolowiec2008-03-24
| | | | Originally committed as revision 12570 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make input buffer const, as it should be. fixes a warning.Justin Ruggles2008-03-10
| | | | Originally committed as revision 12418 to svn://svn.ffmpeg.org/ffmpeg/trunk
* downmix before imdct unless different size transforms are used. about 20%Justin Ruggles2008-03-09
| | | | | | faster 5.1-to-stereo downmixing. Originally committed as revision 12397 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use scale factor instead of sum for downmix level adjustment. avoids divisionJustin Ruggles2008-03-01
| | | | | | inside downmix loop. 7% faster 5.1-to-stereo downmixing. Originally committed as revision 12287 to svn://svn.ffmpeg.org/ffmpeg/trunk
* pre-calculate downmix coefficient sums. 2% faster 5.1-to-stereo downmixing.Justin Ruggles2008-03-01
| | | | Originally committed as revision 12286 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use 24-bit fixed-point transform coefficients until just before MDCT. ThisJustin Ruggles2008-03-01
| | | | | | gives 7% faster decoding on average. Originally committed as revision 12284 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add variable alpha and size of half window for Kaiser-Bessel Derived windowRobert Swain2008-01-13
| | | | | | | | | | generation. Hard code Bessel I0 approximation iterations to 50. See thread for discussion: [FFmpeg-devel] [PATCH] Move Kaiser-Bessel Derived window to mdct.c Started on the 2008/01/10 Originally committed as revision 11520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the Kaiser-Bessel window generator a common functionRobert Swain2008-01-12
| | | | | | Patch by Robert Swain, robert d swain a gmail d com Originally committed as revision 11514 to svn://svn.ffmpeg.org/ffmpeg/trunk
* used defined name for testing error resilience levelJustin Ruggles2008-01-08
| | | | Originally committed as revision 11478 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split out init of downmix coeffs into a separate function that can be calledJustin Ruggles2008-01-07
| | | | | | only when needed Originally committed as revision 11441 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unneeded variable from AC3DecodeContextJustin Ruggles2008-01-06
| | | | Originally committed as revision 11439 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make sure that the last coupling band stops at the end of the coupling rangeJustin Ruggles2008-01-06
| | | | Originally committed as revision 11438 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix phase flag processing for the case when coupling coordinates are reusedJustin Ruggles2008-01-06
| | | | | | for the right channel, but new for the left channel Originally committed as revision 11436 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move E-AC3 header parsing to ff_ac3_parse_header()Justin Ruggles2008-01-05
| | | | Originally committed as revision 11420 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unneeded variables from AC3HeaderInfoJustin Ruggles2008-01-05
| | | | Originally committed as revision 11419 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationJustin Ruggles2008-01-05
| | | | Originally committed as revision 11416 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check for request_channels at codec initJustin Ruggles2008-01-05
| | | | Originally committed as revision 11415 to svn://svn.ffmpeg.org/ffmpeg/trunk
* improve CRC APIAurelien Jacobs2008-01-04
| | | | | | | - don't export any global var - provide either generated or hardcoded tables Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentation and add a TODO commentJustin Ruggles2008-01-04
| | | | Originally committed as revision 11389 to svn://svn.ffmpeg.org/ffmpeg/trunk
* only check ac3 crc if AVCodecContext.error_resilience > 0Justin Ruggles2008-01-03
| | | | Originally committed as revision 11388 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add crc check to ac3 decoderJustin Ruggles2008-01-03
| | | | Originally committed as revision 11379 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyJustin Ruggles2007-12-30
| | | | Originally committed as revision 11360 to svn://svn.ffmpeg.org/ffmpeg/trunk
* pass an AC3DecodeContext to ac3_downmix() instead of multiple argumentsJustin Ruggles2007-12-30
| | | | Originally committed as revision 11359 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename sampling_rate to sample_rateJustin Ruggles2007-12-30
| | | | Originally committed as revision 11358 to svn://svn.ffmpeg.org/ffmpeg/trunk
* do not need to cast a (void *)Justin Ruggles2007-12-30
| | | | Originally committed as revision 11357 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: vertical realignment after last commitJustin Ruggles2007-12-30
| | | | Originally committed as revision 11356 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename all AC3DecodeContext variables from ctx to sJustin Ruggles2007-12-30
| | | | Originally committed as revision 11355 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename GetBitContext gb to gbcJustin Ruggles2007-12-30
| | | | Originally committed as revision 11354 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unused context variableJustin Ruggles2007-12-30
| | | | Originally committed as revision 11353 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add option for user to scale the amount of dynamic range compression which isJustin Ruggles2007-12-20
| | | | | | applied by the audio decoder, and use that option in the AC3 decoder. Originally committed as revision 11280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip dialog normalization. It shouldn't be used by the decoder, and there isJustin Ruggles2007-12-17
| | | | | | not currently a clean way to pass the value to the user. Originally committed as revision 11246 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert commit made in revision 11228. I'm getting some strange results in theJustin Ruggles2007-12-17
| | | | | | downmixed output that I can't quite figure out. Originally committed as revision 11245 to svn://svn.ffmpeg.org/ffmpeg/trunk
* downmix before the IMDCT if no block switching is usedJustin Ruggles2007-12-16
| | | | Originally committed as revision 11228 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AC3 decoder honor avctx->request_channelsAndreas Öman2007-12-15
| | | | Originally committed as revision 11220 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename ac3 decoder variablesJustin Ruggles2007-12-09
| | | | Originally committed as revision 11197 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename common ac3 variablesJustin Ruggles2007-12-09
| | | | Originally committed as revision 11196 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename ac3 bit allocation variablesJustin Ruggles2007-12-09
| | | | Originally committed as revision 11194 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename ac3 tablesJustin Ruggles2007-12-09
| | | | Originally committed as revision 11193 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Misc spelling fixes, prefer American over British English.Diego Biurrun2007-12-02
| | | | Originally committed as revision 11126 to svn://svn.ffmpeg.org/ffmpeg/trunk
* skip incomplete framesJustin Ruggles2007-09-15
| | | | Originally committed as revision 10497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* better AC3 header error reportingJustin Ruggles2007-09-15
| | | | Originally committed as revision 10496 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix random dithering of zero-bit mantissasJustin Ruggles2007-09-15
| | | | Originally committed as revision 10495 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename variables. tbl->tab for consistency with other AC3 tablesJustin Ruggles2007-09-15
| | | | Originally committed as revision 10494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix decoding of DolbyNet AC3Justin Ruggles2007-09-15
| | | | Originally committed as revision 10493 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: vertical alignmentJustin Ruggles2007-08-09
| | | | Originally committed as revision 10002 to svn://svn.ffmpeg.org/ffmpeg/trunk