#include "avcodec.h"
Go to the source code of this file.
Data Structures | |
struct | MPADecodeHeader |
Defines | |
#define | MP3_MASK 0xFFFE0CCF |
#define | MPA_DECODE_HEADER |
Functions | |
int | ff_mpegaudio_decode_header (MPADecodeHeader *s, uint32_t header) |
int | ff_mpa_decode_header (AVCodecContext *avctx, uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bitrate) |
static int | ff_mpa_check_header (uint32_t header) |
Definition in file mpegaudiodecheader.h.
#define MP3_MASK 0xFFFE0CCF |
Definition at line 32 of file mpegaudiodecheader.h.
Referenced by mp3_header_compress(), and mp3_header_decompress().
#define MPA_DECODE_HEADER |
Value:
int frame_size; \ int error_protection; \ int layer; \ int sample_rate; \ int sample_rate_index; /* between 0 and 8 */ \ int bit_rate; \ int nb_channels; \ int mode; \ int mode_ext; \ int lsf;
Definition at line 34 of file mpegaudiodecheader.h.
static int ff_mpa_check_header | ( | uint32_t | header | ) | [inline, static] |
Definition at line 60 of file mpegaudiodecheader.h.
Referenced by decode_frame(), ff_mpa_decode_header(), mp3_header_compress(), mp3_header_decompress(), and mp3_parse_vbr_tags().
int ff_mpa_decode_header | ( | AVCodecContext * | avctx, | |
uint32_t | head, | |||
int * | sample_rate, | |||
int * | channels, | |||
int * | frame_size, | |||
int * | bitrate | |||
) |
Definition at line 112 of file mpegaudiodecheader.c.
Referenced by mp3_read_probe(), and mpegaudio_parse().
int ff_mpegaudio_decode_header | ( | MPADecodeHeader * | s, | |
uint32_t | header | |||
) |
Definition at line 34 of file mpegaudiodecheader.c.
Referenced by decode_frame(), ff_mpa_decode_header(), and mp3_parse_vbr_tags().