|
FFmpeg
|
mpeg audio declarations for both encoder and decoder. More...
Go to the source code of this file.
Macros | |
| #define | USE_FLOATS 0 |
| #define | MPA_FRAME_SIZE 1152 |
| #define | MPA_MAX_CODED_FRAME_SIZE 1792 |
| #define | MP3_DECODER_DELAY (528 + 1) |
| Delay of the layer III synthesis filterbank, in samples. | |
| #define | MPA_MAX_CHANNELS 2 |
| #define | SBLIMIT 32 /* number of subbands */ |
| #define | MPA_STEREO 0 |
| #define | MPA_JSTEREO 1 |
| #define | MPA_DUAL 2 |
| #define | MPA_MONO 3 |
| #define | FRAC_BITS 23 /* fractional bits for sb_samples and dct */ |
| #define | WFRAC_BITS 16 /* fractional bits for window */ |
| #define | IMDCT_SCALAR 1.759 |
| #define | FRAC_ONE (1 << FRAC_BITS) |
| #define | FIX(a) |
| #define | INTFLOAT int |
| #define | SUINTFLOAT SUINT |
Typedefs | |
| typedef int16_t | MPA_INT |
| typedef int16_t | OUT_INT |
Functions | |
| int | ff_mpa_l2_select_table (int bitrate, int nb_channels, int freq, int lsf) |
mpeg audio declarations for both encoder and decoder.
Definition in file mpegaudio.h.
| #define USE_FLOATS 0 |
Definition at line 30 of file mpegaudio.h.
| #define MPA_FRAME_SIZE 1152 |
Definition at line 37 of file mpegaudio.h.
Referenced by mpa_encode_init(), and qdm2_decode_init().
| #define MPA_MAX_CODED_FRAME_SIZE 1792 |
Definition at line 40 of file mpegaudio.h.
Referenced by mp3_read_header(), and twolame_encode_frame().
| #define MP3_DECODER_DELAY (528 + 1) |
Delay of the layer III synthesis filterbank, in samples.
The LAME tag and iTunSMPB store the encoder delay and padding without it.
Definition at line 46 of file mpegaudio.h.
Referenced by libshine_encode_init(), mp3_parse_info_tag(), mp3_parse_itunes_smpb(), mp3_update_xing(), mp3_write_audio_packet(), and mp3lame_encode_init().
| #define MPA_MAX_CHANNELS 2 |
Definition at line 48 of file mpegaudio.h.
Referenced by compute_bit_allocation(), encode_frame(), encode_subbands(), mp_decode_layer1(), mp_decode_layer2(), mpa_encode_frame(), and qdm2_decode_init().
| #define SBLIMIT 32 /* number of subbands */ |
Definition at line 50 of file mpegaudio.h.
Referenced by compute_antialias(), compute_bit_allocation(), compute_imdct(), compute_scale_factors(), encode_frame(), encode_subbands(), imdct36(), mp_decode_layer1(), mp_decode_layer2(), mpa_encode_frame(), psycho_acoustic_model(), and qdm2_synthesis_filter().
| #define MPA_STEREO 0 |
Definition at line 52 of file mpegaudio.h.
Referenced by encode_frame(), and mp3_write_xing().
| #define MPA_JSTEREO 1 |
Definition at line 53 of file mpegaudio.h.
Referenced by mp_decode_layer1(), mp_decode_layer2(), and mp_decode_layer3().
| #define MPA_DUAL 2 |
Definition at line 54 of file mpegaudio.h.
| #define MPA_MONO 3 |
Definition at line 55 of file mpegaudio.h.
Referenced by encode_frame(), ff_mpegaudio_decode_header(), and mp3_write_xing().
Definition at line 58 of file mpegaudio.h.
Definition at line 59 of file mpegaudio.h.
Referenced by mpa_encode_init().
| #define IMDCT_SCALAR 1.759 |
Definition at line 62 of file mpegaudio.h.
Referenced by mpadsp_init_tabs(), mpegaudio_tableinit(), and mpegaudiodec_common_tableinit().
| #define FRAC_ONE (1 << FRAC_BITS) |
Definition at line 64 of file mpegaudio.h.
Referenced by decode_init_static(), gen_image(), int_cos(), int_cos(), and main().
| #define FIX | ( | a | ) |
Definition at line 66 of file mpegaudio.h.
| #define INTFLOAT int |
Definition at line 74 of file mpegaudio.h.
| #define SUINTFLOAT SUINT |
Definition at line 75 of file mpegaudio.h.
| typedef int16_t MPA_INT |
Definition at line 76 of file mpegaudio.h.
| typedef int16_t OUT_INT |
Definition at line 77 of file mpegaudio.h.
| int ff_mpa_l2_select_table | ( | int | bitrate, |
| int | nb_channels, | ||
| int | freq, | ||
| int | lsf ) |
Definition at line 31 of file mpegaudio.c.
Referenced by mp_decode_layer2(), and mpa_encode_init().