TwinContext Struct Reference
Collaboration diagram for TwinContext:
Collaboration graph

Data Fields

AVCodecContextavctx
 
AVFloatDSPContext fdsp
 
FFTContext mdct_ctx [3]
 
const ModeTabmtab
 
float lsp_hist [2][20]
 LSP coefficients of the last frame. More...
 
float bark_hist [3][2][40]
 BSE coefficients of last frame. More...
 
int16_t permut [4][4096]
 
uint8_t length [4][2]
 main codebook stride More...
 
uint8_t length_change [4]
 
uint8_t bits_main_spec [2][4][2]
 bits for the main codebook More...
 
int bits_main_spec_change [4]
 
int n_div [4]
 
float * spectrum
 
float * curr_frame
 non-interleaved output More...
 
float * prev_frame
 non-interleaved previous frame More...
 
int last_block_pos [2]
 
int discarded_packets
 
float * cos_tabs [3]
 
float * tmp_buf
 

Detailed Description

Definition at line 177 of file twinvq.c.

Field Documentation

float TwinContext::bark_hist[3][2][40]

BSE coefficients of last frame.

Definition at line 186 of file twinvq.c.

Referenced by dec_bark_env(), and twin_decode_init().

uint8_t TwinContext::bits_main_spec[2][4][2]

bits for the main codebook

Definition at line 192 of file twinvq.c.

Referenced by dequant(), and init_bitstream_params().

int TwinContext::bits_main_spec_change[4]

Definition at line 193 of file twinvq.c.

Referenced by dequant(), and init_bitstream_params().

float* TwinContext::cos_tabs[3]

Definition at line 202 of file twinvq.c.

Referenced by eval_lpcenv(), eval_lpcenv_or_interp(), init_mdct_win(), and twin_decode_close().

float* TwinContext::curr_frame

non-interleaved output

Definition at line 197 of file twinvq.c.

Referenced by imdct_and_window(), imdct_output(), init_mdct_win(), twin_decode_close(), and twin_decode_frame().

int TwinContext::discarded_packets

Definition at line 200 of file twinvq.c.

Referenced by twin_decode_frame().

AVFloatDSPContext TwinContext::fdsp
int TwinContext::last_block_pos[2]

Definition at line 199 of file twinvq.c.

Referenced by imdct_and_window(), and imdct_output().

uint8_t TwinContext::length[4][2]

main codebook stride

Definition at line 190 of file twinvq.c.

Referenced by construct_perm_table(), dequant(), and init_bitstream_params().

uint8_t TwinContext::length_change[4]

Definition at line 191 of file twinvq.c.

Referenced by construct_perm_table(), dequant(), and init_bitstream_params().

float TwinContext::lsp_hist[2][20]

LSP coefficients of the last frame.

Definition at line 185 of file twinvq.c.

Referenced by read_and_decode_spectrum().

FFTContext TwinContext::mdct_ctx[3]

Definition at line 180 of file twinvq.c.

Referenced by imdct_and_window(), init_mdct_win(), and twin_decode_close().

int TwinContext::n_div[4]
int16_t TwinContext::permut[4][4096]

Definition at line 189 of file twinvq.c.

Referenced by construct_perm_table(), and dequant().

float* TwinContext::prev_frame

non-interleaved previous frame

Definition at line 198 of file twinvq.c.

Referenced by imdct_output(), init_mdct_win(), twin_decode_close(), and twin_decode_frame().

float* TwinContext::spectrum

Definition at line 196 of file twinvq.c.

Referenced by imdct_output(), init_mdct_win(), twin_decode_close(), and twin_decode_frame().

float* TwinContext::tmp_buf

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