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

Data Fields

AVCodecContextavctx
 
AVFrame frame
 
DSPContext dsp
 
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 178 of file twinvq.c.

Field Documentation

AVCodecContext* TwinContext::avctx
AVFrame TwinContext::frame

Definition at line 180 of file twinvq.c.

Referenced by twin_decode_frame(), and twin_decode_init().

DSPContext TwinContext::dsp

Definition at line 181 of file twinvq.c.

Referenced by imdct_and_window(), imdct_output(), and twin_decode_init().

AVFloatDSPContext TwinContext::fdsp

Definition at line 182 of file twinvq.c.

Referenced by read_and_decode_spectrum(), and twin_decode_init().

FFTContext TwinContext::mdct_ctx[3]

Definition at line 183 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 188 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 189 of file twinvq.c.

Referenced by dec_bark_env(), and twin_decode_init().

int16_t TwinContext::permut[4][4096]

Definition at line 192 of file twinvq.c.

Referenced by construct_perm_table(), and dequant().

uint8_t TwinContext::length[4][2]

main codebook stride

Definition at line 193 of file twinvq.c.

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

uint8_t TwinContext::length_change[4]

Definition at line 194 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 195 of file twinvq.c.

Referenced by dequant(), and init_bitstream_params().

int TwinContext::bits_main_spec_change[4]

Definition at line 196 of file twinvq.c.

Referenced by dequant(), and init_bitstream_params().

int TwinContext::n_div[4]
float* TwinContext::spectrum

Definition at line 199 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 200 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 201 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 202 of file twinvq.c.

Referenced by imdct_and_window(), and imdct_output().

int TwinContext::discarded_packets

Definition at line 203 of file twinvq.c.

Referenced by twin_decode_frame().

float* TwinContext::cos_tabs[3]

Definition at line 205 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: