Statistics
| Branch: | Revision:

ffmpeg / libavcodec / mpegaudio.h @ 983e3246

History | View | Annotate | Download (764 Bytes)

1
/**
2
 * @file mpegaudio.h
3
 * mpeg audio declarations for both encoder and decoder.
4
 */
5

    
6
/* max frame size, in samples */
7
#define MPA_FRAME_SIZE 1152 
8

    
9
/* max compressed frame size */
10
#define MPA_MAX_CODED_FRAME_SIZE 1792
11

    
12
#define MPA_MAX_CHANNELS 2
13

    
14
#define SBLIMIT 32 /* number of subbands */
15

    
16
#define MPA_STEREO  0
17
#define MPA_JSTEREO 1
18
#define MPA_DUAL    2
19
#define MPA_MONO    3
20

    
21
int l2_select_table(int bitrate, int nb_channels, int freq, int lsf);
22

    
23
extern const uint16_t mpa_bitrate_tab[2][3][15];
24
extern const uint16_t mpa_freq_tab[3];
25
extern const unsigned char *alloc_tables[5];
26
extern const double enwindow[512];
27
extern const int sblimit_table[5];
28
extern const int quant_steps[17];
29
extern const int quant_bits[17];
30
extern const int32_t mpa_enwindow[257];