OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
huffman.c File Reference
#include "coder.h"

Go to the source code of this file.

Macros

#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)
 

Functions

int DecodeHuffman (MP3DecInfo *mp3DecInfo, unsigned char *buf, int *bitOffset, int huffBlockBits, int gr, int ch)
 

Macro Definition Documentation

◆ ApplySign

#define ApplySign ( x,
s )
Value:
{ (x) |= ((s) & 0x80000000); }
UINT16 x
Definition BmfFile.h:83

Definition at line 60 of file huffman.c.

◆ GetCWVQ

#define GetCWVQ ( x)
Value:
((int)( (((unsigned char)(x)) >> 3) & 0x01))

Definition at line 54 of file huffman.c.

◆ GetCWWQ

#define GetCWWQ ( x)
Value:
((int)( (((unsigned char)(x)) >> 2) & 0x01))

Definition at line 55 of file huffman.c.

◆ GetCWX

#define GetCWX ( x)
Value:
((int)( (((unsigned short)(x)) >> 4) & 0x000f))

Definition at line 50 of file huffman.c.

◆ GetCWXQ

#define GetCWXQ ( x)
Value:
((int)( (((unsigned char)(x)) >> 1) & 0x01))

Definition at line 56 of file huffman.c.

◆ GetCWY

#define GetCWY ( x)
Value:
((int)( (((unsigned short)(x)) >> 8) & 0x000f))

Definition at line 49 of file huffman.c.

◆ GetCWYQ

#define GetCWYQ ( x)
Value:
((int)( (((unsigned char)(x)) >> 0) & 0x01))

Definition at line 57 of file huffman.c.

◆ GetHLen

#define GetHLen ( x)
Value:
((int)( (((unsigned short)(x)) >> 12) & 0x000f))

Definition at line 48 of file huffman.c.

◆ GetHLenQ

#define GetHLenQ ( x)
Value:
((int)( (((unsigned char)(x)) >> 4) & 0x0f))

Definition at line 53 of file huffman.c.

◆ GetMaxbits

#define GetMaxbits ( x)
Value:
((int)( (((unsigned short)(x)) >> 0) & 0x000f))

Definition at line 47 of file huffman.c.

◆ GetSignBits

#define GetSignBits ( x)
Value:
((int)( (((unsigned short)(x)) >> 0) & 0x000f))

Definition at line 51 of file huffman.c.

Function Documentation

◆ DecodeHuffman()

int DecodeHuffman ( MP3DecInfo * mp3DecInfo,
unsigned char * buf,
int * bitOffset,
int huffBlockBits,
int gr,
int ch )

Definition at line 380 of file huffman.c.