cook Struct Reference
Collaboration diagram for cook:
Collaboration graph

Public Member Functions

 DECLARE_ALIGNED (32, float, mono_mdct_output)[2048]
 

Data Fields

void(* scalar_dequant )(struct cook *q, int index, int quant_index, int *subband_coef_index, int *subband_coef_sign, float *mlt_p)
 
void(* decouple )(struct cook *q, COOKSubpacket *p, int subband, float f1, float f2, float *decode_buffer, float *mlt_buffer1, float *mlt_buffer2)
 
void(* imlt_window )(struct cook *q, float *buffer1, cook_gains *gains_ptr, float *previous_buffer)
 
void(* interpolate )(struct cook *q, float *buffer, int gain_index, int gain_index_next)
 
void(* saturate_output )(struct cook *q, float *out)
 
AVCodecContextavctx
 
DSPContext dsp
 
GetBitContext gb
 
int num_vectors
 
int samples_per_channel
 
AVLFG random_state
 
int discarded_packets
 
FFTContext mdct_ctx
 
float * mlt_window
 
VLC envelope_quant_index [13]
 
VLC sqvh [7]
 
int gain_size_factor
 
float gain_table [23]
 
uint8_tdecoded_bytes_buffer
 
float decode_buffer_1 [1024]
 
float decode_buffer_2 [1024]
 
float decode_buffer_0 [1060]
 
const float * cplscales [5]
 
int num_subpackets
 
COOKSubpacket subpacket [MAX_SUBPACKETS]
 

Detailed Description

Definition at line 100 of file cook.c.

Member Function Documentation

cook::DECLARE_ALIGNED ( 32  ,
float  ,
mono_mdct_output   
)

Field Documentation

const float* cook::cplscales[5]

Definition at line 154 of file cook.c.

Referenced by init_cplscales_table(), and joint_decode().

float cook::decode_buffer_0[1060]

Definition at line 152 of file cook.c.

Referenced by joint_decode().

float cook::decode_buffer_1[1024]

Definition at line 150 of file cook.c.

Referenced by decode_subpacket().

float cook::decode_buffer_2[1024]

Definition at line 151 of file cook.c.

Referenced by decode_subpacket().

uint8_t* cook::decoded_bytes_buffer

Definition at line 148 of file cook.c.

Referenced by cook_decode_close(), cook_decode_init(), and decode_bytes_and_gain().

void(* cook::decouple) (struct cook *q, COOKSubpacket *p, int subband, float f1, float f2, float *decode_buffer, float *mlt_buffer1, float *mlt_buffer2)

Definition at line 109 of file cook.c.

Referenced by cook_decode_init(), and joint_decode().

int cook::discarded_packets

Definition at line 132 of file cook.c.

Referenced by cook_decode_frame().

DSPContext cook::dsp

Definition at line 125 of file cook.c.

Referenced by cook_decode_init(), and saturate_output_float().

VLC cook::envelope_quant_index[13]

Definition at line 139 of file cook.c.

Referenced by cook_decode_close(), decode_envelope(), and init_cook_vlc_tables().

int cook::gain_size_factor

Definition at line 143 of file cook.c.

Referenced by imlt_gain(), init_gain_table(), and interpolate_float().

float cook::gain_table[23]

Definition at line 144 of file cook.c.

Referenced by init_gain_table(), and interpolate_float().

void(* cook::imlt_window) (struct cook *q, float *buffer1, cook_gains *gains_ptr, float *previous_buffer)

Definition at line 116 of file cook.c.

Referenced by cook_decode_init(), and imlt_gain().

void(* cook::interpolate) (struct cook *q, float *buffer, int gain_index, int gain_index_next)

Definition at line 119 of file cook.c.

Referenced by cook_decode_init(), and imlt_gain().

FFTContext cook::mdct_ctx

Definition at line 135 of file cook.c.

Referenced by cook_decode_close(), imlt_gain(), and init_cook_mlt().

float* cook::mlt_window

Definition at line 136 of file cook.c.

Referenced by cook_decode_close(), imlt_window_float(), and init_cook_mlt().

int cook::num_subpackets
int cook::num_vectors

Definition at line 128 of file cook.c.

Referenced by expand_category(), and mono_decode().

AVLFG cook::random_state

Definition at line 131 of file cook.c.

Referenced by cook_decode_init(), and scalar_dequant_float().

void(* cook::saturate_output) (struct cook *q, float *out)

Definition at line 122 of file cook.c.

Referenced by cook_decode_init(), and mlt_compensate_output().

void(* cook::scalar_dequant) (struct cook *q, int index, int quant_index, int *subband_coef_index, int *subband_coef_sign, float *mlt_p)

Definition at line 105 of file cook.c.

Referenced by cook_decode_init(), and decode_vectors().

VLC cook::sqvh[7]

Definition at line 140 of file cook.c.

Referenced by cook_decode_close(), init_cook_vlc_tables(), and unpack_SQVH().

COOKSubpacket cook::subpacket[MAX_SUBPACKETS]

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