Diego Biurrun
8671488799
Use explicit struct initializers for AVCodec declarations.
13 years ago
Michael Niedermayer
3cb64e327a
wma: fix infinite loop
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
eb97d4d611
wmadec: avoid infinit loop.
...
Fixes ticket183
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
2e15305b70
Remove some disabled printf debug cruft.
14 years ago
Michael Niedermayer
f08d171caa
WMADEC: fix ticket125
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
05815b3545
Fix issue1503, this fix may be incomplete we need more samples to know for sure.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
7157334c37
wmadec: prevent null pointer call.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
fe2ff6d247
Separate format conversion DSP functions from DSPContext.
...
This will be beneficial for use with the audio conversion API without
requiring it to depend on all of dsputil.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit c73d99e672
)
14 years ago
Justin Ruggles
c73d99e672
Separate format conversion DSP functions from DSPContext.
...
This will be beneficial for use with the audio conversion API without
requiring it to depend on all of dsputil.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
79ce107847
cosmetics: indentation and spacing
...
(cherry picked from commit b5ec638343
)
14 years ago
Justin Ruggles
733dbe7d18
Remove the add bias hack for the C version of DSPContext.float_to_int16_*().
...
(cherry picked from commit 9d06d7bce3
)
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
Justin Ruggles
b5ec638343
cosmetics: indentation and spacing
14 years ago
Justin Ruggles
9d06d7bce3
Remove the add bias hack for the C version of DSPContext.float_to_int16_*().
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
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
Eli Friedman
c7310b7b2b
Silence warning "new qualifiers in middle of multi-level
...
non-const cast are unsafe".
Patch by Eli Friedman, eli d friedman a gmail
Originally committed as revision 24080 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
Carl Eugen Hoyos
2cbc1ec676
Fix indentation after r22414.
...
Originally committed as revision 22415 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Zhou Zongyi
d00261a34b
SIMD optimization using float_to_int16_interleave.
...
Patch by Zhou Zongyi, zhouzy A os D pku D edu D cn
Originally committed as revision 22414 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefan Gehrer
3a201bd04f
remove a Huffman table from WMA which also exists in AAC
...
Originally committed as revision 21902 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f28f146473
Flush the bitreservour.
...
Fixes issue1716
Originally committed as revision 21559 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
445a9deea6
Print error messages on errors.
...
Originally committed as revision 20757 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f78501b264
Fix apparent 10l typos introduced in r8627.
...
These typos moved the exponent pointer too far ahead.
Fixes issue1055.
Originally committed as revision 20756 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8b4a6d47b2
WMA: extend exponent range to 95
...
Hopefully this will be enough. Fixes issue 1565 (again).
Originally committed as revision 20598 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
168f92ffaa
WMA: extend exponent table up to 75
...
Fixes issue 1565.
Originally committed as revision 20593 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
0e71841b05
WMA: fix loop unrolling in decode_exp_vlc()
...
The count can be a non-multiple of 4 after all.
Originally committed as revision 20081 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
ff00b94e9d
WMA: use type punning and unroll loops in decode_exp_vlc()
...
GCC does stupid things if these assignments are done using floats
directly, so fill the runs using integer operations instead. Also
unroll the loops since the length is always a multiple of 4.
Originally committed as revision 20077 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c0d1463da7
WMA: use a table instead of pow() in decode_exp_vlc
...
Originally committed as revision 20076 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
952e872198
Drop unused args from vector_fmul_add_add, simpify code, and rename
...
The src3 and step arguments to vector_fmul_add_add() are always zero
and one, respectively. This removes these arguments from the function,
simplifies the code accordingly, and renames the function to better
match the new operation.
Originally committed as revision 20061 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
0a07e9d012
WMA: remove some unused variables
...
Originally committed as revision 20030 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
75bbed517f
Remove unused variables, fixes the warnings:
...
libavcodec/wmadec.c:629: warning: unused variable `i'
libavcodec/wmadec.c:628: warning: unused variable `b'
libavcodec/wmadec.c:628: warning: unused variable `a'
Originally committed as revision 19994 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
6044538b37
WMA: use DSPContext.butterflies_float
...
Originally committed as revision 19981 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
9970c61b4b
Introduce WMACoef typedef for decoded coefficients
...
and change default type to float so that the run level
decoding functionality can be shared with wmapro
Originally committed as revision 19231 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Sascha Sommer
c0e9b2e84f
Move run level decode functionality to ff_wma_run_level_decode
...
so that it can be reused for wmapro
Originally committed as revision 19171 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
Michael Niedermayer
110baa2e99
Remove unused variable from wma_decode_block() found by CSA.
...
Originally committed as revision 18568 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
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
29ca668f0a
Fix mid/side stereo buggy output zeroing, fixes issue264 part 2.
...
Originally committed as revision 15004 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Loren Merritt
d46ac5bfde
mdct wrapper function to match fft
...
Originally committed as revision 14703 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
0a570e826d
remove mdct tmp buffer
...
Originally committed as revision 14702 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
Michael Niedermayer
4972a2464b
indent
...
Originally committed as revision 14172 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7ee18c1781
Fix not coded channels / silence decoding.
...
Fixes issue264 WMV audio stutter
Originally committed as revision 14171 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
362aba4be7
Check that we have enough output space available.
...
Originally committed as revision 14170 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago