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

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

Data Fields

struct FrameMode fmode [3]
 frame type-dependant parameters
 
uint16_t size
 frame size in samples
 
uint8_t n_lsp
 number of lsp coefficients
 
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
 
const int16_t * ppc_shape_cb
 PPC shape CB.
 
uint8_t ppc_period_bit
 number of the bits for the PPC period value
 
uint8_t ppc_shape_bit
 number of bits of the PPC shape CB coeffs
 
uint8_t ppc_shape_len
 size of PPC shape CB
 
uint8_t pgain_bit
 bits for PPC gain
 
uint16_t peak_per2wid
 constant for peak period to peak width conversion
 

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]
uint16_t ModeTab::size
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().

const float* ModeTab::lspcodebook

Definition at line 75 of file twinvq.c.

Referenced by decode_lsp().

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

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

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

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


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