hvirtual/libmpeg3/audio/layer2.c File Reference

#include "mpeg3private.h"
#include "mpeg3protos.h"
#include "tables.h"

Include dependency graph for layer2.c:

Go to the source code of this file.

Functions

static int select_table (mpeg3_layer_t *audio)
static int step_one (mpeg3_layer_t *audio, unsigned int *bit_alloc, int *scale)
static int step_two (mpeg3_layer_t *audio, unsigned int *bit_alloc, float fraction[2][4][SBLIMIT], int *scale, int x1)
int mpeg3audio_dolayer2 (mpeg3_layer_t *audio, char *frame, int frame_size, float **output, int render)

Variables

static struct al_table alloc_0 []
static struct al_table alloc_1 []
static struct al_table alloc_2 []
static struct al_table alloc_3 []
static struct al_table alloc_4 []


Function Documentation

int mpeg3audio_dolayer2 ( mpeg3_layer_t audio,
char *  frame,
int  frame_size,
float **  output,
int  render 
)

static int select_table ( mpeg3_layer_t audio  )  [static]

static int step_one ( mpeg3_layer_t audio,
unsigned int *  bit_alloc,
int *  scale 
) [static]

static int step_two ( mpeg3_layer_t audio,
unsigned int *  bit_alloc,
float  fraction[2][4][SBLIMIT],
int *  scale,
int  x1 
) [static]


Variable Documentation

struct al_table alloc_0[] [static]

Definition at line 11 of file layer2.c.

struct al_table alloc_1[] [static]

Definition at line 51 of file layer2.c.

struct al_table alloc_2[] [static]

Initial value:

 {
        {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},
        {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},
        {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},
        {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63} }

Definition at line 94 of file layer2.c.

struct al_table alloc_3[] [static]

Initial value:

 {
        {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},
        {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},
        {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},
        {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
        {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63} }

Definition at line 106 of file layer2.c.

struct al_table alloc_4[] [static]

Definition at line 122 of file layer2.c.


Generated on Mon Apr 28 13:58:35 2008 for Cinelerra by  doxygen 1.5.5