Logo Search packages:      
Sourcecode: libjlayer-java version File versions  Download package

javazoom::jl::decoder::LayerIIDecoder::SubbandLayer2 Class Reference

Inheritance diagram for javazoom::jl::decoder::LayerIIDecoder::SubbandLayer2:

javazoom::jl::decoder::LayerIIDecoder::SubbandLayer2IntensityStereo javazoom::jl::decoder::LayerIIDecoder::SubbandLayer2Stereo

List of all members.

Detailed Description

Class for layer II subbands in single channel mode.

Definition at line 75 of file LayerIIDecoder.java.

Public Member Functions

boolean put_next_sample (int channels, SynthesisFilter filter1, SynthesisFilter filter2)
void read_allocation (Bitstream stream, Header header, Crc16 crc)
boolean read_sampledata (Bitstream stream)
void read_scalefactor (Bitstream stream, Header header)
void read_scalefactor_selection (Bitstream stream, Crc16 crc)
 SubbandLayer2 (int subbandnumber)

Static Public Attributes

static final float grouping_10bits []
static final float grouping_5bits []
static final float grouping_7bits []
static final float table_ab1_c []
static final int table_ab1_codelength []
static final float table_ab1_d []
static final float table_ab1_factor []
static final float table_ab1_groupingtables [][]
static final float[] table_ab234_groupingtables []
static final float table_ab2_c []
static final int table_ab2_codelength []
static final float table_ab2_d []
static final float table_ab2_factor []
static final float table_ab3_c []
static final int table_ab3_codelength [] = { 0, 5, 7, 3, 10, 4, 5, 16 }
static final float table_ab3_d []
static final float table_ab3_factor []
static final float table_ab4_c [] = { 0.0f, 1.33333333333f, 1.60000000000f, 1.00001525902f }
static final int table_ab4_codelength [] = { 0, 5, 7, 16 }
static final float table_ab4_d [] = { 0.0f, 0.50000000000f, 0.50000000000f, 0.00003051758f }
static final float table_ab4_factor [] = { 0.0f, 1.0f/2.0f, 1.0f/4.0f, 1.0f/32768.0f }
static final float table_cd_c []
static final int table_cd_codelength []
static final float table_cd_d []
static final float table_cd_factor []
static final float table_cd_groupingtables [][]

Protected Member Functions

int get_allocationlength (Header header)
void prepare_sample_reading (Header header, int allocation, int channel, float[] factor, int[] codelength, float[] c, float[] d)

Protected Attributes

int allocation
float[] c = {0}
int[] codelength = {0}
float[] d = {0}
float[] factor = {0.0f}
float groupingtable [][] = new float[2][]
int groupnumber
int samplenumber
float[] samples = new float[3]
float scalefactor1
float scalefactor2
float scalefactor3
int scfsi
int subbandnumber

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index