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

TrueSpeech decoder context. More...

Data Fields

BswapDSPContext bdsp
 
uint8_t buffer [32]
 
int16_t vector [8]
 input vector: 5/5/4/4/4/3/3/3
 
int offset1 [2]
 8-bit value, used in one copying offset
 
int offset2 [4]
 7-bit value, encodes offsets for copying and for two-point filter
 
int pulseoff [4]
 4-bit offset of pulse values block
 
int pulsepos [4]
 27-bit variable, encodes 7 pulse positions
 
int pulseval [4]
 7x2-bit pulse values
 
int flag
 1-bit flag, shows how to choose filters
 
int filtbuf [146]
 
int prevfilt [8]
 
int16_t tmp1 [8]
 
int16_t tmp2 [8]
 
int16_t tmp3 [8]
 
int16_t cvector [8]
 
int filtval
 
int16_t newvec [60]
 
int16_t filters [32]
 

Detailed Description

TrueSpeech decoder context.

Definition at line 38 of file truespeech.c.

Field Documentation

BswapDSPContext TSContext::bdsp

Definition at line 39 of file truespeech.c.

Referenced by truespeech_decode_init(), and truespeech_read_frame().

uint8_t TSContext::buffer[32]

Definition at line 41 of file truespeech.c.

Referenced by truespeech_read_frame().

int16_t TSContext::vector[8]

input vector: 5/5/4/4/4/3/3/3

Definition at line 42 of file truespeech.c.

Referenced by truespeech_correlate_filter(), and truespeech_read_frame().

int TSContext::offset1[2]

8-bit value, used in one copying offset

Definition at line 43 of file truespeech.c.

Referenced by truespeech_apply_twopoint_filter(), and truespeech_read_frame().

int TSContext::offset2[4]

7-bit value, encodes offsets for copying and for two-point filter

Definition at line 44 of file truespeech.c.

Referenced by truespeech_apply_twopoint_filter(), and truespeech_read_frame().

int TSContext::pulseoff[4]

4-bit offset of pulse values block

Definition at line 45 of file truespeech.c.

Referenced by truespeech_place_pulses(), and truespeech_read_frame().

int TSContext::pulsepos[4]

27-bit variable, encodes 7 pulse positions

Definition at line 46 of file truespeech.c.

Referenced by truespeech_place_pulses(), and truespeech_read_frame().

int TSContext::pulseval[4]

7x2-bit pulse values

Definition at line 47 of file truespeech.c.

Referenced by truespeech_place_pulses(), and truespeech_read_frame().

int TSContext::flag

1-bit flag, shows how to choose filters

Definition at line 48 of file truespeech.c.

Referenced by truespeech_filters_merge(), and truespeech_read_frame().

int TSContext::filtbuf[146]

Definition at line 50 of file truespeech.c.

Referenced by truespeech_apply_twopoint_filter(), and truespeech_update_filters().

int TSContext::prevfilt[8]

Definition at line 51 of file truespeech.c.

Referenced by truespeech_filters_merge(), and truespeech_save_prevvec().

int16_t TSContext::tmp1[8]

Definition at line 52 of file truespeech.c.

Referenced by truespeech_synth().

int16_t TSContext::tmp2[8]

Definition at line 53 of file truespeech.c.

Referenced by truespeech_synth().

int16_t TSContext::tmp3[8]

Definition at line 54 of file truespeech.c.

Referenced by truespeech_synth().

int16_t TSContext::cvector[8]
int TSContext::filtval

Definition at line 56 of file truespeech.c.

Referenced by truespeech_correlate_filter(), and truespeech_synth().

int16_t TSContext::newvec[60]

Definition at line 57 of file truespeech.c.

Referenced by truespeech_apply_twopoint_filter(), and truespeech_update_filters().

int16_t TSContext::filters[32]

Definition at line 58 of file truespeech.c.

Referenced by truespeech_filters_merge(), and truespeech_synth().


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