Lines Matching refs:TO
50 template <typename TO, typename TI, typename TV>
51 TO MixMul(TI value, TV volume);
171 template <typename TO, typename TI>
172 inline void MixAccum(TO *auxaccum, TI value) { in MixAccum()
173 if (!std::is_same_v<TO, TI>) { in MixAccum()
175 sizeof(TO), sizeof(TI)); in MixAccum()
206 template <typename TO, typename TI, typename TV, typename TA>
207 inline TO MixMulAux(TI value, TV volume, TA *auxaccum) { in MixMulAux()
209 return MixMul<TO, TI, TV>(value, volume); in MixMulAux()
233 typename TO, typename TI, typename TV,
235 void stereoVolumeHelper(TO*& out, const TI*& in, const TV *vol, F f) { in stereoVolumeHelper()
365 typename TO, typename TI, typename TV, typename TA, typename TAV>
366 inline void volumeRampMulti(TO* out, size_t frameCount, in volumeRampMulti()
378 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); in volumeRampMulti()
384 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); in volumeRampMulti()
389 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); in volumeRampMulti()
394 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); in volumeRampMulti()
403 return MixMulAux<TO, TI, TV, TA>(a, b, &auxaccum); in volumeRampMulti()
421 *out++ += MixMul<TO, TI, TV>(*in++, vol[i]); in volumeRampMulti()
427 *out++ = MixMul<TO, TI, TV>(*in++, vol[i]); in volumeRampMulti()
432 *out++ += MixMul<TO, TI, TV>(*in++, vol[0]); in volumeRampMulti()
437 *out++ = MixMul<TO, TI, TV>(*in++, vol[0]); in volumeRampMulti()
445 return MixMul<TO, TI, TV>(a, b); in volumeRampMulti()
459 typename TO, typename TI, typename TV, typename TA, typename TAV>
460 inline void volumeMulti(TO* out, size_t frameCount, in volumeMulti()
472 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); in volumeMulti()
477 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); in volumeMulti()
481 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); in volumeMulti()
485 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); in volumeMulti()
493 return MixMulAux<TO, TI, TV, TA>(a, b, &auxaccum); in volumeMulti()
509 *out++ += MixMul<TO, TI, TV>(*in++, vol[i]); in volumeMulti()
514 *out++ = MixMul<TO, TI, TV>(*in++, vol[i]); in volumeMulti()
518 *out++ += MixMul<TO, TI, TV>(*in++, vol[0]); in volumeMulti()
522 *out++ = MixMul<TO, TI, TV>(*in++, vol[0]); in volumeMulti()
529 return MixMul<TO, TI, TV>(a, b); in volumeMulti()