hvirtual/quicktime/ffmpeg/libavcodec/mpegaudio.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MPA_FRAME_SIZE   1152
#define MPA_MAX_CODED_FRAME_SIZE   1792
#define MPA_MAX_CHANNELS   2
#define SBLIMIT   32
#define MPA_STEREO   0
#define MPA_JSTEREO   1
#define MPA_DUAL   2
#define MPA_MONO   3
#define SAME_HEADER_MASK   (0xffe00000 | (3 << 17) | (0xf << 12) | (3 << 10) | (3 << 19))

Functions

int l2_select_table (int bitrate, int nb_channels, int freq, int lsf)
int mpa_decode_header (AVCodecContext *avctx, uint32_t head)
static int ff_mpa_check_header (uint32_t header)

Variables

const uint16_t mpa_bitrate_tab [2][3][15]
const uint16_t mpa_freq_tab [3]
const unsigned char * alloc_tables [5]
const double enwindow [512]
const int sblimit_table [5]
const int quant_steps [17]
const int quant_bits [17]
const int32_t mpa_enwindow [257]


Detailed Description

mpeg audio declarations for both encoder and decoder.

Definition in file mpegaudio.h.


Define Documentation

#define MPA_DUAL   2

Definition at line 18 of file mpegaudio.h.

#define MPA_FRAME_SIZE   1152

Definition at line 7 of file mpegaudio.h.

Referenced by decode_frame_mp3on4(), MPA_encode_frame(), and MPA_encode_init().

#define MPA_JSTEREO   1

Definition at line 17 of file mpegaudio.h.

Referenced by mp_decode_layer1(), and mp_decode_layer2().

#define MPA_MAX_CHANNELS   2

#define MPA_MAX_CODED_FRAME_SIZE   1792

#define MPA_MONO   3

Definition at line 19 of file mpegaudio.h.

Referenced by decode_header(), and encode_frame().

#define MPA_STEREO   0

Definition at line 16 of file mpegaudio.h.

Referenced by encode_frame().

#define SAME_HEADER_MASK   (0xffe00000 | (3 << 17) | (0xf << 12) | (3 << 10) | (3 << 19))

Definition at line 22 of file mpegaudio.h.

Referenced by decode_frame(), and mpegaudio_parse().

#define SBLIMIT   32

Definition at line 14 of file mpegaudio.h.


Function Documentation

static int ff_mpa_check_header ( uint32_t  header  )  [inline, static]

Definition at line 38 of file mpegaudio.h.

Referenced by decode_frame(), decode_frame_adu(), decode_frame_mp3on4(), and mpa_decode_header().

int l2_select_table ( int  bitrate,
int  nb_channels,
int  freq,
int  lsf 
)

Definition at line 1330 of file mpegaudiodec.c.

Referenced by mp_decode_layer2(), and MPA_encode_init().

int mpa_decode_header ( AVCodecContext avctx,
uint32_t  head 
)


Variable Documentation

const unsigned char* alloc_tables[5]

const double enwindow[512]

Definition at line 1 of file enwindow.h.

Referenced by WindowFilterSubband().

const uint16_t mpa_bitrate_tab[2][3][15]

Definition at line 6 of file mpegaudiodectab.h.

Referenced by decode_header(), and MPA_encode_init().

const int32_t mpa_enwindow[257]

Definition at line 20 of file mpegaudiodectab.h.

Referenced by ff_mpa_synth_init(), and MPA_encode_init().

const uint16_t mpa_freq_tab[3]

Definition at line 16 of file mpegaudiodectab.h.

Referenced by decode_header(), and MPA_encode_init().

const int quant_bits[17]

Definition at line 69 of file mpegaudiodectab.h.

Referenced by encode_frame(), mp_decode_layer2(), and MPA_encode_init().

const int quant_steps[17]

Definition at line 61 of file mpegaudiodectab.h.

Referenced by encode_frame(), and mp_decode_layer2().

const int sblimit_table[5]

Definition at line 59 of file mpegaudiodectab.h.

Referenced by mp_decode_layer2(), and MPA_encode_init().


Generated on Mon Apr 28 14:05:17 2008 for Cinelerra by  doxygen 1.5.5