Justin Ruggles
a38eadf7ed
atrac1: do not keep a copy of channel count in the private context
12 years ago
Justin Ruggles
23d53c5473
atrac1: use planar sample format
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Lou Logan
6851130fd6
cosmetics: minor libavcodec spelling errors
...
Also update some common misspelled words in patcheck
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
00c3b67b8a
cosmetics: Align codec declarations
...
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
9cf0841ef3
dsputil: Add ff_ prefix to the dsputil*_init* functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
99560a4caa
libavcodec: Add ff_ prefix to some nonstatic symbols
...
Prefix the functions atrac_generate_tables, atrac_iqmf, dct_quantize_c.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Justin Ruggles
0eea212943
Add avcodec_decode_audio4().
...
Deprecate avcodec_decode_audio3().
Implement audio support in avcodec_default_get_buffer().
Implement the new audio decoder API in all audio decoders.
13 years ago
Justin Ruggles
164fca39bd
atrac1: use correct context for av_log()
13 years ago
Justin Ruggles
f20dd574f1
atrac1: return appropriate error codes instead of -1
13 years ago
Justin Ruggles
6dc7dd7af4
atrac1: check for ff_mdct_init() failure
13 years ago
Justin Ruggles
21dcecc310
atrac1: use optimized float_interleave() function for stereo interleaving
13 years ago
Justin Ruggles
96b5702efe
atrac1: fix a typo
13 years ago
Justin Ruggles
bff5b2c1ca
atrac1: validate number of channels
13 years ago
Justin Ruggles
9a35ff3841
atrac1: decode mono audio directly to output buffer
...
For stereo we need to use intermediate planar buffers, but mono does not need
to be deinterleaved so the output buffer can be used directly.
13 years ago
Justin Ruggles
33684b9c12
atrac1: check output buffer size before decoding
13 years ago
Laurent Aimar
31ac9b30ae
atrac1: give a valid context pointer to av_log().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 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
a8ae4e0e7b
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>
(cherry picked from commit 80ba1ddb58
)
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
Diego Elio Pettenò
e7e2df27f8
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>
(cherry picked from commit d36beb3f69
)
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
Diego Elio Pettenò
ee7fed27d4
Rename sf_table in atrac.c unit to ff_atrac_sf_table.
...
This ensures a locally-unique name as well as marks the symbol as
FFmpeg-private at least by declaration.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 82e1f217f2
)
14 years ago
Diego Elio Pettenò
82e1f217f2
Rename sf_table in atrac.c unit to ff_atrac_sf_table.
...
This ensures a locally-unique name as well as marks the symbol as
FFmpeg-private at least by declaration.
Signed-off-by: Mans Rullgard <mans@mansr.com>
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
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
Måns Rullgård
da0ac0ee64
Make some functions static
...
These functions are not used outside their respective files, and they
lack a prototype in a header.
Originally committed as revision 22259 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
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
Vitor Sessak
f49bcde63b
Reindent code folowing previous commit (r20019)
...
Originally committed as revision 20020 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
b11d40d12e
Factorize duplicated code in at1_imdct_block()
...
Originally committed as revision 20019 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
e704b012f2
Mention SDDS so search engines will pick it up for when someone
...
needs to decode the SDDS tracks found on 35 mm movies.
Originally committed as revision 19968 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
edd897b1b3
Use ff_sine_32 in atrac1.
...
Originally committed as revision 19967 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
9caab87829
Add forgotten cleanup function in atrac1.
...
Originally committed as revision 19954 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
78b3a12d9c
Cosmetics, indentation.
...
Originally committed as revision 19953 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
a872e5c1f4
Cosmetics. Merge declaration and initialization.
...
Originally committed as revision 19952 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
b6a237025d
Move the scale factor and word length indexes to the stack.
...
Originally committed as revision 19951 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
Diego Biurrun
ec129499b8
Fix embarassing typo in last commit: Restore mistakenly removed ','.
...
Originally committed as revision 19930 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
1e1898c00f
K&R coding style whitespace cosmetics
...
Originally committed as revision 19929 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
803d8488f2
Align sample output buffer in atrac1.
...
Originally committed as revision 19918 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
0105f49792
Fix the short block transform for atrac1.
...
Originally committed as revision 19917 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
10634c037a
Only use one mdct window size in atrac1.
...
Originally committed as revision 19900 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago