Statistics
| Branch: | Revision:

ffmpeg / libavcodec / mpegaudio.h @ 11e29a41

History | View | Annotate | Download (764 Bytes)

1 983e3246 Michael Niedermayer
/**
2
 * @file mpegaudio.h
3
 * mpeg audio declarations for both encoder and decoder.
4
 */
5 2456e28d Fabrice Bellard
6
/* max frame size, in samples */
7
#define MPA_FRAME_SIZE 1152 
8 de6d9b64 Fabrice Bellard
9
/* max compressed frame size */
10 2456e28d Fabrice Bellard
#define MPA_MAX_CODED_FRAME_SIZE 1792
11 de6d9b64 Fabrice Bellard
12
#define MPA_MAX_CHANNELS 2
13
14
#define SBLIMIT 32 /* number of subbands */
15
16 2456e28d Fabrice Bellard
#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 de6d9b64 Fabrice Bellard
23 0c1a9eda Zdenek Kabelac
extern const uint16_t mpa_bitrate_tab[2][3][15];
24
extern const uint16_t mpa_freq_tab[3];
25 2456e28d Fabrice Bellard
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 0c1a9eda Zdenek Kabelac
extern const int32_t mpa_enwindow[257];