ModeTab Struct Reference

Parameters and tables that are different for every combination of bitrate/sample rate. More...

Collaboration diagram for ModeTab:
Collaboration graph

Data Fields

struct FrameMode fmode [3]
 frame type-dependant parameters More...
 
uint16_t size
 frame size in samples More...
 
uint8_t n_lsp
 number of lsp coefficients More...
 
const float * lspcodebook
 
uint8_t lsp_bit0
 
uint8_t lsp_bit1
 
uint8_t lsp_bit2
 
uint8_t lsp_split
 number of CB entries for the LSP decoding More...
 
const int16_t * ppc_shape_cb
 PPC shape CB. More...
 
uint8_t ppc_period_bit
 number of the bits for the PPC period value More...
 
uint8_t ppc_shape_bit
 number of bits of the PPC shape CB coeffs More...
 
uint8_t ppc_shape_len
 size of PPC shape CB More...
 
uint8_t pgain_bit
 bits for PPC gain More...
 
uint16_t peak_per2wid
 constant for peak period to peak width conversion More...
 

Detailed Description

Parameters and tables that are different for every combination of bitrate/sample rate.

Definition at line 70 of file twinvq.c.

Field Documentation

struct FrameMode ModeTab::fmode[3]
uint8_t ModeTab::lsp_bit0

Definition at line 78 of file twinvq.c.

Referenced by init_bitstream_params(), and read_and_decode_spectrum().

uint8_t ModeTab::lsp_bit1

Definition at line 79 of file twinvq.c.

Referenced by decode_lsp(), init_bitstream_params(), and read_and_decode_spectrum().

uint8_t ModeTab::lsp_bit2

Definition at line 80 of file twinvq.c.

Referenced by decode_lsp(), init_bitstream_params(), and read_and_decode_spectrum().

uint8_t ModeTab::lsp_split

number of CB entries for the LSP decoding

Definition at line 82 of file twinvq.c.

Referenced by decode_lsp(), init_bitstream_params(), and read_and_decode_spectrum().

const float* ModeTab::lspcodebook

Definition at line 75 of file twinvq.c.

Referenced by decode_lsp().

uint8_t ModeTab::n_lsp

number of lsp coefficients

Definition at line 74 of file twinvq.c.

Referenced by dec_lpc_spectrum_inv(), decode_lsp(), eval_lpcenv(), and eval_lpcenv_or_interp().

uint16_t ModeTab::peak_per2wid

constant for peak period to peak width conversion

Definition at line 93 of file twinvq.c.

Referenced by decode_ppc().

uint8_t ModeTab::pgain_bit

bits for PPC gain

Definition at line 90 of file twinvq.c.

Referenced by init_bitstream_params(), and read_and_decode_spectrum().

uint8_t ModeTab::ppc_period_bit

number of the bits for the PPC period value

Definition at line 86 of file twinvq.c.

Referenced by decode_ppc(), init_bitstream_params(), and read_and_decode_spectrum().

uint8_t ModeTab::ppc_shape_bit

number of bits of the PPC shape CB coeffs

Definition at line 88 of file twinvq.c.

Referenced by init_bitstream_params().

const int16_t* ModeTab::ppc_shape_cb

PPC shape CB.

Definition at line 83 of file twinvq.c.

Referenced by read_and_decode_spectrum().

uint8_t ModeTab::ppc_shape_len

size of PPC shape CB

Definition at line 89 of file twinvq.c.

Referenced by construct_perm_table(), decode_ppc(), init_bitstream_params(), and read_and_decode_spectrum().


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