Home | History | Annotate | Download | only in libaudioprocessing

Lines Matching refs:CHANNELS

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