51 #define NGRANS_MPEG1 2 52 #define NGRANS_MPEG2 1 55 #define SYNCWORDH 0xff 56 #define SYNCWORDL 0xe0 67 void *ScaleFactorInfoPS;
74 unsigned char mainBuf[MAINBUF_SIZE];
93 int part23Length[MAX_NGRAN][MAX_NCHAN];
106 int UnpackFrameHeader(
MP3DecInfo *mp3DecInfo,
unsigned char *buf);
107 int UnpackSideInfo(
MP3DecInfo *mp3DecInfo,
unsigned char *buf);
108 int DecodeHuffman(
MP3DecInfo *mp3DecInfo,
unsigned char *buf,
int *bitOffset,
int huffBlockBits,
int gr,
int ch);
109 int Dequantize(
MP3DecInfo *mp3DecInfo,
int gr);
110 int IMDCT(
MP3DecInfo *mp3DecInfo,
int gr,
int ch);
111 int UnpackScaleFactors(
MP3DecInfo *mp3DecInfo,
unsigned char *buf,
int *bitOffset,
int bitsAvail,
int gr,
int ch);
112 int Subband(
MP3DecInfo *mp3DecInfo,
short *pcmBuf);
115 extern const int samplerateTab[3][3];
116 extern const short bitrateTab[3][3][15];
117 extern const short samplesPerFrameTab[3][3];
118 extern const short bitsPerSlotTab[3];
119 extern const short sideBytesTab[3][2];
120 extern const short slotTab[3][3][15];
Definition: mp3common.h:63
Definition: mp3common.h:97