Lines Matching defs:state
1254 vadState1 *st, /* i/o : VAD state struct */
1263 /* adapt speed on own state */
1267 { /* low state */
1271 { /* high state */
1372 vadState1 *st, /* i/o : VAD state struct */
1578 state -- double pointer to type vadState1 -- pointer to memory to
1582 state -- points to initalized area in memory.
1596 Allocates state memory and initializes state memory
1635 Word16 vad1_init(vadState1 **state)
1639 if (state == (vadState1 **) NULL)
1643 *state = NULL;
1653 *state = s;
1665 state -- pointer to type vadState1 -- State struct
1668 state -- pointer to type vadState1 -- State struct
1682 Purpose: Resets state memory to zero
1721 Word16 vad1_reset(vadState1 *state)
1726 if (state == (vadState1 *) NULL)
1732 state->oldlag_count = 0;
1733 state->oldlag = 0;
1734 state->pitch = 0;
1735 state->tone = 0;
1737 state->complex_high = 0;
1738 state->complex_low = 0;
1739 state->complex_hang_timer = 0;
1741 state->vadreg = 0;
1743 state->stat_count = 0;
1744 state->burst_count = 0;
1745 state->hang_count = 0;
1746 state->complex_hang_count = 0;
1753 state->a_data5[i][j] = 0;
1759 state->a_data3[i] = 0;
1765 state->bckr_est[i] = NOISE_INIT;
1766 state->old_level[i] = NOISE_INIT;
1767 state->ave_level[i] = NOISE_INIT;
1768 state->sub_level[i] = 0;
1771 state->best_corr_hp = CVAD_LOWPOW_RESET;
1773 state->speech_vad_decision = 0;
1774 state->complex_warning = 0;
1775 state->sp_burst_count = 0;
1777 state->corr_hp_fast = CVAD_LOWPOW_RESET;
1790 state -- pointer to type vadState1 -- State struct
1807 The memory used for state memory is freed
1846 void vad1_exit(vadState1 **state)
1848 if (state == NULL || *state == NULL)
1852 free(*state);
1853 *state = NULL;
1867 state -- pointer to type vadState1 -- State struct
1870 state -- pointer to type vadState1 -- State struct
1884 Purpose : update vad->bestCorr_hp complex signal feature state
2137 Return value : Boolean voiced / unvoiced decision in state variable