QDM2Context Struct Reference

QDM2 decoder context. More...

Collaboration diagram for QDM2Context:
Collaboration graph

Data Fields

int nb_channels
 Parameters from codec header, do not change during playback. More...
 
int channels
 number of channels More...
 
int group_size
 size of frame group (16 frames per group) More...
 
int fft_size
 size of FFT, in complex numbers More...
 
int checksum_size
 size of data block, used also for checksum More...
 
int group_order
 Parameters built from header parameters, do not change during playback. More...
 
int fft_order
 order of FFT (actually fftorder+1) More...
 
int frame_size
 size of data frame More...
 
int frequency_range
 
int sub_sampling
 subsampling: 0=25%, 1=50%, 2=100% */ More...
 
int coeff_per_sb_select
 selector for "num. of coeffs. per subband" tables. Can be 0, 1, 2 More...
 
int cm_table_select
 selector for "coding method" tables. Can be 0, 1 (from init: 0-4) More...
 
QDM2SubPacket sub_packets [16]
 Packets and packet lists. More...
 
QDM2SubPNode sub_packet_list_A [16]
 list of all packets More...
 
QDM2SubPNode sub_packet_list_B [16]
 FFT packets B are on list. More...
 
int sub_packets_B
 number of packets on 'B' list More...
 
QDM2SubPNode sub_packet_list_C [16]
 packets with errors? More...
 
QDM2SubPNode sub_packet_list_D [16]
 DCT packets. More...
 
FFTTone fft_tones [1000]
 FFT and tones. More...
 
int fft_tone_start
 
int fft_tone_end
 
FFTCoefficient fft_coefs [1000]
 
int fft_coefs_index
 
int fft_coefs_min_index [5]
 
int fft_coefs_max_index [5]
 
int fft_level_exp [6]
 
RDFTContext rdft_ctx
 
QDM2FFT fft
 
const uint8_tcompressed_data
 I/O data. More...
 
int compressed_size
 
float output_buffer [QDM2_MAX_FRAME_SIZE *MPA_MAX_CHANNELS *2]
 
MPADSPContext mpadsp
 Synthesis filter. More...
 

Detailed Description

QDM2 decoder context.

Definition at line 131 of file qdm2.c.

Field Documentation

int QDM2Context::channels
int QDM2Context::checksum_size

size of data block, used also for checksum

Definition at line 137 of file qdm2.c.

Referenced by qdm2_decode(), qdm2_decode_frame(), qdm2_decode_init(), and qdm2_decode_super_block().

int QDM2Context::cm_table_select

selector for "coding method" tables. Can be 0, 1 (from init: 0-4)

Definition at line 146 of file qdm2.c.

Referenced by process_subpacket_11(), and qdm2_decode_init().

int QDM2Context::coeff_per_sb_select

selector for "num. of coeffs. per subband" tables. Can be 0, 1, 2

Definition at line 145 of file qdm2.c.

Referenced by average_quantized_coeffs(), fill_tone_level_array(), process_subpacket_9(), and qdm2_decode_init().

const uint8_t* QDM2Context::compressed_data

I/O data.

Definition at line 169 of file qdm2.c.

Referenced by qdm2_decode(), and qdm2_decode_super_block().

int QDM2Context::compressed_size

Definition at line 170 of file qdm2.c.

Referenced by qdm2_decode(), and qdm2_decode_super_block().

QDM2FFT QDM2Context::fft

Definition at line 166 of file qdm2.c.

Referenced by qdm2_calculate_fft(), and qdm2_fft_tone_synthesizer().

FFTCoefficient QDM2Context::fft_coefs[1000]

Definition at line 160 of file qdm2.c.

Referenced by qdm2_fft_init_coefficient(), and qdm2_fft_tone_synthesizer().

int QDM2Context::fft_coefs_index

Definition at line 161 of file qdm2.c.

Referenced by qdm2_decode_fft_packets(), and qdm2_fft_init_coefficient().

int QDM2Context::fft_coefs_max_index[5]

