FFmpeg
|
MPEG Audio header decoder. More...
#include "avcodec.h"
Go to the source code of this file.
Data Structures | |
struct | MPADecodeHeader |
Macros | |
#define | MP3_MASK 0xFFFE0CCF |
#define | MPA_DECODE_HEADER |
Functions | |
int | avpriv_mpegaudio_decode_header (MPADecodeHeader *s, uint32_t header) |
int | ff_mpa_decode_header (uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bitrate, enum AVCodecID *codec_id) |
int | avpriv_mpa_decode_header (AVCodecContext *avctx, uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bitrate) |
int | avpriv_mpa_decode_header2 (uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bitrate, enum AVCodecID *codec_id) |
static int | ff_mpa_check_header (uint32_t header) |
MPEG Audio header decoder.
Definition in file mpegaudiodecheader.h.
#define MP3_MASK 0xFFFE0CCF |
Definition at line 32 of file mpegaudiodecheader.h.
Referenced by mp3_header_decompress().
#define MPA_DECODE_HEADER |
Definition at line 34 of file mpegaudiodecheader.h.
int avpriv_mpegaudio_decode_header | ( | MPADecodeHeader * | s, |
uint32_t | header | ||
) |
Definition at line 36 of file mpegaudiodecheader.c.
Referenced by check(), decode_frame(), ff_mpa_decode_header(), libshine_encode_frame(), mp3_parse_vbr_tags(), mp3_read_probe(), mp3_write_audio_packet(), mp3_write_xing(), and mp3lame_encode_frame().
int ff_mpa_decode_header | ( | uint32_t | head, |
int * | sample_rate, | ||
int * | channels, | ||
int * | frame_size, | ||
int * | bitrate, | ||
enum AVCodecID * | codec_id | ||
) |
Definition at line 122 of file mpegaudiodecheader.c.
Referenced by avpriv_mpa_decode_header(), avpriv_mpa_decode_header2(), ffat_create_decoder(), and mpegaudio_parse().
int avpriv_mpa_decode_header | ( | AVCodecContext * | avctx, |
uint32_t | head, | ||
int * | sample_rate, | ||
int * | channels, | ||
int * | frame_size, | ||
int * | bitrate | ||
) |
Definition at line 162 of file mpegaudiodecheader.c.
int avpriv_mpa_decode_header2 | ( | uint32_t | head, |
int * | sample_rate, | ||
int * | channels, | ||
int * | frame_size, | ||
int * | bitrate, | ||
enum AVCodecID * | codec_id | ||
) |
Definition at line 157 of file mpegaudiodecheader.c.
|
inlinestatic |
Definition at line 66 of file mpegaudiodecheader.h.
Referenced by avpriv_mpegaudio_decode_header(), check(), and mp3_header_decompress().