Home | History | Annotate | Download | only in audioflinger

Lines Matching full:channels

285 template<int CHANNELS>
290 const size_t headOffset = c.halfNumCoefs*CHANNELS;
312 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
315 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
321 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
330 for (size_t i=0 ; i<CHANNELS ; i++) {
331 head[i] = in[inputIndex*CHANNELS + i];
336 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL);
346 read<CHANNELS>(impulse, phaseFraction, in, inputIndex);
361 return outputIndex / CHANNELS;
364 template<int CHANNELS>
376 impulse += CHANNELS;
381 const size_t stateSize = (c.halfNumCoefs*2)*CHANNELS;
386 int16_t* head = impulse + c.halfNumCoefs*CHANNELS;
387 for (size_t i=0 ; i<CHANNELS ; i++) {
388 head[i] = in[inputIndex*CHANNELS + i];
392 template<int CHANNELS>
417 int16_t const* sN = samples + CHANNELS;
425 interpolate<CHANNELS>(l, r, coefsP++, offset, lerpP, sP);
426 sP -= CHANNELS;
427 interpolate<CHANNELS>(l, r, coefsN++, offset, lerpN, sN);
428 sN += CHANNELS;
434 if (CHANNELS == 1) {
437 sP -= CHANNELS*3;
502 } else if (CHANNELS == 2) {
505 sP -= CHANNELS*3;
588 template<int CHANNELS>
597 if (CHANNELS == 2) {