Lines Matching refs:TO
59 template <typename TO, typename TI, typename TV>
60 TO MixMul(TI value, TV volume);
180 template <typename TO, typename TI>
181 inline void MixAccum(TO *auxaccum, TI value) {
182 if (!is_same<TO, TI>::value) {
184 sizeof(TO), sizeof(TI));
215 template <typename TO, typename TI, typename TV, typename TA>
216 inline TO MixMulAux(TI value, TV volume, TA *auxaccum) {
218 return MixMul<TO, TI, TV>(value, volume);
277 typename TO, typename TI, typename TV, typename TA, typename TAV>
278 inline void volumeRampMulti(TO* out, size_t frameCount,
290 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum);
296 *out++ += MixMulAux<TO, TI, TV, TA>(*in, vol[i], &auxaccum);
303 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum);
309 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum);
315 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum);
332 *out++ += MixMul<TO, TI, TV>(*in++, vol[i]);
338 *out++ += MixMul<TO, TI, TV>(*in, vol[i]);
345 *out++ = MixMul<TO, TI, TV>(*in++, vol[i]);
351 *out++ += MixMul<TO, TI, TV>(*in++, vol[0]);
357 *out++ = MixMul<TO, TI, TV>(*in++, vol[0]);
370 typename TO, typename TI, typename TV, typename TA, typename TAV>
371 inline void volumeMulti(TO* out, size_t frameCount,
383 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum);
388 *out++ += MixMulAux<TO, TI, TV, TA>(*in, vol[i], &auxaccum);
394 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum);
399 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum);
404 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum);
419 *out++ += MixMul<TO, TI, TV>(*in++, vol[i]);
424 *out++ += MixMul<TO, TI, TV>(*in, vol[i]);
430 *out++ = MixMul<TO, TI, TV>(*in++, vol[i]);
435 *out++ += MixMul<TO, TI, TV>(*in++, vol[0]);
440 *out++ = MixMul<TO, TI, TV>(*in++, vol[0]);