Nick Brereton
b12b16c5d3
Fix side channels when XCh extension is present.
...
Patch by Nick Brereton $name AT n$surname DOT net
Originally committed as revision 24210 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nick Brereton
d0a1885018
Move XCH parameters into context structure.
...
Patch by Nick Brereton $name AT n$surname DOT net
Originally committed as revision 24209 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8fc0162ac4
Add av_ prefix to bswap macros
...
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nick Brereton
0712c230ae
DCA: Occasionally a false XCH sync word can turn up after the core DTS data,
...
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
15 years ago
Benjamin Larsson
324a94b022
DCA: *_bits() -> *_bits_long() where needed, half fix for broken bitstream parsing
...
Originally committed as revision 24051 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nick Brereton
d1177cb589
Support DTS-ES extension (XCh) in dca: Cosmetic cleanup
...
Patch by Nick Brereton, nick at nbrereton dot net
Originally committed as revision 23698 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nick Brereton
774e9acfa7
Support DTS-ES extension (XCh) in dca: add code to handle DTS-ES extension
...
Patch by Nick Brereton, nick at nbrereton dot net
Originally committed as revision 23697 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nick Brereton
3d5a9ba1af
Support DTS-ES extension (XCh) in dca: update and add channel mapping tables 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
15 years ago
Nick Brereton
6baef06e8f
Support DTS-ES extension (XCh) in dca: move original code around to allow 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
15 years ago
Nick Brereton
77b4b7c383
Support DTS-ES extension (XCh) in dca: move subband_samples into context structure
...
Patch by Nick Brereton, nick at nbrereton dot net
Originally committed as revision 23694 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nick Brereton
63c3b716d7
Fix typo in macro name.
...
Patch by Nick Brereton, nick nbrereton net
Originally committed as revision 23668 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
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
15 years ago
Måns Rullgård
2bb29da602
DCA: indent
...
Originally committed as revision 22872 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
69e171364e
DCA: optimise dca_subsubframe()
...
8% faster overall on Cortex-A8.
Originally committed as revision 22871 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
309d16a4a0
DCA: break out lfe_interpolation_fir() inner loops to a function
...
This enables SIMD optimisations of this function.
Originally committed as revision 22861 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
843c7aa8fb
DCA: use FASTDIV in decode_blockcode()
...
Originally committed as revision 22855 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
766fefe8e2
DCA: simplify lfe_interpolation_fir()
...
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
15 years ago
Måns Rullgård
b92d483bac
DCA: use a local variable for loop boundary
...
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
15 years ago
Måns Rullgård
0dc7df28dd
DCA: use some type-punning in qmf_32_subbands()
...
Originally committed as revision 22847 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f462ed1f82
Make synth_filter a function pointer
...
Originally committed as revision 22827 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
38d52f3ea3
DCA: align some arrays
...
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
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
1429224b04
Move FFT parts from dsputil.h to fft.h
...
Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
84dc2d8afa
Remove DECLARE_ALIGNED_{8,16} macros
...
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
15 years ago
Laurent Aimar
4e06acbde4
Fixed a segfault in the DCA decoder with corrupted streams.
...
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
15 years ago
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
d49dded591
Remove unused variable j.
...
Originally committed as revision 20398 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
4f99c31c39
Split synth filter out of dca.c.
...
Originally committed as revision 20396 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
268fcbe2c8
Fix 100l incorrect bitmask check.
...
Originally committed as revision 20197 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
144fec83b3
dca and aac decoders use float_to_int16_interleave, so check for
...
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
15 years ago
Måns Rullgård
01b2214758
Merge FFTContext and MDCTContext
...
Originally committed as revision 19931 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
6d9d289e76
DCA: move an aligned array from stack to context
...
Originally committed as revision 19805 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Siarhei Siamashka
7d485f165f
Support for getting (i)MDCT output multiplied by a constant scaling factor.
...
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
16 years ago
Kostya Shishkov
0cfa85dd9f
Make VLC tables in DCA decoder use INIT_VLC_USE_NEW_STATIC
...
Originally committed as revision 18643 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
b275500706
Split bitstream.h, put the bitstream writer stuff in the new file
...
put_bits.h.
Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
e161e007be
Use INIT_VLC_USE_STATIC and not its value "1".
...
Originally committed as revision 18430 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
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
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
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
16 years ago
Kostya Shishkov
d041a59897
Add support for parsing and decoding DCA-HD streams.
...
Originally committed as revision 15951 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
92765276fb
Proper channel output reordering for the dca decoder.
...
Originally committed as revision 15832 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
e22192ecc3
Comment typo
...
Originally committed as revision 15801 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
cd027b511e
Remove channel layout table that only should be used by encoders.
...
Originally committed as revision 15800 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
c6eaba62e8
Change the dca channel layout, S -> SIDE not BACK.
...
Originally committed as revision 15769 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Andreas Öman
9d9b9d32e6
Change multichannel API define prefix from "CHANNEL_" to "CH_".
...
Originally committed as revision 15768 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
48dc2fb800
Guess channel layout based on the number of channels if a custom layout is specified in amode.
...
Originally committed as revision 15766 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
87c3b9bce3
Add channel layouts for dca.
...
Originally committed as revision 15765 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
d5b3a86393
Fix compilation, remove stray ;
...
Originally committed as revision 15735 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
9ed73b4870
Fix selection of quant step table
...
Originally committed as revision 15734 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
ba5fc967f6
Disable codec downmix when not using simd instead of silently produce silence
...
Originally committed as revision 15715 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago