diff options
Diffstat (limited to 'apps/codecs/libatrac/atrac3data_fixed.h')
-rw-r--r-- | apps/codecs/libatrac/atrac3data_fixed.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/codecs/libatrac/atrac3data_fixed.h b/apps/codecs/libatrac/atrac3data_fixed.h index f0924a5190..d73ded35f9 100644 --- a/apps/codecs/libatrac/atrac3data_fixed.h +++ b/apps/codecs/libatrac/atrac3data_fixed.h | |||
@@ -80,3 +80,15 @@ static const int32_t matrixCoeffs_fix[8] ICONST_ATTR = { | |||
80 | 0x00000000, 0x00000000, 0x00010000, 0x00010000, | 80 | 0x00000000, 0x00000000, 0x00010000, 0x00010000, |
81 | }; | 81 | }; |
82 | 82 | ||
83 | /* channelWeights0[i] = ONE_16 * ((i & 7)/7) */ | ||
84 | static const int32_t channelWeights0[8] ICONST_ATTR = { | ||
85 | 0x00000000, 0x00002492, 0x00004925, 0x00006DB7, | ||
86 | 0x00009249, 0x0000B6DB, 0x0000DB6D, 0x00010000, | ||
87 | }; | ||
88 | |||
89 | /* channelWeights1[i] = ONE_16 * sqrt(2-channelWeights0^2) */ | ||
90 | static const int32_t channelWeights1[8] ICONST_ATTR = { | ||
91 | 0x00016A0A, 0x00016830, 0x00016293, 0x00015904, | ||
92 | 0x00014B2B, 0x00013877, 0x00011FF7, 0x00010000, | ||
93 | }; | ||
94 | |||