FFmpeg
Classes | Macros | Typedefs | Functions
mpegaudiodecheader.h File Reference

MPEG Audio header decoder. More...

#include "avcodec.h"

Go to the source code of this file.

Classes

struct  MPADecodeHeader
 

Macros

#define MP3_MASK   0xFFFE0CCF
 
#define MPA_DECODE_HEADER
 

Typedefs

typedef struct MPADecodeHeader MPADecodeHeader
 

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)
 

Detailed Description

MPEG Audio header decoder.

Macro Definition Documentation

§ MPA_DECODE_HEADER

#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;
mode
Use these values in ebur128_init (or'ed).
Definition: ebur128.h:83