Martin Storsjö
9cf0841ef3
dsputil: Add ff_ prefix to the dsputil*_init* functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
aaf47bcde7
Drop ALT_ prefix from BITSTREAM_READER_LE name.
...
The prefix is a historic remnant that probably meant "alternative".
Now that the A32 bitstream reader has been dropped it makes no sense anymore.
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
9cb70ce34b
ra288: fix formatting of LOCAL_ALIGNED_16
13 years ago
Michael Niedermayer
11e155c219
ra288: try to fix 10l typo that breaks compile on some platforms
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
2467d8d9ea
ra288: return error if input buffer is too small
13 years ago
Justin Ruggles
0131e70af5
ra288: utilize DSPContext.vector_fmul()
13 years ago
Justin Ruggles
03e5d6118c
ra288: use memcpy() to copy decoded samples to output
13 years ago
Justin Ruggles
8f8f5ae991
ra288: log an error message when output buffer is too small.
...
also return AVERROR(EINVAL) instead of -1.
13 years ago
Justin Ruggles
fa6be04bf7
ra288: use a more descriptive calculation for output data size
13 years ago
Diego Biurrun
8671488799
Use explicit struct initializers for AVCodec declarations.
13 years ago
Michael Niedermayer
aae1c247b1
ra288: avoid one multiply
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
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
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
Måns Rullgård
0b37cccaab
ra288: convert VLAs to fixed size
...
Originally committed as revision 23832 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
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
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
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
Vitor Sessak
66d4c62806
Do not reimplement ff_celp_lp_synthesis_filterf().
...
Originally committed as revision 17562 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
08c433972e
Use ff_dot_productf() in ra288.c
...
Originally committed as revision 15757 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
d552d04dc9
Simplify: avoid duplication backward_filter()
...
Originally committed as revision 15428 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
64e4af2ac1
Do instead of divising a float by a constant, multiply by its inverse
...
Originally committed as revision 15417 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
b6c7758168
Move constant multiplication out of the loop
...
Originally committed as revision 15404 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
e60daa340b
Cosmetics: move convolve() together with the other DSP functions
...
Originally committed as revision 15403 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
a987a126fd
Simplify: move division by constant off the loop
...
Originally committed as revision 15402 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
645a6be1e7
Merge the 2 lpc loops.
...
This changes the output by (stddev: 0.21 PSNR:109.51, file:ddinterview28.ra),
the changes are due to float rounding inaccuracies and do not happen if doubles
are used.
Originally committed as revision 15394 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
571bbaf814
Factorize lpc code slightly.
...
Originally committed as revision 15393 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
faf6d6964b
Use SAMPLE_FMT_FLT instead of doing the float->int conversion in the
...
decoder. This changes the output very little and any difference should
be inaudible.
Originally committed as revision 15343 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
9547cadb8d
Cosmetics: line breaks
...
Originally committed as revision 15308 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
111734de09
Simplify: use a single history buffer for gain and a single one for
...
speech instead of having two for each in the context.
Originally committed as revision 15307 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
9c10ab6cd1
Cosmetics: align spec references
...
Originally committed as revision 15300 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
5381a00a2b
Rename function: s/colmult/apply_window/
...
Originally committed as revision 15299 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
36b3e36e00
misc spelling/wording/grammar fixes
...
Originally committed as revision 15296 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
fd8897e803
Convert table to integer.
...
Originally committed as revision 15292 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
1be0fc2909
Avoid duplicating compute_lpc_coefs() function in both the RA288 and AAC decoders.
...
Originally committed as revision 15193 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
8089c652a7
Check *data_size in decode_frame()
...
Originally committed as revision 14636 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5991704634
Cosmetics: alignment
...
Originally committed as revision 14635 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
e3751aa6ec
Flip (by making buf[i] -> buf[size-i-1]) two buffers: {sp,gain}_block. This
...
needs duplicating a few loops, but now the code is clearer.
Originally committed as revision 14634 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
6888b4fcec
Rename prodsum() function to convolve()
...
Originally committed as revision 14615 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
Vitor Sessak
4ca7e74c1f
Do not declare a counter as unsigned when it is not needed
...
Originally committed as revision 14469 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
4e33ed368a
Cosmetics: rename loop counter vars to i,j
...
Originally committed as revision 14468 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
045e21cc19
Cosmetics: new line
...
Originally committed as revision 14457 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
e7e4f476c0
Remove the now useless phase variable from context
...
Originally committed as revision 14456 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
c749f3db98
Cosmetics: make comment match var name
...
Originally committed as revision 14454 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
6509507fad
Cosmetics: align comments
...
Originally committed as revision 14453 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
f285e6dd31
Rename two context vars: s/sb/sp_block/, s/lhist/gain_block/
...
Originally committed as revision 14452 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago