Home | History | Annotate | Download | only in lib_src

Lines Matching refs:phase

876  * Calculates the fractional phase increment for the sample rate converter
927 pState->phase = 0;
1120 /* calculate phase increment */
1139 pState->decoderL.output = pState->decoderL.x0 + FMUL_15x15((pState->decoderL.x1 - pState->decoderL.x0), pState->phase & PHASE_FRAC_MASK);
1146 pState->decoderR.output = pState->decoderR.x0 + FMUL_15x15((pState->decoderR.x1 - pState->decoderR.x0), pState->phase & PHASE_FRAC_MASK);
1166 pState->decoderR.output= pState->decoderR.x0 + FMUL_15x15((pState->decoderR.x1 - pState->decoderR.x0), pState->phase & PHASE_FRAC_MASK);
1179 /* advance phase accumulator */
1180 pState->phase += phaseInc;
1182 /* if integer part of phase accumulator is non-zero, advance to next sample */
1183 while (pState->phase & ~PHASE_FRAC_MASK)
1200 /* adjust phase by one sample */
1201 pState->phase -= (1L << NUM_PHASE_FRAC_BITS);