summaryrefslogtreecommitdiff
path: root/libavcodec/dca.c
Commit message (Collapse)AuthorAgeFilesLines
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-1/+1
| | | | | | 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-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-3/+3
| | | | | | | 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-261-0/+4
| | | | | | | | 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-221-3/+3
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable j.Michael Niedermayer2009-10-281-1/+1
| | | | Originally committed as revision 20398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split synth filter out of dca.c.Michael Niedermayer2009-10-281-31/+5
| | | | Originally committed as revision 20396 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix 100l incorrect bitmask check.Reimar Döffinger2009-10-101-1/+1
| | | | 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-081-1/+1
| | | | | | | 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-201-1/+1
| | | | 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-101-5/+5
| | | | 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-161-1/+1
| | | | | | | | 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-211-8/+30
| | | | Originally committed as revision 18643 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
* Split bitstream.h, put the bitstream writer stuff in the new fileStefano Sabatini2009-04-121-0/+1
| | | | | | 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-111-4/+4
| | | | Originally committed as revision 18430 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | 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-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
* Add support for parsing and decoding DCA-HD streams.Kostya Shishkov2008-11-291-2/+3
| | | | Originally committed as revision 15951 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Proper channel output reordering for the dca decoder.Benjamin Larsson2008-11-151-10/+63
| | | | Originally committed as revision 15832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Comment typoBenjamin Larsson2008-11-111-1/+1
| | | | 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-111-17/+0
| | | | Originally committed as revision 15800 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the dca channel layout, S -> SIDE not BACK.Benjamin Larsson2008-11-021-14/+14
| | | | Originally committed as revision 15769 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change multichannel API define prefix from "CHANNEL_" to "CH_".Andreas Öman2008-11-021-32/+32
| | | | 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-011-5/+0
| | | | | | specified in amode. Originally committed as revision 15766 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add channel layouts for dca.Benjamin Larsson2008-11-011-0/+57
| | | | Originally committed as revision 15765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation, remove stray ;Benjamin Larsson2008-10-281-1/+1
| | | | Originally committed as revision 15735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix selection of quant step tableBenjamin Larsson2008-10-281-2/+4
| | | | 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-261-5/+6
| | | | Originally committed as revision 15715 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix dca decoder with non simd float2int16 conversionBenjamin Larsson2008-10-261-8/+16
| | | | Originally committed as revision 15714 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation with TRACEBenjamin Larsson2008-10-261-4/+4
| | | | 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-301-34/+0
| | | | | | 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-301-28/+37
| | | | Originally committed as revision 15049 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of the 512 sample memmove().Michael Niedermayer2008-08-301-4/+10
| | | | 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-291-10/+9
| | | | 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-291-4/+2
| | | | Originally committed as revision 15024 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify (drop useless intermediate sum and diff arrays).Michael Niedermayer2008-08-291-10/+3
| | | | Originally committed as revision 15023 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 5,1l: samples_chanptr[] should be (const float *)Andreas Öman2008-08-291-1/+1
| | | | Originally committed as revision 15022 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dca: Set data_size outside block loop.Andreas Öman2008-08-291-2/+1
| | | | Originally committed as revision 15021 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dca: Do float -> int16 interleaving in-place using ↵Andreas Öman2008-08-291-10/+7
| | | | | | s->dsp.float_to_int16_interleave() Originally committed as revision 15020 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct scaling factor in DCA decoder synthesis.Alexander E. Patrakov2008-08-241-1/+1
| | | | | | | Patch by Alexander Patrakov ($lastname at gmail.com) Thread: dca.c: output scale is a bit off Originally committed as revision 14937 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant FFMIN().Michael Niedermayer2008-08-231-4/+4
| | | | Originally committed as revision 14918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Increase buffer size to 16384 patch by Alexander E. Patrakov" patrakov gmailAlexander E. Patrakov2008-08-231-1/+1
| | | | | | This fixes a (probably not exploitable) buffer overflow (apparently unknown to its author). Originally committed as revision 14917 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-311-0/+1
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-121-1/+1
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-271-0/+1
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only set channels in the stream if previously unset, fixes resampling crash ↵Benjamin Larsson2008-04-101-1/+8
| | | | | | on broken dca frames Originally committed as revision 12780 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-211-3/+3
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't use unchecked data from the bitstream.Benjamin Larsson2008-03-061-2/+10
| | | | Originally committed as revision 12351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo fix: inited --> initializedDiego Biurrun2008-02-131-6/+6
| | | | Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk