|
|
|
@ -33,13 +33,13 @@ |
|
|
|
|
*/ |
|
|
|
|
typedef struct { |
|
|
|
|
/* input data */ |
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
/* temporary data */ |
|
|
|
|
int filtbuf[146]; // some big vector used for storing filters
|
|
|
|
|
int prevfilt[8]; // filter from previous frame
|
|
|
|
|