84
|
1 /* mpeg audio declarations for both encoder and decoder */
|
|
2
|
|
3 /* max frame size, in samples */
|
|
4 #define MPA_FRAME_SIZE 1152
|
0
|
5
|
|
6 /* max compressed frame size */
|
84
|
7 #define MPA_MAX_CODED_FRAME_SIZE 1792
|
0
|
8
|
|
9 #define MPA_MAX_CHANNELS 2
|
|
10
|
|
11 #define SBLIMIT 32 /* number of subbands */
|
84
|
12
|
|
13 #define MPA_STEREO 0
|
|
14 #define MPA_JSTEREO 1
|
|
15 #define MPA_DUAL 2
|
|
16 #define MPA_MONO 3
|
|
17
|
|
18 int l2_select_table(int bitrate, int nb_channels, int freq, int lsf);
|
0
|
19
|
84
|
20 const UINT16 mpa_bitrate_tab[2][3][15];
|
|
21 const UINT16 mpa_freq_tab[3];
|
|
22 extern const unsigned char *alloc_tables[5];
|
|
23 extern const double enwindow[512];
|
|
24 extern const int sblimit_table[5];
|
|
25 extern const int quant_steps[17];
|
|
26 extern const int quant_bits[17];
|
|
27 extern const INT32 mpa_enwindow[257];
|