File nut/contrib/hxmp3/scalfact.c

* Fixed-point MP3 decoder * Jon Recker (jrecker@real.com), Ken Cooke (kenc@real.com) * June 2003 * * scalfact.c - scalefactor unpacking functions


Included Files


Local Variables

SFLenTab
static const char SFLenTab[16][2]
Used in: UnpackSFMPEG1()  

NRTab
static const char NRTab[6][3][4]

Used in: UnpackSFMPEG2()  

Global Function xmp3_UnpackScaleFactors()

int xmp3_UnpackScaleFactors ( MP3DecInfo* mp3DecInfo, unsigned char* buf, int* bitOffset, int bitsAvail, int gr, int ch )
Prototyped in: nut/include/contrib/hxmp3/mp3common.h
Calls: UnpackSFMPEG1() nut/contrib/hxmp3/scalfact.c
  UnpackSFMPEG2() nut/contrib/hxmp3/scalfact.c
  xmp3_CalcBitsUsed(), xmp3_GetBits(), xmp3_SetBitstreamPointer()
Called by: MP3Decode() nut/contrib/hxmp3/mp3dec.c

Local Function UnpackSFMPEG1()

static void UnpackSFMPEG1 ( BitStreamInfo* bsi, SideInfoSub* sis, ScaleFactorInfoSub* sfis, int* scfsi, int gr, ScaleFactorInfoSub* sfisGr0 )
Calls: xmp3_GetBits()
Called by: xmp3_UnpackScaleFactors() nut/contrib/hxmp3/scalfact.c
References Variables: SFLenTab nut/contrib/hxmp3/scalfact.c

Local Function UnpackSFMPEG2()

static void UnpackSFMPEG2 ( BitStreamInfo* bsi, SideInfoSub* sis, ScaleFactorInfoSub* sfis, int gr, int ch, int modeExt, ScaleFactorJS* sfjs )
Calls: xmp3_GetBits()
Called by: xmp3_UnpackScaleFactors() nut/contrib/hxmp3/scalfact.c
References Variables: NRTab nut/contrib/hxmp3/scalfact.c