FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
TwinContext Struct Reference

Data Fields

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

AVCodecContext* TwinContext::avctx
AVFloatDSPContext TwinContext::fdsp
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().

const ModeTab* TwinContext::mtab
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().

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().

int16_t TwinContext::permut[4][4096]

Definition at line 189 of file twinvq.c.

Referenced by construct_perm_table(), and dequant().

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().

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().

int TwinContext::n_div[4]
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::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().

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().

int TwinContext::last_block_pos[2]

Definition at line 199 of file twinvq.c.

Referenced by imdct_and_window(), and imdct_output().

int TwinContext::discarded_packets

Definition at line 200 of file twinvq.c.

Referenced by twin_decode_frame().

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::tmp_buf

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