[FFmpeg-devel] [PATCH v3 1/2] avcodec: add support for Cunning Developments' ADPCM
Michael Niedermayer
michael at niedermayer.cc
Mon Mar 23 20:24:27 EET 2020
On Thu, Mar 19, 2020 at 12:00:20PM +0000, Zane van Iperen wrote:
[...]
> index 4cce0a5857..a1f6966c75 100644
> --- a/libavcodec/adpcm_data.c
> +++ b/libavcodec/adpcm_data.c
> @@ -177,3 +177,16 @@ const int16_t ff_adpcm_mtaf_stepsize[32][16] = {
> { 424, 1273, 2121, 2970, 3819, 4668, 5516, 6365,
> -424, -1273, -2121, -2970, -3819, -4668, -5516, -6365, },
> };
> +
> +const int16_t ff_adpcm_ima_cunning_index_table[8] = {
> + -1, -1, -1, -1, 1, 2, 3, 4,
> +};
this could be int8_t
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200323/7010d5ec/attachment.sig>
More information about the ffmpeg-devel
mailing list