annotate mpegaudio.h @ 419:b71190bacce8 libavcodec

applied 64bit patch from Ulrich Hecht <uli at suse dot de>
author alex
date Thu, 23 May 2002 15:33:23 +0000
parents 608c7f964bca
children e2fdb793069c
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
84
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
20 const UINT16 mpa_bitrate_tab[2][3][15];
608c7f964bca merged code and tables between encoder and decoder
glantau
parents: 64
diff changeset
21 const UINT16 mpa_freq_tab[3];
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];