Lines Matching refs:phaseFrac
183 EAS_I32 phaseFrac; in WT_Interpolate() local
203 phaseFrac = pWTVoice->phaseFrac; in WT_Interpolate()
221 acc0 = acc0 * phaseFrac; in WT_Interpolate()
230 phaseFrac += phaseInc; in WT_Interpolate()
232 acc0 = phaseFrac >> NUM_PHASE_FRAC_BITS; in WT_Interpolate()
239 phaseFrac = (EAS_I32)((EAS_U32)phaseFrac & PHASE_FRAC_MASK); in WT_Interpolate()
261 pWTVoice->phaseFrac = (EAS_U32) phaseFrac; in WT_Interpolate()
282 EAS_I32 phaseFrac; in WT_InterpolateNoLoop() local
300 phaseFrac = (EAS_I32)pWTVoice->phaseFrac; in WT_InterpolateNoLoop()
318 acc0 = acc0 * phaseFrac; in WT_InterpolateNoLoop()
327 phaseFrac += phaseInc; in WT_InterpolateNoLoop()
329 acc0 = phaseFrac >> NUM_PHASE_FRAC_BITS; in WT_InterpolateNoLoop()
336 phaseFrac = (EAS_I32)((EAS_U32)phaseFrac & PHASE_FRAC_MASK); in WT_InterpolateNoLoop()
353 pWTVoice->phaseFrac = (EAS_U32) phaseFrac; in WT_InterpolateNoLoop()
468 nInterpolatedSample = MULT_AUDIO_COEF( tmp0, (PHASE_ONE - pWTVoice->phaseFrac)); in WT_NoiseGenerator()
469 nInterpolatedSample += MULT_AUDIO_COEF( tmp1, pWTVoice->phaseFrac); in WT_NoiseGenerator()
473 pWTVoice->phaseFrac += (EAS_U32) phaseInc; in WT_NoiseGenerator()
474 if (GET_PHASE_INT_PART(pWTVoice->phaseFrac)) { in WT_NoiseGenerator()
479 pWTVoice->phaseFrac = GET_PHASE_FRAC_PART(pWTVoice->phaseFrac); in WT_NoiseGenerator()
614 currentPhaseFrac = pWTVoice->phaseFrac; in WT_InterpolateMono()
652 pWTVoice->phaseFrac = currentPhaseFrac; in WT_InterpolateMono()