Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/
DAudioResampler.cpp64 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
67 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
340 int32_t vl = mVolume[0]; in resampleStereo16() local
378 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); in resampleStereo16()
396 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, in resampleStereo16()
402 out[outputIndex++] += vl * Interp(in[inputIndex*2-2], in resampleStereo16()
438 int32_t vl = mVolume[0]; in resampleMono16() local
474 out[outputIndex++] += vl * sample; in resampleMono16()
492 AsmMono16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, in resampleMono16()
500 out[outputIndex++] += vl * sample; in resampleMono16()
[all …]
DAudioMixerBase.cpp777 int32_t vl = prevVolume[0]; in volumeRampStereo() local
796 *out++ += (vl >> 16) * l; in volumeRampStereo()
799 vl += vlInc; in volumeRampStereo()
806 *out++ += (vl >> 16) * (*temp++ >> 12); in volumeRampStereo()
808 vl += vlInc; in volumeRampStereo()
812 prevVolume[0] = vl; in volumeRampStereo()
820 const int16_t vl = volume[0]; in volumeStereo() local
828 out[0] = mulAdd(l, vl, out[0]); in volumeStereo()
839 out[0] = mulAdd(l, vl, out[0]); in volumeStereo()
857 int32_t vl = prevVolume[0]; in track__16BitsStereo() local
[all …]
DAudioResamplerCubic.cpp56 int32_t vl = mVolume[0]; in resampleStereo16() local
82 out[outputIndex++] += vl * interp(&left, x); in resampleStereo16()
123 int32_t vl = mVolume[0]; in resampleMono16() local
151 out[outputIndex++] += vl * sample; in resampleMono16()
/frameworks/av/media/libaudioclient/
DTrackPlayerBase.cpp54 void TrackPlayerBase::setPlayerVolume(float vl, float vr) { in setPlayerVolume() argument
57 mPlayerVolumeL = vl; in setPlayerVolume()
/frameworks/av/media/libaudioclient/include/media/
DTrackPlayerBase.h42 void setPlayerVolume(float vl, float vr);
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp425 float vl = (float)pContext->prevLeftVolume / 4096; in process() local
426 float incl = (((float)pContext->leftVolume / 4096) - vl) / frameCount; in process()
431 pContext->OutFrames[FCC_2 * i] *= vl; in process()
434 vl += incl; in process()
/frameworks/av/services/audioflinger/
DTracks.cpp1354 float vl = float_from_gain(gain_minifloat_unpack_left(vlr)); in getVolumeLR() local
1357 if (vl > GAIN_FLOAT_UNITY) { in getVolumeLR()
1358 vl = GAIN_FLOAT_UNITY; in getVolumeLR()
1366 vl *= v; in getVolumeLR()
1369 vlr = gain_minifloat_pack(gain_from_float(vl), gain_from_float(vr)); in getVolumeLR()
DThreads.cpp5016 uint32_t vl, vr; // in U8.24 integer format in prepareTracks_l() local
5032 vl = vr = 0; in prepareTracks_l()
5054 vl = (uint32_t) (scaleto8_24 * vlf); in prepareTracks_l()
5070 if (chain != 0 && chain->setVolume_l(&vl, &vr)) { in prepareTracks_l()
5074 vlf = (float)vl / (1 << 24); in prepareTracks_l()
5598 uint32_t vl = (uint32_t)(left * (1 << 24)); in processVolume_l() local
5601 (void)mEffectChains[0]->setVolume_l(&vl, &vr); in processVolume_l()
/frameworks/compile/slang/
Dslang_rs_reflection.cpp3068 va_list vl; in startFunction() local
3069 va_start(vl, Argc); in startFunction()
3072 const char *ArgType = va_arg(vl, const char *); in startFunction()
3073 const char *ArgName = va_arg(vl, const char *); in startFunction()
3077 va_end(vl); in startFunction()