Layer II


Data Structures

struct  quantclass
 quantization class table More...

Functions

static void II_samples (struct mad_bitptr *ptr, struct quantclass const *quantclass, mad_fixed_t output[3])
 Decodes three requantized Layer II samples from a bitstream.
int mad_layer_II (struct mad_stream *stream, struct mad_frame *frame)
 Decodes a single Layer II frame.

Variables

struct {
   unsigned int   sblimit
   unsigned char const   offsets [30]
sbquant_table [5]
struct {
   unsigned short   nbal
   unsigned short   offset
bitalloc_table [8]
static unsigned char const offset_table [6][15]
 offsets into quantization class table
static struct quantclass qc_table [17]

Function Documentation

static void II_samples ( struct mad_bitptr ptr,
struct quantclass const *  quantclass,
mad_fixed_t  output[3] 
) [static]

Decodes three requantized Layer II samples from a bitstream.

Definition at line 292 of file layer12.c.

References quantclass::bits, quantclass::C, quantclass::D, quantclass::group, mad_bit_read(), MAD_F_FRACBITS, mad_f_mul, quantclass::nlevels, and s.

Referenced by mad_layer_II().

Here is the call graph for this function:

int mad_layer_II ( struct mad_stream stream,
struct mad_frame frame 
)


Variable Documentation

struct { ... } bitalloc_table[8] [static]

Referenced by mad_layer_II().

unsigned { ... } nbal [inherited]

Definition at line 252 of file layer12.c.

unsigned { ... } offset [inherited]

Definition at line 253 of file layer12.c.

unsigned char const offset_table[6][15] [static]

Initial value:

 {
  { 0, 1, 16                                             },  
  { 0, 1,  2, 3, 4, 5, 16                                },  
  { 0, 1,  2, 3, 4, 5,  6, 7,  8,  9, 10, 11, 12, 13, 14 },  
  { 0, 1,  3, 4, 5, 6,  7, 8,  9, 10, 11, 12, 13, 14, 15 },  
  { 0, 1,  2, 3, 4, 5,  6, 7,  8,  9, 10, 11, 12, 13, 16 },  
  { 0, 2,  4, 5, 6, 7,  8, 9, 10, 11, 12, 13, 14, 15, 16 }   
}
offsets into quantization class table

Definition at line 267 of file layer12.c.

Referenced by mad_layer_II().

unsigned { ... } offsets[30] [inherited]

Definition at line 232 of file layer12.c.

struct quantclass qc_table[17] [static]

Referenced by mad_layer_II().

unsigned { ... } sblimit [inherited]

Definition at line 231 of file layer12.c.

struct { ... } sbquant_table[5] [static]

Referenced by mad_layer_II().


Generated on Tue Jun 10 12:14:18 2008 for libmad by  doxygen 1.5.5