annotate mpegaudio.h @ 943:0566d1a8426f libavcodec

10l (int i)
author michael
date Mon, 30 Dec 2002 12:36:28 +0000
parents e2fdb793069c
children b32afefe7d33
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
1 /* mpeg audio declarations for both encoder and decoder */
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
2
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
3 /* max frame size, in samples */
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
4 #define MPA_FRAME_SIZE 1152
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
5
986e461dc072 Initial revision
glantau
parents:
diff changeset
6 /* max compressed frame size */
84
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
7 #define MPA_MAX_CODED_FRAME_SIZE 1792
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
8
986e461dc072 Initial revision
glantau
parents:
diff changeset
9 #define MPA_MAX_CHANNELS 2
986e461dc072 Initial revision
glantau
parents:
diff changeset
10
986e461dc072 Initial revision
glantau
parents:
diff changeset
11 #define SBLIMIT 32 /* number of subbands */
84
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
12
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
13 #define MPA_STEREO 0
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
14 #define MPA_JSTEREO 1
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
15 #define MPA_DUAL 2
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
16 #define MPA_MONO 3
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
17
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
18 int l2_select_table(int bitrate, int nb_channels, int freq, int lsf);
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
19
472
e2fdb793069c added missing externs
bellard
parents: 84
diff changeset
20 extern const UINT16 mpa_bitrate_tab[2][3][15];
e2fdb793069c added missing externs
bellard
parents: 84
diff changeset
21 extern const UINT16 mpa_freq_tab[3];
84
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
22 extern const unsigned char *alloc_tables[5];
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
23 extern const double enwindow[512];
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
24 extern const int sblimit_table[5];
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
25 extern const int quant_steps[17];
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
26 extern const int quant_bits[17];
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
27 extern const INT32 mpa_enwindow[257];