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

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

#include <twinvq.h>

Data Fields

struct TwinVQFrameMode 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 111 of file twinvq.h.

Field Documentation

struct TwinVQFrameMode TwinVQModeTab::fmode[3]
uint16_t TwinVQModeTab::size
uint8_t TwinVQModeTab::n_lsp

number of lsp coefficients

Definition at line 115 of file twinvq.h.

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

const float* TwinVQModeTab::lspcodebook

Definition at line 116 of file twinvq.h.

Referenced by decode_lsp().

uint8_t TwinVQModeTab::lsp_bit0
uint8_t TwinVQModeTab::lsp_bit1
uint8_t TwinVQModeTab::lsp_bit2
uint8_t TwinVQModeTab::lsp_split

number of CB entries for the LSP decoding

Definition at line 123 of file twinvq.h.

Referenced by decode_lsp(), init_bitstream_params(), metasound_read_bitstream(), and twinvq_read_bitstream().

const int16_t* TwinVQModeTab::ppc_shape_cb

PPC shape CB.

Definition at line 124 of file twinvq.h.

Referenced by read_and_decode_spectrum().

uint8_t TwinVQModeTab::ppc_period_bit

number of the bits for the PPC period value

Definition at line 127 of file twinvq.h.

Referenced by decode_ppc(), init_bitstream_params(), metasound_read_bitstream(), and twinvq_read_bitstream().

uint8_t TwinVQModeTab::ppc_shape_bit

number of bits of the PPC shape CB coeffs

Definition at line 129 of file twinvq.h.

Referenced by init_bitstream_params().

uint8_t TwinVQModeTab::ppc_shape_len

size of PPC shape CB

Definition at line 130 of file twinvq.h.

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

uint8_t TwinVQModeTab::pgain_bit

bits for PPC gain

Definition at line 131 of file twinvq.h.

Referenced by decode_ppc(), init_bitstream_params(), metasound_read_bitstream(), and twinvq_read_bitstream().

uint16_t TwinVQModeTab::peak_per2wid

constant for peak period to peak width conversion

Definition at line 134 of file twinvq.h.

Referenced by decode_ppc().


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