Definition at line 163 of file qdm2.c.

Referenced by qdm2_decode_fft_packets().

int QDM2Context::fft_coefs_min_index[5]
int QDM2Context::fft_level_exp[6]

Definition at line 164 of file qdm2.c.

Referenced by qdm2_decode_fft_packets(), qdm2_decode_super_block(), and qdm2_fft_decode_tones().

int QDM2Context::fft_order

order of FFT (actually fftorder+1)

Definition at line 141 of file qdm2.c.

Referenced by qdm2_decode_init().

int QDM2Context::fft_size

size of FFT, in complex numbers

Definition at line 136 of file qdm2.c.

Referenced by qdm2_calculate_fft(), qdm2_decode_init(), and qdm2_fft_tone_synthesizer().

int QDM2Context::fft_tone_end

Definition at line 159 of file qdm2.c.

Referenced by qdm2_fft_generate_tone(), and qdm2_fft_tone_synthesizer().

int QDM2Context::fft_tone_start

Definition at line 158 of file qdm2.c.

Referenced by qdm2_fft_tone_synthesizer().

FFTTone QDM2Context::fft_tones[1000]

FFT and tones.

Definition at line 157 of file qdm2.c.

Referenced by qdm2_fft_generate_tone(), and qdm2_fft_tone_synthesizer().

int QDM2Context::frame_size

size of data frame

Definition at line 142 of file qdm2.c.

Referenced by qdm2_decode(), qdm2_decode_frame(), qdm2_decode_init(), and qdm2_synthesis_filter().

int QDM2Context::frequency_range

Definition at line 143 of file qdm2.c.

Referenced by qdm2_decode_init(), and qdm2_fft_decode_tones().

int QDM2Context::group_order

Parameters built from header parameters, do not change during playback.

order of frame group

Definition at line 140 of file qdm2.c.

Referenced by qdm2_decode_init(), and qdm2_fft_decode_tones().

int QDM2Context::group_size

size of frame group (16 frames per group)

Definition at line 135 of file qdm2.c.

Referenced by qdm2_decode_init(), and qdm2_fft_decode_tones().

MPADSPContext QDM2Context::mpadsp

Synthesis filter.

Definition at line 174 of file qdm2.c.

Referenced by qdm2_decode_init(), and qdm2_synthesis_filter().

float QDM2Context::output_buffer[QDM2_MAX_FRAME_SIZE *MPA_MAX_CHANNELS *2]

Definition at line 171 of file qdm2.c.

Referenced by qdm2_calculate_fft(), qdm2_decode(), and qdm2_synthesis_filter().

RDFTContext QDM2Context::rdft_ctx

Definition at line 165 of file qdm2.c.

Referenced by qdm2_calculate_fft(), qdm2_decode_close(), and qdm2_decode_init().

QDM2SubPNode QDM2Context::sub_packet_list_A[16]

list of all packets

Definition at line 150 of file qdm2.c.

Referenced by qdm2_decode_super_block().

QDM2SubPNode QDM2Context::sub_packet_list_B[16]

FFT packets B are on list.

Definition at line 151 of file qdm2.c.

Referenced by qdm2_decode_fft_packets(), and qdm2_decode_super_block().

QDM2SubPNode QDM2Context::sub_packet_list_C[16]

packets with errors?

Definition at line 153 of file qdm2.c.

Referenced by qdm2_decode().

QDM2SubPNode QDM2Context::sub_packet_list_D[16]

DCT packets.

Definition at line 154 of file qdm2.c.

Referenced by qdm2_decode_super_block().

QDM2SubPacket QDM2Context::sub_packets[16]

Packets and packet lists.

the packets themselves

Definition at line 149 of file qdm2.c.

Referenced by qdm2_decode_super_block().

int QDM2Context::sub_packets_B

number of packets on 'B' list

Definition at line 152 of file qdm2.c.

Referenced by qdm2_decode_fft_packets(), and qdm2_decode_super_block().


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