FFmpeg
|
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 | 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) ((int)((a) * FRAC_ONE)) |
#define | INTFLOAT int |
#define | SUINTFLOAT SUINT |
Typedefs | |
typedef int32_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.
#define MPA_MAX_CODED_FRAME_SIZE 1792 |
Definition at line 40 of file mpegaudio.h.
#define MPA_MAX_CHANNELS 2 |
Definition at line 42 of file mpegaudio.h.
#define SBLIMIT 32 /* number of subbands */ |
Definition at line 44 of file mpegaudio.h.
#define MPA_STEREO 0 |
Definition at line 46 of file mpegaudio.h.
#define MPA_JSTEREO 1 |
Definition at line 47 of file mpegaudio.h.
#define MPA_DUAL 2 |
Definition at line 48 of file mpegaudio.h.
#define MPA_MONO 3 |
Definition at line 49 of file mpegaudio.h.
Definition at line 52 of file mpegaudio.h.
Definition at line 53 of file mpegaudio.h.
#define IMDCT_SCALAR 1.759 |
Definition at line 56 of file mpegaudio.h.
#define FRAC_ONE (1 << FRAC_BITS) |
Definition at line 58 of file mpegaudio.h.
Definition at line 60 of file mpegaudio.h.
#define INTFLOAT int |
Definition at line 73 of file mpegaudio.h.
#define SUINTFLOAT SUINT |
Definition at line 74 of file mpegaudio.h.
Definition at line 75 of file mpegaudio.h.
typedef int16_t OUT_INT |
Definition at line 76 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().