All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mpegaudiodecheader.h File Reference

MPEG Audio header decoder. More...

#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  MPADecodeHeader


#define MP3_MASK   0xFFFE0CCF


int avpriv_mpegaudio_decode_header (MPADecodeHeader *s, uint32_t header)
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)

Detailed Description

MPEG Audio header decoder.

Definition in file mpegaudiodecheader.h.

Macro Definition Documentation

#define MP3_MASK   0xFFFE0CCF

Definition at line 32 of file mpegaudiodecheader.h.

Referenced by mp3_header_decompress().

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: f_perms.c:27
int frame_size
Definition: mxfenc.c:1805
int nb_channels

Definition at line 34 of file mpegaudiodecheader.h.

Function Documentation

int avpriv_mpegaudio_decode_header ( MPADecodeHeader s,
uint32_t  header 
int avpriv_mpa_decode_header ( AVCodecContext avctx,
uint32_t  head,
int *  sample_rate,
int *  channels,
int *  frame_size,
int *  bitrate 

Definition at line 153 of file mpegaudiodecheader.c.

Referenced by mp3_read_probe().

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 116 of file mpegaudiodecheader.c.

Referenced by avpriv_mpa_decode_header(), and mpegaudio_parse().

static int ff_mpa_check_header ( uint32_t  header)