Lines Matching refs:CHANNELS
79 template<int CHANNELS, typename TO>
80 class Accumulator : public Accumulator<CHANNELS-1, TO> // recursive
85 Accumulator<CHANNELS-1, TO>::clear(); in clear()
90 Accumulator<CHANNELS-1, TO>::acc(coef, data); in acc()
94 Accumulator<CHANNELS-1, TO>::volume(out, gain); in volume()
177 template <int CHANNELS, int STRIDE, typename TFUNC, typename TC, typename TI, typename TO,
189 static_assert(CHANNELS > 0, "CHANNELS must be > 0"); in ProcessBase()
191 if (CHANNELS > 2) { in ProcessBase()
193 Accumulator<CHANNELS, TO> accum; in ProcessBase()
205 sP -= CHANNELS; in ProcessBase()
213 sN += CHANNELS; in ProcessBase()
218 } else if (CHANNELS == 2) { in ProcessBase()
224 sP -= CHANNELS; in ProcessBase()
227 sN += CHANNELS; in ProcessBase()
236 sP -= CHANNELS; in ProcessBase()
239 sN += CHANNELS; in ProcessBase()
249 template <int CHANNELS, int STRIDE, typename TC, typename TI, typename TO>
259 ProcessBase<CHANNELS, STRIDE, InterpNull>(out, count, coefsP, coefsN, sP, sN, 0, volumeLR); in ProcessL()
295 template <int CHANNELS, int STRIDE, typename TC, typename TI, typename TO, typename TINTERP>
308 ProcessBase<CHANNELS, STRIDE, InterpCompute>(out, count, coefsP, coefsN, sP, sN, lerpP, in Process()
374 template<int CHANNELS, bool LOCKED, int STRIDE, typename TC, typename TI, typename TO>
394 const TI* sN = samples + CHANNELS; in fir()
397 ProcessL<CHANNELS, STRIDE>(out, in fir()
409 const TI* sN = samples + CHANNELS; in fir()
425 Process<CHANNELS, STRIDE>(out, in fir()
431 Process<CHANNELS, STRIDE>(out, in fir()