Lines Matching refs:TO
57 /* variant for output type TO = int32_t output samples */
64 /* variant for output type TO = float output samples */
75 * Using a recursive template rather than an array of TO[] for the accumulator
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);
92 inline void volume(TO*& out, TO gain) {
94 Accumulator<CHANNELS-1, TO>::volume(out, gain);
97 TO value; // one per recursive inherited base class
100 template<typename TO>
101 class Accumulator<0, TO> {
108 inline void volume(TO*& out __unused, TO gain __unused) {
177 template <int CHANNELS, int STRIDE, typename TFUNC, typename TC, typename TI, typename TO,
180 void ProcessBase(TO* const out,
187 const TO* const volumeLR)
192 // TO accum[CHANNELS];
193 Accumulator<CHANNELS, TO> accum;
216 TO *tmp_out = out; // may remove if const out definition changes.
219 TO l = 0;
220 TO r = 0;
232 TO l = 0;
249 template <int CHANNELS, int STRIDE, typename TC, typename TI, typename TO>
251 void ProcessL(TO* const out,
257 const TO* const volumeLR)
295 template <int CHANNELS, int STRIDE, typename TC, typename TI, typename TO, typename TINTERP>
297 void Process(TO* const out,
306 const TO* const volumeLR)
374 template<int CHANNELS, bool LOCKED, int STRIDE, typename TC, typename TI, typename TO>
376 void fir(TO* const out,
379 const TI* const samples, const TO* const volumeLR)