Showing the changes to libavcodec/dcadata.c (1 of 361 files). Show all
Unified · Split
| @@ -47,7 +47,7 @@ const uint8_t ff_dca_bits_per_sample[7] = { · 46 unmodified lines | |||
| 47 | 47 | ||
| 48 | /* ADPCM data */ | 48 | /* ADPCM data */ |
| 49 | 49 | ||
| 50 | /* 16bits signed fractional Q13 binary codes */ | 50 | /* 16 bits signed fractional Q13 binary codes */ |
| 51 | const int16_t ff_dca_adpcm_vb[4096][4] = { | 51 | const int16_t ff_dca_adpcm_vb[4096][4] = { |
| 52 | { 9928, -2618, -1093, -1263 }, | 52 | { 9928, -2618, -1093, -1263 }, |
| 53 | { 11077, -2876, -1747, -308 }, | 53 | { 11077, -2876, -1747, -308 }, |
| @@ -4179,7 +4179,7 @@ const uint32_t ff_dca_scale_factor_quant7[128] = { · 4125 unmodified lines | |||
| 4179 | 5011872, 5688529, 6456542, 7328245, 8317638, 0, 0, 0 | 4179 | 5011872, 5688529, 6456542, 7328245, 8317638, 0, 0, 0 |
| 4180 | }; | 4180 | }; |
| 4181 | 4181 | ||
| 4182 | /* 20bits unsigned fractional binary codes */ | 4182 | /* 20 bits unsigned fractional binary codes */ |
| 4183 | const uint32_t ff_dca_lossy_quant[32] = { | 4183 | const uint32_t ff_dca_lossy_quant[32] = { |
| 4184 | 0, 6710886, 4194304, 3355443, 2474639, 2097152, 1761608, 1426063, | 4184 | 0, 6710886, 4194304, 3355443, 2474639, 2097152, 1761608, 1426063, |
| 4185 | 796918, 461373, 251658, 146801, 79692, 46137, 27263, 16777, | 4185 | 796918, 461373, 251658, 146801, 79692, 46137, 27263, 16777, |
| @@ -4187,7 +4187,7 @@ const uint32_t ff_dca_lossy_quant[32] = { · 1 unmodified line | |||
| 4187 | 84, 42, 21, 0, 0, 0, 0, 0 | 4187 | 84, 42, 21, 0, 0, 0, 0, 0 |
| 4188 | }; | 4188 | }; |
| 4189 | 4189 | ||
| 4190 | /* 20bits unsigned fractional binary codes */ | 4190 | /* 20 bits unsigned fractional binary codes */ |
| 4191 | const uint32_t ff_dca_lossless_quant[32] = { | 4191 | const uint32_t ff_dca_lossless_quant[32] = { |
| 4192 | 0, 4194304, 2097152, 1384120, 1048576, 696254, 524288, 348127, | 4192 | 0, 4194304, 2097152, 1384120, 1048576, 696254, 524288, 348127, |
| 4193 | 262144, 131072, 65431, 33026, 16450, 8208, 4100, 2049, | 4193 | 262144, 131072, 65431, 33026, 16450, 8208, 4100, 2049, |