/frameworks/av/media/libaudioprocessing/ |
D | AudioResampler.cpp | 64 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 …]
|
D | AudioResamplerCubic.cpp | 56 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()
|
D | AudioMixer.cpp | 1155 int32_t vl = prevVolume[0]; in volumeRampStereo() local 1174 *out++ += (vl >> 16) * l; in volumeRampStereo() 1177 vl += vlInc; in volumeRampStereo() 1184 *out++ += (vl >> 16) * (*temp++ >> 12); in volumeRampStereo() 1186 vl += vlInc; in volumeRampStereo() 1190 prevVolume[0] = vl; in volumeRampStereo() 1198 const int16_t vl = volume[0]; in volumeStereo() local 1206 out[0] = mulAdd(l, vl, out[0]); in volumeStereo() 1217 out[0] = mulAdd(l, vl, out[0]); in volumeStereo() 1235 int32_t vl = prevVolume[0]; in track__16BitsStereo() local [all …]
|
/frameworks/av/media/libaudioclient/ |
D | TrackPlayerBase.cpp | 54 void TrackPlayerBase::setPlayerVolume(float vl, float vr) { in setPlayerVolume() argument 57 mPlayerVolumeL = vl; in setPlayerVolume()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | TrackPlayerBase.h | 42 void setPlayerVolume(float vl, float vr);
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 513 float vl = (float)pContext->prevLeftVolume / 4096; in process() local 514 float incl = (((float)pContext->leftVolume / 4096) - vl) / frameCount; in process() 519 pContext->OutFrames[FCC_2 * i] *= vl; in process() 522 vl += incl; in process() 526 LVM_INT32 vl = (LVM_INT32)pContext->prevLeftVolume << 16; in process() 527 LVM_INT32 incl = (((LVM_INT32)pContext->leftVolume << 16) - vl) / frameCount; in process() 533 clamp16((LVM_INT32)((vl >> 16) * OutFrames16[2*i]) >> 12); in process() 537 vl += incl; in process()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 1373 float vl = float_from_gain(gain_minifloat_unpack_left(vlr)); in getVolumeLR() local 1376 if (vl > GAIN_FLOAT_UNITY) { in getVolumeLR() 1377 vl = GAIN_FLOAT_UNITY; in getVolumeLR() 1385 vl *= v; in getVolumeLR() 1388 vlr = gain_minifloat_pack(gain_from_float(vl), gain_from_float(vr)); in getVolumeLR()
|
D | Threads.cpp | 4916 uint32_t vl, vr; // in U8.24 integer format in prepareTracks_l() local 4928 vl = vr = 0; in prepareTracks_l() 4952 vl = (uint32_t) (scaleto8_24 * vlf); in prepareTracks_l() 4968 if (chain != 0 && chain->setVolume_l(&vl, &vr)) { in prepareTracks_l() 4972 vlf = (float)vl / (1 << 24); in prepareTracks_l() 5548 uint32_t vl = (uint32_t)(left * (1 << 24)); in processVolume_l() local 5551 (void)mEffectChains[0]->setVolume_l(&vl, &vr); in processVolume_l()
|
/frameworks/compile/slang/ |
D | slang_rs_reflection.cpp | 3068 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()
|