Go to the source code of this file.
Data Structures |
| struct | _MP3DecInfo |
| struct | _SFBandTable |
Defines |
| #define | MAX_SCFBD 4 |
| #define | NGRANS_MPEG1 2 |
| #define | NGRANS_MPEG2 1 |
| #define | SYNCWORDH 0xff |
| #define | SYNCWORDL 0xe0 |
Typedefs |
| typedef struct _MP3DecInfo | MP3DecInfo |
| typedef struct _SFBandTable | SFBandTable |
Functions |
| MP3DecInfo * | AllocateBuffers (void) |
| void | FreeBuffers (MP3DecInfo *mp3DecInfo) |
| int | CheckPadBit (MP3DecInfo *mp3DecInfo) |
| int | UnpackFrameHeader (MP3DecInfo *mp3DecInfo, unsigned char *buf) |
| int | UnpackSideInfo (MP3DecInfo *mp3DecInfo, unsigned char *buf) |
| int | DecodeHuffman (MP3DecInfo *mp3DecInfo, unsigned char *buf, int *bitOffset, int huffBlockBits, int gr, int ch) |
| int | Dequantize (MP3DecInfo *mp3DecInfo, int gr) |
| int | IMDCT (MP3DecInfo *mp3DecInfo, int gr, int ch) |
| int | UnpackScaleFactors (MP3DecInfo *mp3DecInfo, unsigned char *buf, int *bitOffset, int bitsAvail, int gr, int ch) |
| int | Subband (MP3DecInfo *mp3DecInfo, short *pcmBuf) |
Variables |
| const int | samplerateTab [3][3] |
| const short | bitrateTab [3][3][15] |
| const short | samplesPerFrameTab [3][3] |
| const short | bitsPerSlotTab [3] |
| const short | sideBytesTab [3][2] |
| const short | slotTab [3][3][15] |
| const SFBandTable | sfBandTable [3][3] |
Define Documentation
Typedef Documentation
Function Documentation
| int UnpackFrameHeader |
( |
MP3DecInfo * |
mp3DecInfo, |
|
|
unsigned char * |
buf |
|
) |
| |
| int UnpackSideInfo |
( |
MP3DecInfo * |
mp3DecInfo, |
|
|
unsigned char * |
buf |
|
) |
| |
| int DecodeHuffman |
( |
MP3DecInfo * |
mp3DecInfo, |
|
|
unsigned char * |
buf, |
|
|
int * |
bitOffset, |
|
|
int |
huffBlockBits, |
|
|
int |
gr, |
|
|
int |
ch |
|
) |
| |
| int Dequantize |
( |
MP3DecInfo * |
mp3DecInfo, |
|
|
int |
gr |
|
) |
| |
| int IMDCT |
( |
MP3DecInfo * |
mp3DecInfo, |
|
|
int |
gr, |
|
|
int |
ch |
|
) |
| |
| int UnpackScaleFactors |
( |
MP3DecInfo * |
mp3DecInfo, |
|
|
unsigned char * |
buf, |
|
|
int * |
bitOffset, |
|
|
int |
bitsAvail, |
|
|
int |
gr, |
|
|
int |
ch |
|
) |
| |
| int Subband |
( |
MP3DecInfo * |
mp3DecInfo, |
|
|
short * |
pcmBuf |
|
) |
| |
Variable Documentation