Lines Matching refs:CHANNELS
293 template<int CHANNELS>
298 const size_t headOffset = c.halfNumCoefs*CHANNELS; in resample()
319 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
322 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
328 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
337 for (size_t i=0 ; i<CHANNELS ; i++) { in resample()
338 head[i] = in[inputIndex*CHANNELS + i]; in resample()
343 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL); in resample()
353 read<CHANNELS>(impulse, phaseFraction, in, inputIndex); in resample()
368 return outputIndex / CHANNELS; in resample()
371 template<int CHANNELS>
383 impulse += CHANNELS; in read()
388 const size_t stateSize = (c.halfNumCoefs*2)*CHANNELS; in read()
393 int16_t* head = impulse + c.halfNumCoefs*CHANNELS; in read()
394 for (size_t i=0 ; i<CHANNELS ; i++) { in read()
395 head[i] = in[inputIndex*CHANNELS + i]; in read()
399 template<int CHANNELS>
424 int16_t const* sN = samples + CHANNELS; in filterCoefficient()
432 interpolate<CHANNELS>(l, r, coefsP++, offset, lerpP, sP); in filterCoefficient()
433 sP -= CHANNELS; in filterCoefficient()
434 interpolate<CHANNELS>(l, r, coefsN++, offset, lerpN, sN); in filterCoefficient()
435 sN += CHANNELS; in filterCoefficient()
441 if (CHANNELS == 1) { in filterCoefficient()
444 sP -= CHANNELS*3; in filterCoefficient()
509 } else if (CHANNELS == 2) { in filterCoefficient()
512 sP -= CHANNELS*3; in filterCoefficient()
595 template<int CHANNELS>
604 if (CHANNELS == 2) { in interpolate()