summaryrefslogtreecommitdiff
path: root/libavcodec/dca.c
Commit message (Collapse)AuthorAge
...
* DCA: fix multichannel -> 2 channel downmix.Nick Brereton2010-07-27
| | | | | | Patch by Nick Brereton Originally committed as revision 24555 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Setup correct channel value when downmixing is required.Nick Brereton2010-07-27
| | | | | | Patch by Nick Brereton Originally committed as revision 24554 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use math constant instead of hardcoded rounded value for sqrt(0.5).Christophe Gisquet2010-07-12
| | | | | | Patch by Christophe.Gisquet (gmail) Originally committed as revision 24213 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix side channels when XCh extension is present.Nick Brereton2010-07-12
| | | | | | Patch by Nick Brereton $name AT n$surname DOT net Originally committed as revision 24210 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move XCH parameters into context structure.Nick Brereton2010-07-12
| | | | | | Patch by Nick Brereton $name AT n$surname DOT net Originally committed as revision 24209 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DCA: Occasionally a false XCH sync word can turn up after the core DTS data,Nick Brereton2010-07-05
| | | | | | | | | to verify the sync word the extension fsize field should be compared to the core data length field. Patch by nick.nbrereton@net Originally committed as revision 24054 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DCA: *_bits() -> *_bits_long() where needed, half fix for broken bitstream ↵Benjamin Larsson2010-07-05
| | | | | | parsing Originally committed as revision 24051 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support DTS-ES extension (XCh) in dca: Cosmetic cleanupNick Brereton2010-06-22
| | | | | | Patch by Nick Brereton, nick at nbrereton dot net Originally committed as revision 23698 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support DTS-ES extension (XCh) in dca: add code to handle DTS-ES extensionNick Brereton2010-06-22
| | | | | | Patch by Nick Brereton, nick at nbrereton dot net Originally committed as revision 23697 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support DTS-ES extension (XCh) in dca: update and add channel mapping tables ↵Nick Brereton2010-06-22
| | | | | | | | for DTS-ES mappings Patch by Nick Brereton, nick at nbrereton dot net Originally committed as revision 23696 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support DTS-ES extension (XCh) in dca: move original code around to allow ↵Nick Brereton2010-06-22
| | | | | | | | reused by DTS-ES code Patch by Nick Brereton, nick at nbrereton dot net Originally committed as revision 23695 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support DTS-ES extension (XCh) in dca: move subband_samples into context ↵Nick Brereton2010-06-22
| | | | | | | | structure Patch by Nick Brereton, nick at nbrereton dot net Originally committed as revision 23694 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix typo in macro name.Nick Brereton2010-06-20
| | | | | | Patch by Nick Brereton, nick nbrereton net Originally committed as revision 23668 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
* 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