Diego Biurrun
b2bed9325d
cosmetics: Group .name and .long_name together in codec/format declarations
11 years ago
Luca Barbato
12576afe20
adpcm: Write the correct number of samples for ima-dk4
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Paul B Mahol
6516a25f04
ADPCM IMA WAV 2, 3 and 5 bits decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
James Almer
67fad0d221
ADPCM IMA Radical decoder
...
Signed-off-by: James Almer <jamrial@gmail.com>
12 years ago
James Almer
22c7784f60
adpcm_thp: Allow the use of extradata for the adpcm table
...
There are several containers that support adpcm_thp (Also known as Gamecube DSP)
streams, but only thp files contain the coeff table and previous sample inside
each frame.
Some don't even contain previous sample information at all.
This change will make it easier to implement demuxers for said containers
without having to create a new decoder.
Signed-off-by: James Almer <jamrial@gmail.com>
12 years ago
James Almer
e7814ed839
ADPCM DTK decoder
...
Signed-off-by: James Almer <jamrial@gmail.com>
12 years ago
Paul B Mahol
aa96439fae
lavc: remove unused put_bits.h headers
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
ac9362c5d9
Move misplaced file author information where it belongs
12 years ago
Paul B Mahol
a9b424879f
lavc & lavf: replace deprecated av_log* functions
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
1ec94b0f06
lavc: factorize ff_{thread_,re,}get_buffer error messages.
...
Coccinelle profile used:
@@
expression r, ctx, f, loglevel, str, flags;
@@
-if ((r = ff_get_buffer(ctx, f, flags)) < 0) {
- av_log(ctx, loglevel, str);
- return r;
-}
+if ((r = ff_get_buffer(ctx, f, flags)) < 0)
+ return r;
@@
expression r, ctx, f, loglevel, str;
@@
-if ((r = ff_reget_buffer(ctx, f)) < 0) {
- av_log(ctx, loglevel, str);
- return r;
-}
+if ((r = ff_reget_buffer(ctx, f)) < 0)
+ return r;
@@
expression r, ctx, f, loglevel, str, flags;
@@
-if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) {
- av_log(ctx, loglevel, str);
- return r;
-}
+if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0)
+ return r;
...along with some manual patches for the remaining ones.
12 years ago
Anton Khirnov
759001c534
lavc decoders: work with refcounted frames.
12 years ago
Justin Ruggles
e57daa876b
adpcm: decode directly to the user-provided AVFrame
12 years ago
Michael Niedermayer
f18c873ab5
adpcm: fix off by 1 error and out of array access in DK4
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
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
Paul B Mahol
d4c59f77b6
adpcm/thp: cosmetics: reindent
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
51d6879939
AFC demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
67be7fb432
adpcm: thp, afc: support multichannel decoding
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
7d2156aee8
adpcm/thp: make use of ADPCMChannelStatus to store prev samples
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
807fa714f0
adpcmdec: Fix OOM/infloop
...
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
3d8e684f05
ADPCM IMA Dialogic decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
32cd3a7c16
ADPCM AFC decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
0cbb31a264
adpcm: reindent after previous commit
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
e8a9b1a1a0
adpcm: ADPCM IMA SMJPEG stereo decoding
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
08101e62cb
adpcm: improve smjpeg decoding
...
Previous version had significant artifacts.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
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_*
13 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
Paul B Mahol
98ca4d217d
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: Michael Niedermayer <michaelni@gmx.at>
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