Merge commit 'svn/origin' into devel
[cinelerra_cv/ct.git] / libmpeg3 / audio / tables.h
blob27ba9d014d5bf9c51d7196cfc59b5a80ee55a76c
1 #ifndef TABLES_H
2 #define TABLES_H
4 extern int mpeg3_tabsel_123[2][3][16];
6 extern long mpeg3_freqs[9];
8 struct mpeg3_bandInfoStruct
10 int longIdx[23];
11 int longDiff[22];
12 int shortIdx[14];
13 int shortDiff[13];
17 extern float mpeg3_decwin[512 + 32];
18 extern float mpeg3_cos64[16], mpeg3_cos32[8], mpeg3_cos16[4], mpeg3_cos8[2], mpeg3_cos4[1];
20 extern float *mpeg3_pnts[5];
22 extern int mpeg3_grp_3tab[32 * 3]; /* used: 27 */
23 extern int mpeg3_grp_5tab[128 * 3]; /* used: 125 */
24 extern int mpeg3_grp_9tab[1024 * 3]; /* used: 729 */
25 extern float mpeg3_muls[27][64]; /* also used by layer 1 */
26 extern float mpeg3_gainpow2[256 + 118 + 4];
27 extern long mpeg3_intwinbase[257];
28 extern float mpeg3_ispow[8207];
29 extern float mpeg3_aa_ca[8], mpeg3_aa_cs[8];
30 extern float mpeg3_win[4][36];
31 extern float mpeg3_win1[4][36];
32 extern float mpeg3_COS1[12][6];
33 extern float mpeg3_COS9[9];
34 extern float mpeg3_COS6_1, mpeg3_COS6_2;
35 extern float mpeg3_tfcos36[9];
36 extern float mpeg3_tfcos12[3];
37 extern float mpeg3_cos9[3], mpeg3_cos18[3];
38 extern float mpeg3_tan1_1[16], mpeg3_tan2_1[16], mpeg3_tan1_2[16], mpeg3_tan2_2[16];
39 extern float mpeg3_pow1_1[2][16], mpeg3_pow2_1[2][16], mpeg3_pow1_2[2][16], mpeg3_pow2_2[2][16];
41 extern int mpeg3_longLimit[9][23];
42 extern int mpeg3_shortLimit[9][14];
44 extern struct mpeg3_bandInfoStruct mpeg3_bandInfo[9];
46 extern int mpeg3_mapbuf0[9][152];
47 extern int mpeg3_mapbuf1[9][156];
48 extern int mpeg3_mapbuf2[9][44];
49 extern int *mpeg3_map[9][3];
50 extern int *mpeg3_mapend[9][3];
52 extern unsigned int mpeg3_n_slen2[512]; /* MPEG 2.0 slen for 'normal' mode */
53 extern unsigned int mpeg3_i_slen2[256]; /* MPEG 2.0 slen for intensity stereo */
55 #endif