Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
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,
300 int32_t vl = mVolume[0]; in resampleStereo16() local
339 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); in resampleStereo16()
356 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, in resampleStereo16()
362 out[outputIndex++] += vl * Interp(in[inputIndex*2-2], in resampleStereo16()
397 int32_t vl = mVolume[0]; in resampleMono16() local
434 out[outputIndex++] += vl * sample; in resampleMono16()
451 AsmMono16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, in resampleMono16()
459 out[outputIndex++] += vl * sample; in resampleMono16()
[all …]
DAudioMixer.cpp816 int32_t vl = t->prevVolume[0]; in volumeRampStereo() local
835 *out++ += (vl >> 16) * l; in volumeRampStereo()
838 vl += vlInc; in volumeRampStereo()
845 *out++ += (vl >> 16) * (*temp++ >> 12); in volumeRampStereo()
847 vl += vlInc; in volumeRampStereo()
851 t->prevVolume[0] = vl; in volumeRampStereo()
859 const int16_t vl = t->volume[0]; in volumeStereo() local
867 out[0] = mulAdd(l, vl, out[0]); in volumeStereo()
878 out[0] = mulAdd(l, vl, out[0]); in volumeStereo()
895 int32_t vl = t->prevVolume[0]; in track__16BitsStereo() local
[all …]
DAudioResamplerCubic.cpp55 int32_t vl = mVolume[0]; in resampleStereo16() local
81 out[outputIndex++] += vl * interp(&left, x); in resampleStereo16()
121 int32_t vl = mVolume[0]; in resampleMono16() local
148 out[outputIndex++] += vl * sample; in resampleMono16()
DThreads.cpp3083 uint32_t vl, vr, va; in prepareTracks_l() local
3085 vl = vr = va = 0; in prepareTracks_l()
3096 vl = vlr & 0xFFFF; in prepareTracks_l()
3099 if (vl > MAX_GAIN_INT) { in prepareTracks_l()
3100 ALOGV("Track left volume out of range: %04X", vl); in prepareTracks_l()
3101 vl = MAX_GAIN_INT; in prepareTracks_l()
3108 vl = (uint32_t)(v * vl) << 12; in prepareTracks_l()
3123 if (chain != 0 && chain->setVolume_l(&vl, &vr)) { in prepareTracks_l()
3138 vl = (vl + (1 << 11)) >> 12; in prepareTracks_l()
3139 if (vl > MAX_GAIN_INT) { in prepareTracks_l()
[all …]
DTracks.cpp914 uint32_t vl = vlr & 0xFFFF; in getVolumeLR() local
917 if (vl > MAX_GAIN_INT) { in getVolumeLR()
918 vl = MAX_GAIN_INT; in getVolumeLR()
926 vl *= v; in getVolumeLR()
929 vlr = (vr << 16) | (vl & 0xFFFF); in getVolumeLR()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp493 LVM_INT32 vl = (LVM_INT32)pContext->prevLeftVolume << 16; in process() local
494 LVM_INT32 incl = (((LVM_INT32)pContext->leftVolume << 16) - vl) / frameCount; in process()
500 clamp16((LVM_INT32)((vl >> 16) * OutFrames16[2*i]) >> 12); in process()
504 vl += incl; in process()
/frameworks/compile/slang/
Dslang_rs_reflection.cpp2249 va_list vl; in startFunction() local
2250 va_start(vl, Argc); in startFunction()
2253 const char *ArgType = va_arg(vl, const char*); in startFunction()
2254 const char *ArgName = va_arg(vl, const char*); in startFunction()
2258 va_end(vl); in startFunction()