FFmpeg
Loading...
Searching...
No Matches
COOKContext Struct Reference

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)
AVCodecContext * avctx
AudioDSPContext adsp
GetBitContext gb
int num_vectors
int samples_per_channel
AVLFG random_state
int discarded_packets
AVTXContext * mdct_ctx
av_tx_fn mdct_fn
float * mlt_window
VLC envelope_quant_index [13]
VLC sqvh [7]
int gain_size_factor
float gain_table [31]
uint8_t * decoded_bytes_buffer
float mono_mdct_output [2048]
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 109 of file cook.c.

Field Documentation

◆ scalar_dequant

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

Definition at line 114 of file cook.c.

Referenced by cook_decode_init(), and decode_vectors().

◆ decouple

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

Definition at line 118 of file cook.c.

Referenced by cook_decode_init(), and joint_decode().

◆ imlt_window

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

Definition at line 125 of file cook.c.

Referenced by cook_decode_init(), and imlt_gain().

◆ interpolate

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

Definition at line 128 of file cook.c.

Referenced by cook_decode_init(), and imlt_gain().

◆ saturate_output

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

Definition at line 131 of file cook.c.

Referenced by cook_decode_init(), and mlt_compensate_output().

◆ avctx

AVCodecContext* COOKContext::avctx

◆ adsp

AudioDSPContext COOKContext::adsp

Definition at line 134 of file cook.c.

Referenced by cook_decode_init(), and saturate_output_float().

◆ gb

◆ num_vectors

int COOKContext::num_vectors

Definition at line 137 of file cook.c.

Referenced by expand_category(), and mono_decode().

◆ samples_per_channel

◆ random_state

AVLFG COOKContext::random_state

Definition at line 140 of file cook.c.

Referenced by cook_decode_init(), and scalar_dequant_float().

◆ discarded_packets

int COOKContext::discarded_packets

Definition at line 141 of file cook.c.

Referenced by cook_decode_frame().

◆ mdct_ctx

AVTXContext* COOKContext::mdct_ctx

Definition at line 144 of file cook.c.

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

◆ mdct_fn

av_tx_fn COOKContext::mdct_fn

Definition at line 145 of file cook.c.

Referenced by imlt_gain(), and init_cook_mlt().

◆ mlt_window

float* COOKContext::mlt_window

Definition at line 146 of file cook.c.

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

◆ envelope_quant_index

VLC COOKContext::envelope_quant_index[13]

Definition at line 149 of file cook.c.

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

◆ sqvh

VLC COOKContext::sqvh[7]

Definition at line 150 of file cook.c.

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

◆ gain_size_factor

int COOKContext::gain_size_factor

Definition at line 153 of file cook.c.

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

◆ gain_table

float COOKContext::gain_table[31]

Definition at line 154 of file cook.c.

Referenced by init_gain_table(), and interpolate_float().

◆ decoded_bytes_buffer

uint8_t* COOKContext::decoded_bytes_buffer

Definition at line 158 of file cook.c.

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

◆ mono_mdct_output

float COOKContext::mono_mdct_output[2048]

Definition at line 159 of file cook.c.

Referenced by imlt_gain(), and saturate_output_float().

◆ decode_buffer_1

float COOKContext::decode_buffer_1[1024]

Definition at line 160 of file cook.c.

Referenced by decode_subpacket().

◆ decode_buffer_2

float COOKContext::decode_buffer_2[1024]

Definition at line 161 of file cook.c.

Referenced by decode_subpacket().

◆ decode_buffer_0

float COOKContext::decode_buffer_0[1060]

Definition at line 162 of file cook.c.

Referenced by joint_decode().

◆ cplscales

const float* COOKContext::cplscales[5]

Definition at line 164 of file cook.c.

Referenced by init_cplscales_table(), and joint_decode().

◆ num_subpackets

int COOKContext::num_subpackets

◆ subpacket


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