Justin Ruggles
b8b4c9c328
wmapro: use FmtConvertContext.float_interleave() to interleave output samples
13 years ago
Anton Khirnov
9f51c682ee
lavc: use avpriv_ prefix for ff_copy_bits and align_put_bits.
...
They are used in lavf.
13 years ago
Laurent Aimar
2c1ba79941
wmapro: Validate the number of audio channels before using it
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
13 years ago
Mans Rullgard
5e1166b31b
Mark some variables with av_unused
...
Most of these variables are only used in av_dlog statements, some
are required but not used by other macros.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Vitor Sessak
9d35fa520e
Add AVX FFT implementation.
...
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Mans Rullgard
4538729afe
Move sine windows to a separate file
...
These windows do not really belong in fft/mdct files and were
easily confused with the similarly named tables used by rdft.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
26f548bb59
fft: remove inline wrappers for function pointers
...
This removes the rather pointless wrappers (one not even inline)
for calling the fft_calc and related function pointers.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
80ba1ddb58
Remove unneeded add bias from 3 functions.
...
DSPContext.vector_fmul_window()
DCADSPContext.lfe_fir()
SynthFilterContext.synth_filter_float()
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Luca Barbato
dfd2a005eb
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Sascha Sommer
f62be777ee
support decoding of files that contain the number
...
of vector coded coefficients in their bitstream
fixes issue 2536
Originally committed as revision 26388 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
f734671925
do not read over the end of the packet
...
fixes issue 2543
Originally committed as revision 26367 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
3cdf69eefa
also support decoding of AVPackets with multiple wma packets
...
fixes issue 2539
Originally committed as revision 26346 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
75e4efd2a7
add support for blocksize 64
...
fixes issue 2537 and 2538
Originally committed as revision 26328 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
15a8bef0b6
skip unsupported postproc information
...
Originally committed as revision 26268 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
b86dd1bf6d
add support for files that do not allow more than 4 subframes
...
Originally committed as revision 26267 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
d7fa58c049
fix indentation
...
Originally committed as revision 26266 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
8b5a780e73
add support for files where the frames do not have a length prefix
...
Originally committed as revision 26265 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
Benoit Fouet
497d7991b5
Change a doxy comment to a normal one.
...
Originally committed as revision 24662 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
a20df85886
Fix doxy that refers to the wrong variable.
...
Originally committed as revision 24549 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
b1078e9fe6
Move clipping of audio samples (for those codecs outputting float) from decoder
...
to the audio conversion routines.
Originally committed as revision 22937 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
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
Ronald S. Bultje
8ff5d1f319
Simplify interleaving code.
...
Originally committed as revision 22719 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
c5c20ae436
Make wmaprodec.c:decode_init() return AVERROR_INVALIDDATA /
...
AVERROR_PATCHWELCOME in case of invalid / unsupported number of
channels specified, rather than return AVERROR_NOTSUPP.
Originally committed as revision 22674 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
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
Reimar Döffinger
14b8607065
Add support for hard-coded MDCT-related ff_sine_windows tables.
...
Originally committed as revision 21108 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
4df254f1f1
WMAPRO: use some type punning in decode_coeffs()
...
Originally committed as revision 20284 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
aac4b0a47e
increase maximum compressed frame size
...
fixes playback of piece.wmv
Originally committed as revision 20155 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
037396d099
return AVERROR_INVALIDDATA when the bitstream could not be decoded
...
Originally committed as revision 20154 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
076a9dea1e
WMA: store level_table as floats, use type punning for sign flip in decode
...
Originally committed as revision 20078 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
d975e5e9b7
WMAPRO: use vector_fmul_scalar from dsputil where possible
...
Originally committed as revision 20056 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
Sascha Sommer
d859bb1db0
Add CODEC_CAP_SUBFRAMES for codecs that output multiple subframes
...
per AVPacket
No longer print "Multiple frames in a packet" error message
when CODEC_CAP_SUBFRAMES is set (wmapro, wavpack)
Originally committed as revision 19881 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
6776061b04
Add two more sizes to ff_sine_windows[] and also pad it with NULLs so
...
that FF_ELEMS(ff_sine_windows[x]) == 1 << x.
Fix issue 1384.
Originally committed as revision 19862 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
bc7f96b184
reinit get_bits for every decode_packet call
...
Originally committed as revision 19822 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
5f28b5e750
do not decode more than one audio frame in a decode packet call
...
Originally committed as revision 19778 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
7dca334da2
avoid extra memcpy during scale factor decoding
...
Originally committed as revision 19777 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
bbb0bdd533
fix handling of packet loss when the output buffer is full
...
Originally committed as revision 19766 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
9244370a7c
reindent
...
Originally committed as revision 19765 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
42ea968188
remove no longer needed debug output
...
Originally committed as revision 19764 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
7551a55948
reduce output buffer needs
...
(fixes playback of some multichannel files)
Originally committed as revision 19763 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
2016932472
store packet GetBitContext in the decoder context
...
Originally committed as revision 19762 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
e0b1d6605b
cosmetics: indentation and other prettyprinting fixes
...
Originally committed as revision 19753 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
c1061cc7f7
add missing wmapro decoder parts
...
Originally committed as revision 19752 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ae9253151f
whitespace cosmetics
...
Originally committed as revision 19725 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago