Searched refs:vl (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/services/audioflinger/
H A DAudioResampler.cpp61 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
64 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
337 int32_t vl = mVolume[0];
375 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction);
393 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
399 out[outputIndex++] += vl * Interp(in[inputIndex*2-2],
435 int32_t vl = mVolume[0];
471 out[outputIndex++] += vl * sample;
489 AsmMono16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
497 out[outputIndex++] += vl * sampl
[all...]
H A DAudioResamplerCubic.cpp56 int32_t vl = mVolume[0]; local
82 out[outputIndex++] += vl * interp(&left, x);
123 int32_t vl = mVolume[0]; local
151 out[outputIndex++] += vl * sample;
H A DAudioMixer.cpp1117 int32_t vl = t->prevVolume[0]; local
1123 // t, vlInc/65536.0f, vl/65536.0f, t->volume[0],
1124 // (vl + vlInc*frameCount)/65536.0f, frameCount);
1136 *out++ += (vl >> 16) * l;
1139 vl += vlInc;
1146 *out++ += (vl >> 16) * (*temp++ >> 12);
1148 vl += vlInc;
1152 t->prevVolume[0] = vl;
1160 const int16_t vl = t->volume[0]; local
1168 out[0] = mulAdd(l, vl, ou
1197 int32_t vl = t->prevVolume[0]; local
1242 int32_t vl = t->prevVolume[0]; local
1287 int32_t vl = t->prevVolume[0]; local
1315 const int16_t vl = t->volume[0]; local
1330 int32_t vl = t->prevVolume[0]; local
1353 const int16_t vl = t->volume[0]; local
1603 const int16_t vl = t.volume[0]; local
[all...]
H A DTracks.cpp997 float vl = float_from_gain(gain_minifloat_unpack_left(vlr)); local
1000 if (vl > GAIN_FLOAT_UNITY) {
1001 vl = GAIN_FLOAT_UNITY;
1009 vl *= v;
1012 vlr = gain_minifloat_pack(gain_from_float(vl), gain_from_float(vr));
H A DThreads.cpp4118 uint32_t vl, vr; // in U8.24 integer format local
4121 vl = vr = 0;
4148 // then derive vl and vr as U8.24 versions for the effect chain
4150 vl = (uint32_t) (scaleto8_24 * vlf);
4152 // vl and vr are now in U8.24 format
4164 if (chain != 0 && chain->setVolume_l(&vl, &vr)) {
4168 vlf = (float)vl / (1 << 24);
4641 uint32_t vl = (uint32_t)(left * (1 << 24)); local
4648 mEffectChains[0]->setVolume_l(&vl, &vr);
4649 left = (float)vl / (
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp495 LVM_INT32 vl = (LVM_INT32)pContext->prevLeftVolume << 16; local
496 LVM_INT32 incl = (((LVM_INT32)pContext->leftVolume << 16) - vl) / frameCount;
502 clamp16((LVM_INT32)((vl >> 16) * OutFrames16[2*i]) >> 12);
506 vl += incl;
/frameworks/compile/slang/
H A Dslang_rs_reflection.cpp2773 va_list vl; local
2774 va_start(vl, Argc);
2777 const char *ArgType = va_arg(vl, const char *);
2778 const char *ArgName = va_arg(vl, const char *);
2782 va_end(vl);

Completed in 1603 milliseconds