Justin Ruggles
d425a03b59
cosmetics: reindent
14 years ago
Daniel Kang
1360f07e22
Add check for changing number of channels in DCA.
...
Fixes issue 2505.
14 years ago
Anssi Hannula
39f4d32908
Fix reading over the end of the allocated buffer.
...
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26291 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anssi Hannula
f5a2d285f9
Export dca profile information.
...
Patch by Anssi Hannula anssi d hannula a iki d fi
Originally committed as revision 26250 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anssi Hannula
df1c694c58
Verify FSIZE96 when encountering X96 sync code.
...
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26249 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
63e8d9760f
Use the new libavcore audio channel API.
...
This also allows to remove a linking dependency of libavfilter on
libavcodec.
Originally committed as revision 25789 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
5d6e4c160a
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
...
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Benjamin Larsson
62784e3733
Add the CODEC_CAP_CHANNEL_CONF capability code and add
...
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
14 years ago
Nick Brereton
ace7f813cd
dca: fix dynrange coefficient in xch
...
Patch by Nick Brereton
Originally committed as revision 24637 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nick Brereton
df9844937f
DCA: fix multichannel -> 2 channel downmix.
...
Patch by Nick Brereton
Originally committed as revision 24555 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nick Brereton
08634e7bda
Setup correct channel value when downmixing is required.
...
Patch by Nick Brereton
Originally committed as revision 24554 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Christophe Gisquet
f2401c214d
Use math constant instead of hardcoded rounded value for sqrt(0.5).
...
Patch by Christophe.Gisquet (gmail)
Originally committed as revision 24213 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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