#include "global.h"
#include "fixed.h"
#include "bit.h"
#include "stream.h"
#include "frame.h"
#include "layer12.h"
#include "sf_table.dat"
#include "qc_table.dat"

Go to the source code of this file.
Data Structures | |
| struct | quantclass |
| quantization class table More... | |
Defines | |
| #define | CHAR_BIT 8 |
Functions | |
| static mad_fixed_t | I_sample (struct mad_bitptr *ptr, unsigned int nb) |
| Decodes one requantized Layer I sample from a bitstream. | |
| int | mad_layer_I (struct mad_stream *stream, struct mad_frame *frame) |
| Decodes a single Layer I frame. | |
| 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 | |
| static mad_fixed_t const | sf_table [64] |
| scalefactor table. | |
| static mad_fixed_t const | linear_table [14] |
| linear scaling table | |
| 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] |
Definition in file layer12.c.
| unsigned short nbal |
| unsigned char const offsets[30] |
| unsigned int sblimit |
mad_fixed_t const sf_table[64] [static] |
scalefactor table.
used in both Layer I and Layer II decoding
Definition at line 48 of file layer12.c.
Referenced by mad_layer_I(), and mad_layer_II().
1.5.5