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();
90 Accumulator<CHANNELS-1, TO>::acc(coef, data);
94 Accumulator<CHANNELS-1, TO>::volume(out, gain);
177 template <int CHANNELS, int STRIDE, typename TFUNC, typename TC, typename TI, typename TO, typename TINTERP>
188 COMPILE_TIME_ASSERT_FUNCTION_SCOPE(CHANNELS > 0)
190 if (CHANNELS > 2) {
191 // TO accum[CHANNELS];
192 Accumulator<CHANNELS, TO> accum;
194 // for (int j = 0; j < CHANNELS; ++j) accum[j] = 0;
199 // for (int j = 0; j < CHANNELS; ++j) mac(accum[j], c, sP + j);
204 sP -= CHANNELS;
207 // for (int j = 0; j < CHANNELS; ++j) mac(accum[j], c, sN + j);
212 sN += CHANNELS;
214 // for (int j = 0; j < CHANNELS; ++j) out[j] += volumeAdjust(accum[j], volumeLR[0]);
217 } else if (CHANNELS == 2) {
223 sP -= CHANNELS;
226 sN += CHANNELS;
230 } else { /* CHANNELS == 1 */
235 sP -= CHANNELS;
238 sN += CHANNELS;
245 template <int CHANNELS, int STRIDE, typename TC, typename TI, typename TO>
255 ProcessBase<CHANNELS, STRIDE, InterpNull>(out, count, coefsP, coefsN, sP, sN, 0, volumeLR);
258 template <int CHANNELS, int STRIDE, typename TC, typename TI, typename TO, typename TINTERP>
271 ProcessBase<CHANNELS, STRIDE, InterpCompute>(out, count, coefsP, coefsN, sP, sN, lerpP, volumeLR);
336 template<int CHANNELS, bool LOCKED, int STRIDE, typename TC, typename TI, typename TO>
356 const TI* sN = samples + CHANNELS;
359 ProcessL<CHANNELS, STRIDE>(out,
371 const TI* sN = samples + CHANNELS;
387 Process<CHANNELS, STRIDE>(out,
393 Process<CHANNELS, STRIDE>(out,