summaryrefslogtreecommitdiff
path: root/libavcodec/dca.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * cosmetics: indentation and spacingJustin Ruggles2011-01-281-7/+6
| |
| * Remove the add bias hack for the C version of DSPContext.float_to_int16_*().Justin Ruggles2011-01-281-28/+19
| |
| * Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-261-1/+1
| | | | | | | | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * dca: add profile namesAnssi Hannula2011-01-211-0/+10
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * dca: consider a stream with XXCh/X96 in ExSS as DTS-HD HRAAnssi Hannula2011-01-211-5/+2
| | | | | | | | | | | | | | | | | | | | | | DTS-HD HRA streams do not always have an XBR extension in the extension substream. Instead they can have only XXCh and X96 extensions in there and still be considered DTS-HD HRA. This is also confirmed with Onkyo TX-SR607 receiver which recognizes such a stream as HiRes Audio. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | dca: allow selecting float output at runtime.Reimar Döffinger2011-04-251-18/+10
| |
* | Libavcodec AC3/E-AC3/DTS decoders now output floating point data.clsid22011-04-031-2/+19
| | | | | | | | git-svn-id: https://ffdshow-tryout.svn.sourceforge.net/svnroot/ffdshow-tryout@3769 3b938f2f-1a1a-0410-8054-a526ea5ff92c
* | dca: use EXT_AUDIO_ID field to determine core extensionsAnssi Hannula2011-02-261-20/+49
| | | | | | | | | | | | | | | | | | | | This avoids the core substream extensions scan when the EXT_AUDIO_ID field indicates no extensions or only unsupported extensions. The scan is done only if the value of EXT_AUDIO_ID is unknown or indicates a present XCh extension which we can decode. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 7e06e0ede3b798f591634b277e8dfa6507b196de)
* | Merge libavcore into libavutilReinhard Tartler2011-02-161-1/+1
| | | | | | | | Done to keep ABI compatible. Otherwise this is just silly
* | Replace remaining occurrences of deprecated CH_* with AV_CH_*Anton Khirnov2011-02-061-2/+2
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit c2fcd0a7a4d0bda1a3306e40b70ce281a987df60)
* | Separate format conversion DSP functions from DSPContext.Justin Ruggles2011-02-041-2/+5
| | | | | | | | | | | | | | | | 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> (cherry picked from commit c73d99e672329c8f2df290736ffc474c360ac4ae)
* | dca: avoid C99 declaration in for() expressionGianluigi Tiesi2011-02-021-1/+3
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit e86e858111501650bb9ce8e39282e20c57bac913)
* | Remove unneeded add bias from 3 functions.Justin Ruggles2011-02-021-2/+2
| | | | | | | | | | | | | | | | | | DSPContext.vector_fmul_window() DCADSPContext.lfe_fir() SynthFilterContext.synth_filter_float() Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 80ba1ddb58b5923b9f36a6acd542affc4ca722eb)
* | cosmetics: indentation and spacingJustin Ruggles2011-01-281-7/+6
| | | | | | | | (cherry picked from commit b5ec6383432c907bed175f20e39af1a99dc75cfb)
* | Remove the add bias hack for the C version of DSPContext.float_to_int16_*().Justin Ruggles2011-01-281-28/+19
| | | | | | | | (cherry picked from commit 9d06d7bce3babb82ed650c13ed13a57f6f626a71)
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-281-1/+1
| | | | | | | | | | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d36beb3f6902b1217beda576aa18abf7eb72b03c)
* | dca: add profile namesAnssi Hannula2011-01-231-0/+10
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit f4096bf6eeddc605457192476dbbf110d4cc6140)
* | dca: consider a stream with XXCh/X96 in ExSS as DTS-HD HRAAnssi Hannula2011-01-231-5/+2
|/ | | | | | | | | | | | DTS-HD HRA streams do not always have an XBR extension in the extension substream. Instead they can have only XXCh and X96 extensions in there and still be considered DTS-HD HRA. This is also confirmed with Onkyo TX-SR607 receiver which recognizes such a stream as HiRes Audio. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 8f4a5d225c6cd65c5f306a200da991f8a59a439a)
* cosmetics: reindentJustin Ruggles2011-01-181-1/+1
|
* Add check for changing number of channels in DCA.Daniel Kang2011-01-181-0/+9
| | | | Fixes issue 2505.
* Fix reading over the end of the allocated buffer.Anssi Hannula2011-01-091-1/+15
| | | | | | Patch by Anssi Hannula, anssi d hannula a iki d fi Originally committed as revision 26291 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export dca profile information.Anssi Hannula2011-01-061-3/+351
| | | | | | Patch by Anssi Hannula anssi d hannula a iki d fi Originally committed as revision 26250 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Verify FSIZE96 when encountering X96 sync code.Anssi Hannula2011-01-061-3/+9
| | | | | | Patch by Anssi Hannula, anssi d hannula a iki d fi Originally committed as revision 26249 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the new libavcore audio channel API.Stefano Sabatini2010-11-211-20/+21
| | | | | | | This also allows to remove a linking dependency of libavfilter on libavcodec. Originally committed as revision 25789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-121-1/+1
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add the CODEC_CAP_CHANNEL_CONF capability code and addBenjamin Larsson2010-10-021-0/+1
| | | | | | | | | that flag to the dca codec. This capability when set will make sure the codec will initialize the channel configuration instead of trusting the container. This fixes issue 2137 and issue 850. Originally committed as revision 25320 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dca: fix dynrange coefficient in xchNick Brereton2010-07-311-1/+1
| | | | | | Patch by Nick Brereton Originally committed as revision 24637 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DCA: fix multichannel -> 2 channel downmix.Nick Brereton2010-07-271-14/+33
| | | | | | 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-271-5/+6
| | | | | | 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-121-2/+2
| | | | | | 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-121-0/+14
| | | | | | 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-121-6/+11
| | | | | | 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-101-1/+1
| | | | 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-051-1/+7
| | | | | | | | | 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-051-3/+3
| | | | | | parsing Originally committed as revision 24051 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support DTS-ES extension (XCh) in dca: Cosmetic cleanupNick Brereton2010-06-221-23/+23
| | | | | | 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-221-64/+131
| | | | | | 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-221-34/+71
| | | | | | | | 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-221-91/+110
| | | | | | | | 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-221-5/+7
| | | | | | | | 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-201-2/+2
| | | | | | 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-201-4/+0
| | | | | | | | 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-131-19/+19
| | | | Originally committed as revision 22872 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DCA: optimise dca_subsubframe()Måns Rullgård2010-04-131-19/+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-121-21/+9
| | | | | | 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-121-2/+4
| | | | Originally committed as revision 22855 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DCA: simplify lfe_interpolation_fir()Måns Rullgård2010-04-121-10/+19
| | | | | | | | | | 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-121-1/+2
| | | | | | | 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-121-2/+3
| | | | Originally committed as revision 22847 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make synth_filter a function pointerMåns Rullgård2010-04-101-1/+3
| | | | Originally committed as revision 22827 to svn://svn.ffmpeg.org/ffmpeg/trunk