File nut/contrib/hxmp3/huffman.c

* Fixed-point MP3 decoder * Jon Recker (jrecker@real.com), Ken Cooke (kenc@real.com) * July 2003 * * huffman.c - Huffman decoding of transform coefficients


Included Files


Preprocessor definitions

#define GetMaxbits( x )

#define GetHLen( x )

#define GetCWY( x )

#define GetCWX( x )

#define GetSignBits( x )

#define GetHLenQ( x )

#define GetCWVQ( x )

#define GetCWWQ( x )

#define GetCWXQ( x )

#define GetCWYQ( x )

#define ApplySign( x, s )


Global Function xmp3_DecodeHuffman()

int xmp3_DecodeHuffman ( MP3DecInfo* mp3DecInfo, unsigned char* buf, int* bitOffset, int huffBlockBits, int gr, int ch )
Prototyped in: nut/include/contrib/hxmp3/mp3common.h
Calls: DecodeHuffmanPairs() nut/contrib/hxmp3/huffman.c
  DecodeHuffmanQuads() nut/contrib/hxmp3/huffman.c

Local Function DecodeHuffmanPairs()

static int DecodeHuffmanPairs ( int* xy, int nVals, int tabIdx, int bitsLeft, unsigned char* buf, int bitOffset )
Called by: xmp3_DecodeHuffman() nut/contrib/hxmp3/huffman.c

Local Function DecodeHuffmanQuads()

static int DecodeHuffmanQuads ( int* vwxy, int nVals, int tabIdx, int bitsLeft, unsigned char* buf, int bitOffset )
Called by: xmp3_DecodeHuffman() nut/contrib/hxmp3/huffman.c