summaryrefslogtreecommitdiff
path: root/libavcodec/dca.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
* DCA: indentMåns Rullgård2010-04-13
| | | | Originally committed as revision 22872 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DCA: optimise dca_subsubframe()Måns Rullgård2010-04-13
| | | | | | 8% faster overall on Cortex-A8. Originally committed as revision 22871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DCA: break out lfe_interpolation_fir() inner loops to a functionMåns Rullgård2010-04-12
| | | | | | This enables SIMD optimisations of this function. Originally committed as revision 22861 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DCA: use FASTDIV in decode_blockcode()Måns Rullgård2010-04-12
| | | | Originally committed as revision 22855 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DCA: simplify lfe_interpolation_fir()Måns Rullgård2010-04-12
| | | | | | | | | | This reorders the lfe_fir tables, and drops the mirrored half, such that the loops in lfe_interpolation_fir() can be simplified. The new loop structure should be easier to implement with SIMD. Static data size is reduced by 2kB. 3% faster on Cortex-A8. Originally committed as revision 22849 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DCA: use a local variable for loop boundaryMåns Rullgård2010-04-12
| | | | | | | This prevents gcc reloading the value from memory on each iteration of the loop. Originally committed as revision 22848 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DCA: use some type-punning in qmf_32_subbands()Måns Rullgård2010-04-12
| | | | Originally committed as revision 22847 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make synth_filter a function pointerMåns Rullgård2010-04-10
| | | | Originally committed as revision 22827 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DCA: align some arraysMåns Rullgård2010-04-10
| | | | | | | Optimised implementations of the synth filter will require these arrays 16-byte aligned. Originally committed as revision 22826 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
* 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
* Fixed a segfault in the DCA decoder with corrupted streams.Laurent Aimar2010-02-26
| | | | | | | | It happens when the number of channels defined by DCAContext:acmod is lower than DCAContext:prim_channels. In this case, dca_subsubframe() will call qmf_32_subbands() using s->channel_order_tab[] entries equal to -1. Originally committed as revision 22083 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
* Remove unused variable j.Michael Niedermayer2009-10-28
| | | | Originally committed as revision 20398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split synth filter out of dca.c.Michael Niedermayer2009-10-28
| | | | Originally committed as revision 20396 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix 100l incorrect bitmask check.Reimar Döffinger2009-10-10
| | | | Originally committed as revision 20197 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dca and aac decoders use float_to_int16_interleave, so check forDavid Conrad2009-10-08
| | | | | | | the C version of that rather than float_to_int16. Fixes output on ARM/VFP Originally committed as revision 20192 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
* DCA: move an aligned array from stack to contextMåns Rullgård2009-09-10
| | | | Originally committed as revision 19805 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
* Make VLC tables in DCA decoder use INIT_VLC_USE_NEW_STATICKostya Shishkov2009-04-21
| | | | Originally committed as revision 18643 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
* Split bitstream.h, put the bitstream writer stuff in the new fileStefano Sabatini2009-04-12
| | | | | | put_bits.h. Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use INIT_VLC_USE_STATIC and not its value "1".Carl Eugen Hoyos2009-04-11
| | | | Originally committed as revision 18430 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
* 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
* Add support for parsing and decoding DCA-HD streams.Kostya Shishkov2008-11-29
| | | | Originally committed as revision 15951 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Proper channel output reordering for the dca decoder.Benjamin Larsson2008-11-15
| | | | Originally committed as revision 15832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Comment typoBenjamin Larsson2008-11-11
| | | | Originally committed as revision 15801 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove channel layout table that only should be used by encoders.Benjamin Larsson2008-11-11
| | | | Originally committed as revision 15800 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the dca channel layout, S -> SIDE not BACK.Benjamin Larsson2008-11-02
| | | | Originally committed as revision 15769 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change multichannel API define prefix from "CHANNEL_" to "CH_".Andreas Öman2008-11-02
| | | | Originally committed as revision 15768 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Guess channel layout based on the number of channels if a custom layout is ↵Benjamin Larsson2008-11-01
| | | | | | specified in amode. Originally committed as revision 15766 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add channel layouts for dca.Benjamin Larsson2008-11-01
| | | | Originally committed as revision 15765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation, remove stray ;Benjamin Larsson2008-10-28
| | | | Originally committed as revision 15735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix selection of quant step tableBenjamin Larsson2008-10-28
| | | | Originally committed as revision 15734 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable codec downmix when not using simd instead of silently produce silenceBenjamin Larsson2008-10-26
| | | | Originally committed as revision 15715 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix dca decoder with non simd float2int16 conversionBenjamin Larsson2008-10-26
| | | | Originally committed as revision 15714 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation with TRACEBenjamin Larsson2008-10-26
| | | | Originally committed as revision 15713 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the cos_mod table that has become unused after replacing the imdctMichael Niedermayer2008-08-30
| | | | | | by ff_imdct_half(). Originally committed as revision 15050 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace obfuscated mdct in qmf_32_subbands() by ff_imdct_half().Michael Niedermayer2008-08-30
| | | | Originally committed as revision 15049 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of the 512 sample memmove().Michael Niedermayer2008-08-30
| | | | Originally committed as revision 15048 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Half the size of subband_fir_noidea and get rid of memmove & memset of it.Michael Niedermayer2008-08-29
| | | | Originally committed as revision 15033 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move t1 and t2 declaration from the QMF code closer to where they are used.Michael Niedermayer2008-08-29
| | | | Originally committed as revision 15024 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify (drop useless intermediate sum and diff arrays).Michael Niedermayer2008-08-29
| | | | Originally committed as revision 15023 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 5,1l: samples_chanptr[] should be (const float *)Andreas Öman2008-08-29
| | | | Originally committed as revision 15022 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dca: Set data_size outside block loop.Andreas Öman2008-08-29
| | | | Originally committed as revision 15021 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dca: Do float -> int16 interleaving in-place using ↵Andreas Öman2008-08-29
| | | | | | s->dsp.float_to_int16_interleave() Originally committed as revision 15020 to svn://svn.ffmpeg.org/ffmpeg/trunk