Lines Matching refs:TO
52 template <typename TO, typename TI, typename TV>
53 TO MixMul(TI value, TV volume);
173 template <typename TO, typename TI>
174 inline void MixAccum(TO *auxaccum, TI value) { in MixAccum()
175 if (!std::is_same_v<TO, TI>) { in MixAccum()
177 sizeof(TO), sizeof(TI)); in MixAccum()
208 template <typename TO, typename TI, typename TV, typename TA>
209 inline TO MixMulAux(TI value, TV volume, TA *auxaccum) { in MixMulAux()
211 return MixMul<TO, TI, TV>(value, volume); in MixMulAux()
251 typename TO, typename TI, typename TV,
253 void stereoVolumeHelperWithChannelMask(TO*& out, const TI*& in, const TV *vol, F f) { in stereoVolumeHelperWithChannelMask()
359 typename TO, typename TI, typename TV,
361 void stereoVolumeHelper(TO*& out, const TI*& in, const TV *vol, F f) { in stereoVolumeHelper()
372 stereoVolumeHelperWithChannelMask<MIXTYPE, MASK, TO, TI, TV, F>(out, in, vol, f); in stereoVolumeHelper()
432 typename TO, typename TI, typename TV, typename TA, typename TAV>
433 inline void volumeRampMulti(TO* out, size_t frameCount, in volumeRampMulti()
445 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); in volumeRampMulti()
451 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); in volumeRampMulti()
456 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); in volumeRampMulti()
461 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); in volumeRampMulti()
470 return MixMulAux<TO, TI, TV, TA>(a, b, &auxaccum); in volumeRampMulti()
488 *out++ += MixMul<TO, TI, TV>(*in++, vol[i]); in volumeRampMulti()
494 *out++ = MixMul<TO, TI, TV>(*in++, vol[i]); in volumeRampMulti()
499 *out++ += MixMul<TO, TI, TV>(*in++, vol[0]); in volumeRampMulti()
504 *out++ = MixMul<TO, TI, TV>(*in++, vol[0]); in volumeRampMulti()
512 return MixMul<TO, TI, TV>(a, b); in volumeRampMulti()
526 typename TO, typename TI, typename TV, typename TA, typename TAV>
527 inline void volumeMulti(TO* out, size_t frameCount, in volumeMulti()
539 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); in volumeMulti()
544 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); in volumeMulti()
548 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); in volumeMulti()
552 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); in volumeMulti()
560 return MixMulAux<TO, TI, TV, TA>(a, b, &auxaccum); in volumeMulti()
576 *out++ += MixMul<TO, TI, TV>(*in++, vol[i]); in volumeMulti()
581 *out++ = MixMul<TO, TI, TV>(*in++, vol[i]); in volumeMulti()
585 *out++ += MixMul<TO, TI, TV>(*in++, vol[0]); in volumeMulti()
589 *out++ = MixMul<TO, TI, TV>(*in++, vol[0]); in volumeMulti()
596 return MixMul<TO, TI, TV>(a, b); in volumeMulti()