Lines Matching refs:stateIndex
220 int stateIndex = *pStateIndex; in CLpc_Synthesis() local
227 FDK_ASSERT(stateIndex < order); in CLpc_Synthesis()
238 const FIXP_LPC_TNS *pCoeff = coeff + order - stateIndex; in CLpc_Synthesis()
247 stateIndex = ((stateIndex - 1) < 0) ? (order - 1) : (stateIndex - 1); in CLpc_Synthesis()
248 state[stateIndex] = x; in CLpc_Synthesis()
254 *pStateIndex = stateIndex; in CLpc_Synthesis()
263 int stateIndex = *pStateIndex; in CLpc_Synthesis() local
270 FDK_ASSERT(stateIndex < order); in CLpc_Synthesis()
281 const FIXP_LPC *pCoeff = coeff + order - stateIndex; in CLpc_Synthesis()
290 stateIndex = ((stateIndex - 1) < 0) ? (order - 1) : (stateIndex - 1); in CLpc_Synthesis()
291 state[stateIndex] = x; in CLpc_Synthesis()
297 *pStateIndex = stateIndex; in CLpc_Synthesis()
305 int stateIndex; in CLpc_Analysis() local
313 stateIndex = *filtStateIndex; in CLpc_Analysis()
315 stateIndex = 0; in CLpc_Analysis()
335 pCoeff = &coeff[(order - stateIndex)]; in CLpc_Analysis()
342 stateIndex = in CLpc_Analysis()
343 ((stateIndex - 1) < 0) ? (stateIndex - 1 + order) : (stateIndex - 1); in CLpc_Analysis()
344 filtState[stateIndex] = signal[j]; in CLpc_Analysis()
350 *filtStateIndex = stateIndex; in CLpc_Analysis()