X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff_plain/699b3f99d0376a8fd5159bdad857228bda59cff6..031b1cbeeb1e6234607c383341a9bac6829817c9:/libavcodec/atrac3data.h diff --git a/libavcodec/atrac3data.h b/libavcodec/atrac3data.h index 5229f2f..e71dc35 100644 --- a/libavcodec/atrac3data.h +++ b/libavcodec/atrac3data.h @@ -21,7 +21,7 @@ */ /** - * @file atrac3data.h + * @file libavcodec/atrac3data.h * Atrac 3 AKA RealAudio 8 compatible decoder data */ @@ -97,14 +97,18 @@ static const uint8_t huff_tab_sizes[7] = { 9, 5, 7, 9, 15, 31, 63, }; -static const uint8_t* huff_codes[7] = { +static const uint8_t* const huff_codes[7] = { huffcode1,huffcode2,huffcode3,huffcode4,huffcode5,huffcode6,huffcode7, }; -static const uint8_t* huff_bits[7] = { +static const uint8_t* const huff_bits[7] = { huffbits1,huffbits2,huffbits3,huffbits4,huffbits5,huffbits6,huffbits7, }; +static const uint16_t atrac3_vlc_offs[] = { + 0,512,1024,1536,2048,2560,3072,3584,4096 +}; + /* selector tables */ static const uint8_t CLCLengthTab[8] = {0, 4, 3, 3, 4, 4, 5, 6}; @@ -137,4 +141,4 @@ static const float qmf_48tap_half[24] = { /* joint stereo related tables */ static const float matrixCoeffs[8] = {0.0, 2.0, 2.0, 2.0, 0.0, 0.0, 1.0, 1.0}; -#endif +#endif /* AVCODEC_ATRAC3DATA_H */