annotate mpegaudio.h @ 329:5cc47d0ba53e libavcodec

fixed ratecontrol & b-frames 2pass ratecontrol fixed hq with 2pass inceased build num (a few more vars for the rc stuff) hopefully no new bugs
author michaelni
date Sun, 21 Apr 2002 21:18:17 +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];