#include <config.h>
#include "common.h"
#include "layer2.h"
#include "l2tables.h"
#include "decode_i386.h"
Include dependency graph for layer2.c:
Go to the source code of this file.
Functions | |
void | init_layer2 (void) |
static void | II_step_one (PMPSTR mp, unsigned int *bit_alloc, int *scale, struct frame *fr) |
static void | II_step_two (PMPSTR mp, unsigned int *bit_alloc, real fraction[2][4][SBLIMIT], int *scale, struct frame *fr, int x1) |
static void | II_select_table (struct frame *fr) |
int | do_layer2 (PMPSTR mp, unsigned char *pcm_sample, int *pcm_point) |
Variables | |
static int | grp_3tab [32 *3] = { 0, } |
static int | grp_5tab [128 *3] = { 0, } |
static int | grp_9tab [1024 *3] = { 0, } |
int do_layer2 | ( | PMPSTR | mp, | |
unsigned char * | pcm_sample, | |||
int * | pcm_point | |||
) |
Definition at line 266 of file layer2.c.
References mpstr_tag::fr, i, frame::II_sblimit, II_select_table(), II_step_one(), II_step_two(), frame::jsbound, frame::mode, frame::mode_ext, MPG_MD_JOINT_STEREO, real, SCALE_BLOCK, frame::single, frame::stereo, synth_1to1(), and synth_1to1_mono().
Referenced by decodeMP3_clipchoice().
Here is the call graph for this function:
static void II_select_table | ( | struct frame * | fr | ) | [static] |
Definition at line 240 of file layer2.c.
References frame::alloc, alloc_0, alloc_1, alloc_2, alloc_3, alloc_4, frame::bitrate_index, frame::II_sblimit, frame::lsf, frame::sampling_frequency, and frame::stereo.
Referenced by do_layer2().
static void II_step_one | ( | PMPSTR | mp, | |
unsigned int * | bit_alloc, | |||
int * | scale, | |||
struct frame * | fr | |||
) | [static] |
Definition at line 71 of file layer2.c.
References frame::alloc, getbits(), getbits_fast(), i, frame::II_sblimit, frame::jsbound, and frame::stereo.
Referenced by do_layer2().
Here is the call graph for this function:
static void II_step_two | ( | PMPSTR | mp, | |
unsigned int * | bit_alloc, | |||
real | fraction[2][4][SBLIMIT], | |||
int * | scale, | |||
struct frame * | fr, | |||
int | x1 | |||
) | [static] |
Definition at line 145 of file layer2.c.
References frame::alloc, al_table2::bits, al_table2::d, getbits(), grp_3tab, grp_5tab, grp_9tab, i, frame::II_sblimit, frame::jsbound, muls, real, and frame::stereo.
Referenced by do_layer2().
Here is the call graph for this function:
void init_layer2 | ( | void | ) |
int grp_3tab[32 *3] = { 0, } [static] |
int grp_5tab[128 *3] = { 0, } [static] |
int grp_9tab[1024 *3] = { 0, } [static] |