Lines Matching refs:vol

253 void stereoVolumeHelperWithChannelMask(TO*& out, const TI*& in, const TV *vol, F f) {  in stereoVolumeHelperWithChannelMask()  argument
276 center = (vol[0] + vol[1]) * 0.5; // do not use divide in stereoVolumeHelperWithChannelMask()
278 center = (vol[0] >> 1) + (vol[1] >> 1); // rounds to 0. in stereoVolumeHelperWithChannelMask()
296 proc(*out++, f(inp(), vol[0])); \ in stereoVolumeHelperWithChannelMask()
299 proc(*out++, f(inp(), vol[1])); \ in stereoVolumeHelperWithChannelMask()
361 void stereoVolumeHelper(TO*& out, const TI*& in, const TV *vol, F f) { in stereoVolumeHelper() argument
372 stereoVolumeHelperWithChannelMask<MIXTYPE, MASK, TO, TI, TV, F>(out, in, vol, f); in stereoVolumeHelper()
434 const TI* in, TA* aux, TV *vol, const TV *volinc, TAV *vola, TAV volainc) in volumeRampMulti() argument
445 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); in volumeRampMulti()
446 vol[i] += volinc[i]; in volumeRampMulti()
451 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); in volumeRampMulti()
452 vol[i] += volinc[i]; in volumeRampMulti()
456 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); in volumeRampMulti()
458 vol[0] += volinc[0]; in volumeRampMulti()
461 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); in volumeRampMulti()
463 vol[0] += volinc[0]; in volumeRampMulti()
469 out, in, vol, [&auxaccum] (auto &a, const auto &b) { in volumeRampMulti()
474 vol[0] += volinc[0]; in volumeRampMulti()
475 vol[1] += volinc[1]; in volumeRampMulti()
488 *out++ += MixMul<TO, TI, TV>(*in++, vol[i]); in volumeRampMulti()
489 vol[i] += volinc[i]; in volumeRampMulti()
494 *out++ = MixMul<TO, TI, TV>(*in++, vol[i]); in volumeRampMulti()
495 vol[i] += volinc[i]; in volumeRampMulti()
499 *out++ += MixMul<TO, TI, TV>(*in++, vol[0]); in volumeRampMulti()
501 vol[0] += volinc[0]; in volumeRampMulti()
504 *out++ = MixMul<TO, TI, TV>(*in++, vol[0]); in volumeRampMulti()
506 vol[0] += volinc[0]; in volumeRampMulti()
511 stereoVolumeHelper<MIXTYPE, NCHAN>(out, in, vol, [] (auto &a, const auto &b) { in volumeRampMulti()
516 vol[0] += volinc[0]; in volumeRampMulti()
517 vol[1] += volinc[1]; in volumeRampMulti()
528 const TI* in, TA* aux, const TV *vol, TAV vola) in volumeMulti() argument
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()
559 out, in, vol, [&auxaccum] (auto &a, const auto &b) { 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()
595 stereoVolumeHelper<MIXTYPE, NCHAN>(out, in, vol, [] (auto &a, const auto &b) { in volumeMulti()