Statistics
| Branch: | Revision:

ffmpeg / libavcodec / mpegaudio.h @ 5917d17c

History | View | Annotate | Download (731 Bytes)

1 2456e28d Fabrice Bellard
/* mpeg audio declarations for both encoder and decoder */
2
3
/* max frame size, in samples */
4
#define MPA_FRAME_SIZE 1152 
5 de6d9b64 Fabrice Bellard
6
/* max compressed frame size */
7 2456e28d Fabrice Bellard
#define MPA_MAX_CODED_FRAME_SIZE 1792
8 de6d9b64 Fabrice Bellard
9
#define MPA_MAX_CHANNELS 2
10
11
#define SBLIMIT 32 /* number of subbands */
12
13 2456e28d Fabrice Bellard
#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);
19 de6d9b64 Fabrice Bellard
20 6d5bf534 Fabrice Bellard
extern const UINT16 mpa_bitrate_tab[2][3][15];
21
extern const UINT16 mpa_freq_tab[3];
22 2456e28d Fabrice Bellard
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];