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

MPEG Audio header decoder. More...

#include "libavutil/common.h"
#include "avcodec.h"
#include "internal.h"
#include "mpegaudio.h"
#include "mpegaudiodata.h"
#include "mpegaudiodecheader.h"

Go to the source code of this file.

Functions

int avpriv_mpegaudio_decode_header (MPADecodeHeader *s, uint32_t header)
 
int avpriv_mpa_decode_header2 (uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bit_rate, enum AVCodecID *codec_id)
 
int avpriv_mpa_decode_header (AVCodecContext *avctx, uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bit_rate)
 

Detailed Description

MPEG Audio header decoder.

Definition in file mpegaudiodecheader.c.

Function Documentation

int avpriv_mpegaudio_decode_header ( MPADecodeHeader s,
uint32_t  header 
)
int avpriv_mpa_decode_header2 ( uint32_t  head,
int *  sample_rate,
int *  channels,
int *  frame_size,
int *  bit_rate,
enum AVCodecID codec_id 
)

Definition at line 116 of file mpegaudiodecheader.c.

Referenced by avpriv_mpa_decode_header(), and mpegaudio_parse().

int avpriv_mpa_decode_header ( AVCodecContext avctx,
uint32_t  head,
int *  sample_rate,
int *  channels,
int *  frame_size,
int *  bit_rate 
)

Definition at line 153 of file mpegaudiodecheader.c.

Referenced by mp3_read_probe().