
Go to the source code of this file.
Defines | |
| #define | MPA_FRAME_SIZE 1152 |
| #define | MPA_MAX_CODED_FRAME_SIZE 1792 |
| #define | MPA_MAX_CHANNELS 2 |
| #define | SBLIMIT 32 |
| #define | MPA_STEREO 0 |
| #define | MPA_JSTEREO 1 |
| #define | MPA_DUAL 2 |
| #define | MPA_MONO 3 |
| #define | SAME_HEADER_MASK (0xffe00000 | (3 << 17) | (0xf << 12) | (3 << 10) | (3 << 19)) |
Functions | |
| int | l2_select_table (int bitrate, int nb_channels, int freq, int lsf) |
| int | mpa_decode_header (AVCodecContext *avctx, uint32_t head) |
| static int | ff_mpa_check_header (uint32_t header) |
Variables | |
| const uint16_t | mpa_bitrate_tab [2][3][15] |
| const uint16_t | mpa_freq_tab [3] |
| const unsigned char * | alloc_tables [5] |
| const double | enwindow [512] |
| const int | sblimit_table [5] |
| const int | quant_steps [17] |
| const int | quant_bits [17] |
| const int32_t | mpa_enwindow [257] |
Definition in file mpegaudio.h.
| #define MPA_DUAL 2 |
Definition at line 18 of file mpegaudio.h.
| #define MPA_FRAME_SIZE 1152 |
Definition at line 7 of file mpegaudio.h.
Referenced by decode_frame_mp3on4(), MPA_encode_frame(), and MPA_encode_init().
| #define MPA_JSTEREO 1 |
Definition at line 17 of file mpegaudio.h.
Referenced by mp_decode_layer1(), and mp_decode_layer2().
| #define MPA_MAX_CHANNELS 2 |
Definition at line 12 of file mpegaudio.h.
Referenced by compute_bit_allocation(), decode_frame_mp3on4(), mp_decode_layer1(), mp_decode_layer2(), and MPA_encode_frame().
| #define MPA_MAX_CODED_FRAME_SIZE 1792 |
Definition at line 10 of file mpegaudio.h.
Referenced by decode_frame(), decode_frame_adu(), decode_frame_mp3on4(), MPA_encode_frame(), and mpegaudio_parse().
| #define MPA_MONO 3 |
| #define MPA_STEREO 0 |
| #define SAME_HEADER_MASK (0xffe00000 | (3 << 17) | (0xf << 12) | (3 << 10) | (3 << 19)) |
| #define SBLIMIT 32 |
Definition at line 14 of file mpegaudio.h.
| static int ff_mpa_check_header | ( | uint32_t | header | ) | [inline, static] |
Definition at line 38 of file mpegaudio.h.
Referenced by decode_frame(), decode_frame_adu(), decode_frame_mp3on4(), and mpa_decode_header().
| int l2_select_table | ( | int | bitrate, | |
| int | nb_channels, | |||
| int | freq, | |||
| int | lsf | |||
| ) |
Definition at line 1330 of file mpegaudiodec.c.
Referenced by mp_decode_layer2(), and MPA_encode_init().
| int mpa_decode_header | ( | AVCodecContext * | avctx, | |
| uint32_t | head | |||
| ) |
Definition at line 1227 of file mpegaudiodec.c.
References MPADecodeContext::bit_rate, AVCodecContext::bit_rate, AVCodecContext::channels, decode_header(), ff_mpa_check_header(), MPADecodeContext::frame_size, AVCodecContext::frame_size, MPADecodeContext::layer, MPADecodeContext::lsf, MPADecodeContext::nb_channels, s, s1, MPADecodeContext::sample_rate, AVCodecContext::sample_rate, and AVCodecContext::sub_id.
Referenced by mpegaudio_parse().

| const unsigned char* alloc_tables[5] |
Definition at line 200 of file mpegaudiodectab.h.
Referenced by decode_slice_header(), mp_decode_layer2(), MPA_encode_init(), and svq3_decode_frame().
| const double enwindow[512] |
| const uint16_t mpa_bitrate_tab[2][3][15] |
Definition at line 6 of file mpegaudiodectab.h.
Referenced by decode_header(), and MPA_encode_init().
| const int32_t mpa_enwindow[257] |
Definition at line 20 of file mpegaudiodectab.h.
Referenced by ff_mpa_synth_init(), and MPA_encode_init().
| const uint16_t mpa_freq_tab[3] |
Definition at line 16 of file mpegaudiodectab.h.
Referenced by decode_header(), and MPA_encode_init().
| const int quant_bits[17] |
Definition at line 69 of file mpegaudiodectab.h.
Referenced by encode_frame(), mp_decode_layer2(), and MPA_encode_init().
| const int quant_steps[17] |
Definition at line 61 of file mpegaudiodectab.h.
Referenced by encode_frame(), and mp_decode_layer2().
| const int sblimit_table[5] |
Definition at line 59 of file mpegaudiodectab.h.
Referenced by mp_decode_layer2(), and MPA_encode_init().
1.5.5