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
16 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
16 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
Benjamin Larsson
1402ee721a
Fix dca decoder with non simd float2int16 conversion
...
Originally committed as revision 15714 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
49c91c34b3
Fix compilation with TRACE
...
Originally committed as revision 15713 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
1d8370aad9
Remove the cos_mod table that has become unused after replacing the imdct
...
by ff_imdct_half().
Originally committed as revision 15050 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
89df5e95bb
Replace obfuscated mdct in qmf_32_subbands() by ff_imdct_half().
...
Originally committed as revision 15049 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
47f0e05295
Get rid of the 512 sample memmove().
...
Originally committed as revision 15048 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b854197919
Half the size of subband_fir_noidea and get rid of memmove & memset of it.
...
Originally committed as revision 15033 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ef8676276d
Move t1 and t2 declaration from the QMF code closer to where they are used.
...
Originally committed as revision 15024 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
addafb0e0a
Simplify (drop useless intermediate sum and diff arrays).
...
Originally committed as revision 15023 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
c55ecb9c27
5,1l: samples_chanptr[] should be (const float *)
...
Originally committed as revision 15022 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
a7bc9d1b71
dca: Set data_size outside block loop.
...
Originally committed as revision 15021 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
8ed96a5eba
dca: Do float -> int16 interleaving in-place using s->dsp.float_to_int16_interleave()
...
Originally committed as revision 15020 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander E. Patrakov
cc09e77e2a
Correct scaling factor in DCA decoder synthesis.
...
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
17 years ago
Michael Niedermayer
56523713e5
Remove redundant FFMIN().
...
Originally committed as revision 14918 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander E. Patrakov
4df7beb368
Increase buffer size to 16384 patch by Alexander E. Patrakov" patrakov gmail
...
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
17 years ago
Peter Ross
fd76c37fd9
Modify all codecs to report their supported input and output sample format(s).
...
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
d5202e4fda
Add long names to many AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benjamin Larsson
4a24837e07
Only set channels in the stream if previously unset, fixes resampling crash on broken dca frames
...
Originally committed as revision 12780 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benjamin Larsson
ebf71dbda5
Don't use unchecked data from the bitstream.
...
Originally committed as revision 12351 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago