Lines Matching defs:state

126   state = pointer to a pointer to a structure containing code state data of
144 This function resets the state data for the ec_gain module.
159 int ec_gain_code_reset (ec_gain_codeState *state)
163 if (state == (ec_gain_codeState *) NULL){
169 state->gbuf[i] = 1;
170 state->past_gain_code = 0;
171 state->prev_gc = 1;
199 Word16 ec_gain_code_reset(ec_gain_codeState *state)
203 if (state == (ec_gain_codeState *) NULL)
210 state->gbuf[i] = 1;
211 state->past_gain_code = 0;
212 state->prev_gc = 1;
224 st = pointer to a pointer to a structure containing code state data of
226 pred_state = pointer to MA predictor state of type gc_predState
227 state = state of the state machine of type Word16
232 st = pointer to a pointer to a structure containing code state data of
234 pred_state = pointer to MA predictor state of type gc_predState
278 // new gain = minimum(median, past_gain) * cdown[state]
283 tmp = mult (tmp, cdown[state]);
317 gc_predState *pred_state, /* i/o : MA predictor state */
318 Word16 state, /* i : state of the state machine */
336 /* new gain = minimum(median, past_gain) * cdown[state] */
341 tmp = mult(tmp, cdown[state], pOverflow);
360 st = pointer to a pointer to a structure containing code state data of
368 st = pointer to a pointer to a structure containing code state data of
385 Purpose : update the codebook gain concealment state;
497 state data of stucture type ec_gain_pitchState
498 state = state of the state machine of type Word16
502 state = pointer to a pointer to a structure containing code
503 state data of stucture type ec_gain_pitchState
547 // new gain = minimum(median, past_gain) * pdown[state]
552 *gain_pitch = mult (tmp, pdown[state]);
578 ec_gain_pitchState *st, /* i/o : state variables */
579 Word16 state, /* i : state of the state machine */
595 /* new gain = minimum(median, past_gain) * pdown[state] */
600 *gain_pitch = mult(tmp, pdown[state], pOverflow);
611 state = state of the state machine of type Word16
615 state = pointer to a pointer to a structure containing code
616 state data of stucture type ec_gain_pitchState
632 Purpose: Resets state memory
647 int ec_gain_pitch_reset (ec_gain_pitchState *state)
651 if (state == (ec_gain_pitchState *) NULL){
657 state->pbuf[i] = 1640;
658 state->past_gain_pit = 0;
659 state->prev_gp = 16384;
686 Word16 ec_gain_pitch_reset(ec_gain_pitchState *state)
690 if (state == (ec_gain_pitchState *) NULL)
697 state->pbuf[i] = 1640;
698 state->past_gain_pit = 0;
699 state->prev_gp = 16384;
715 state data of stucture type ec_gain_pitchState
722 state = pointer to a pointer to a structure containing code
723 state data of stucture type ec_gain_pitchState
739 Purpose : update the pitch gain concealment state;
807 ec_gain_pitchState *st, /* i/o : state variables */