Home | History | Annotate | Download | only in audioflinger

Lines Matching full: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,
189 COMPILE_TIME_ASSERT_FUNCTION_SCOPE(CHANNELS > 0)
191 if (CHANNELS > 2) {
192 // TO accum[CHANNELS];
193 Accumulator<CHANNELS, TO> accum;
195 // for (int j = 0; j < CHANNELS; ++j) accum[j] = 0;
200 // for (int j = 0; j < CHANNELS; ++j) mac(accum[j], c, sP + j);
205 sP -= CHANNELS;
208 // for (int j = 0; j < CHANNELS; ++j) mac(accum[j], c, sN + j);
213 sN += CHANNELS;
215 // for (int j = 0; j < CHANNELS; ++j) out[j] += volumeAdjust(accum[j], volumeLR[0]);
218 } else if (CHANNELS == 2) {
224 sP -= CHANNELS;
227 sN += CHANNELS;
231 } else { /* CHANNELS == 1 */
236 sP -= CHANNELS;
239 sN += CHANNELS;
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);
282 * starting at the original samples pointer and decrementing (by CHANNELS).
285 * starting at the original samples pointer + CHANNELS and incrementing (by CHANNELS).
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,
374 template<int CHANNELS, bool LOCKED, int STRIDE, typename TC, typename TI, typename TO>
394 const TI* sN = samples + CHANNELS;
397 ProcessL<CHANNELS, STRIDE>(out,
409 const TI* sN = samples + CHANNELS;
425 Process<CHANNELS, STRIDE>(out,
431 Process<CHANNELS, STRIDE>(out,