Anton Khirnov
594d4d5df3
lavc: add a wrapper for AVCodecContext.get_buffer().
...
It will be useful in the upcoming transition to refcounted AVFrames.
12 years ago
Justin Ruggles
4ebd74cec7
adpcmdec: use planar sample format for adpcm_thp
12 years ago
Justin Ruggles
327cdb04e3
adpcmdec: use planar sample format for adpcm_ea_xas
12 years ago
Justin Ruggles
da9620e8e5
adpcmdec: use planar sample format for adpcm_ea_r1/r2/r3
12 years ago
Justin Ruggles
d2b6ae02aa
adpcmdec: use planar sample format for adpcm_xa
12 years ago
Justin Ruggles
8b854283c3
adpcmdec: use planar sample format for adpcm_ima_ws for vqa version 3
12 years ago
Justin Ruggles
4356d66d78
adpcmdec: use planar sample format for adpcm_4xm
12 years ago
Justin Ruggles
1b9ac72908
adpcmdec: use planar sample format for adpcm_ima_wav
12 years ago
Justin Ruggles
176db0b892
adpcmdec: use planar sample format for adpcm_ima_qt
12 years ago
Justin Ruggles
bfcd4b6a16
adpcmdec: set AVCodec.sample_fmts
12 years ago
Diego Biurrun
6f6b0311a3
avcodec: Drop some silly commented-out av_log() invocations
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Mans Rullgard
a812ed003f
adpcm-thp: fix invalid array indexing
...
Indexing outside array limits is invalid and breaks with gcc 4.8.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Paul B Mahol
55abaa58e5
westwood_vqa: fix SND0 chunk handling
...
Version from vqa header does not dictate which sound chunks may
appear in file.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Ronald S. Bultje
1744ab9e46
adpcm: convert adpcm_thp to bytestream2.
13 years ago
Ronald S. Bultje
72eda7786d
adpcm: convert adpcm_yamaha to bytestream2.
13 years ago
Ronald S. Bultje
f184735a27
adpcm: convert adpcm_swf to bytestream2.
13 years ago
Ronald S. Bultje
8afe2f9002
adpcm: convert adpcm_sbpro to bytestream2.
13 years ago
Ronald S. Bultje
834c81f4c5
adpcm: convert adpcm_ct to bytestream2.
13 years ago
Ronald S. Bultje
b3084e29e6
adpcm: convert adpcm_ima_amv/smjpeg to bytestream2.
13 years ago
Ronald S. Bultje
22c48d399d
adpcm: convert adpcm_ea_xas to bytestream2.
13 years ago
Ronald S. Bultje
edd9555537
adpcm: convert adpcm_ea_r1/2/3 to bytestream2.
13 years ago
Ronald S. Bultje
e60d09918c
adpcm: convert ea_maxis_xa to bytestream2.
13 years ago
Ronald S. Bultje
4a876eba8d
adpcm: convert adpcm_ea to bytestream2.
13 years ago
Ronald S. Bultje
524af484ed
adpcm convert adpcm_ima_ea_sead to bytestream2.
13 years ago
Ronald S. Bultje
8f2ed09289
adpcm: convert adpcm_ima_ea_eacs to bytestream2.
13 years ago
Ronald S. Bultje
159831cc09
adpcm: convert adpcm_xa to bytestream2.
13 years ago
Ronald S. Bultje
16b7a5e241
adpcm: convert ima_ws to bytestream2.
13 years ago
Ronald S. Bultje
74d7ac95fb
adpcm: convert adpcm_ima_apc to bytestream2.
13 years ago
Ronald S. Bultje
9721901440
adpcm: convert adpcm_ima_iss to bytestream2.
13 years ago
Ronald S. Bultje
1da9587026
adpcm: convert adpcm_dk3 to bytestream2.
13 years ago
Ronald S. Bultje
d570a96808
adpcm: convert adpcm_dk4 to bytestream2.
13 years ago
Ronald S. Bultje
5353ee3c30
adpcm: convert adpcm_ms to bytestream2.
13 years ago
Ronald S. Bultje
89f3aa8ce2
adpcm: use av_clip() in adpcm_ima_expand_nibble().
13 years ago
Ronald S. Bultje
689be85a9a
adpcm: convert adpcm_4xm to bytestream2.
13 years ago
Ronald S. Bultje
39505f4240
adpcm: convert adpcm_ima_wav to bytestream2.
13 years ago
Ronald S. Bultje
9604307dd8
adpcm: convert adpcm_ima_qt to bytestream2.
13 years ago
Ronald S. Bultje
c346f6304c
adpcm: fix nb_samples rounding for adpcm_ima_dk3, and update reference.
13 years ago
Ronald S. Bultje
86020073db
xa_adpcm: limit filter to prevent xa_adpcm_table[] array bounds overruns.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Alex Converse
bbeb29133b
adpcm: Clip step_index values read from the bitstream at the beginning of each frame.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
13 years ago
Justin Ruggles
02e7dbf5ad
adpcm_ima_ws: fix stereo decoding
...
Stereo ADPCM IMA WS is planar for VQA version 3 and 2-sample interleaved for
VQA version 2.
13 years ago
Justin Ruggles
220506d23f
avcodec: add a new codec_id for CRYO APC IMA ADPCM.
...
The stereo layout and extradata is significantly different from that in
Westwood IMA ADPCM, so a separate codec_id is warranted.
13 years ago
Janne Grunau
bb5b3940b0
adpcm: ADPCM Electronic Arts has always two channels
13 years ago
Paul B Mahol
01a01bf8bd
adpcm: fix IMA SMJPEG decoding
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Shitiz Garg
e614fac2e6
adpcm: Check for channels to be a non-zero integer
...
channels would be 0 sometimes and would cause floating point exception
Fixes bugzilla #124
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
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
Mans Rullgard
c8477df019
adpcm: use sign_extend()
...
This avoids warnings from the overflow checker and simplifies the code.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Justin Ruggles
a62c0f94ee
adpcmdec: calculate actual number of output samples for each decoder.
...
This also allows for removing some of the buf_size checks and using the
sample count for some of the decoding loops.
13 years ago
Justin Ruggles
439998e18b
adpcmdec: check remaining buffer size before decoding next block in the
...
ADPCM IMA WAV decoder.
13 years ago
Justin Ruggles
ff5790c761
adpcmdec: do not terminate early in ADPCM IMA Duck DK3 decoder.
...
There are still 2 nibbles to decode once the last byte in the packet has been
read. Updated FATE reference.
13 years ago