/frameworks/base/services/audioflinger/ |
H A D | AudioResamplerCubic.cpp | 55 int32_t vl = mVolume[0]; local 81 out[outputIndex++] += vl * interp(&left, x); 120 int32_t vl = mVolume[0]; local 147 out[outputIndex++] += vl * sample;
|
H A D | AudioResampler.cpp | 57 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr, 60 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr, 173 int32_t vl = mVolume[0]; local 211 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); 228 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, 234 out[outputIndex++] += vl * Interp(in[inputIndex*2-2], 269 int32_t vl = mVolume[0]; local 305 out[outputIndex++] += vl * sample; 322 AsmMono16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, 330 out[outputIndex++] += vl * sampl 383 AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr, uint32_t &phaseFraction, uint32_t phaseIncrement) argument 493 AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr, uint32_t &phaseFraction, uint32_t phaseIncrement) argument [all...] |
H A D | AudioMixer.cpp | 581 int32_t vl = t->prevVolume[0]; local 587 // t, vlInc/65536.0f, vl/65536.0f, t->volume[0], 588 // (vl + vlInc*frameCount)/65536.0f, frameCount); 600 *out++ += (vl >> 16) * l; 603 vl += vlInc; 610 *out++ += (vl >> 16) * (*temp++ >> 12); 612 vl += vlInc; 616 t->prevVolume[0] = vl; 623 const int16_t vl = t->volume[0]; local 631 out[0] = mulAdd(l, vl, ou 658 int32_t vl = t->prevVolume[0]; local 703 int32_t vl = t->prevVolume[0]; local 746 int32_t vl = t->prevVolume[0]; local 774 const int16_t vl = t->volume[0]; local 789 int32_t vl = t->prevVolume[0]; local 812 const int16_t vl = t->volume[0]; local 1050 const int16_t vl = t.volume[0]; local [all...] |
H A D | AudioFlinger.cpp | 1755 uint32_t vl, vr, va; local 1758 vl = vr = va = 0; 1778 vl = (uint32_t)(v * cblk->volume[0]) << 12; 1784 if (chain != 0 && chain->setVolume_l(&vl, &vr)) { 1799 uint32_t v_clamped = (vl + (1 << 11)) >> 12; 2098 int32_t vl = ((int32_t)mLeftVolShort << 16); local 2100 out[0] = clamp16(mul(out[0], vl >> 16) >> 12); 2102 vl += vlInc; 2110 int32_t vl = ((int32_t)mLeftVolShort << 16); local 2113 out[0] = clamp16(mul(out[0], vl >> 1 2283 uint32_t vl = (uint32_t)(left * (1 << 24)); local [all...] |
/frameworks/base/libs/rs/ |
H A D | rsLight.cpp | 115 void rsi_LightSetColor(Context *rsc, RsLight vl, float r, float g, float b) argument 117 Light *l = static_cast<Light *>(vl); 121 void rsi_LightSetPosition(Context *rsc, RsLight vl, float x, float y, float z) argument 123 Light *l = static_cast<Light *>(vl);
|
/frameworks/base/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 492 LVM_INT32 vl = (LVM_INT32)pContext->prevLeftVolume << 16; local 493 LVM_INT32 incl = (((LVM_INT32)pContext->leftVolume << 16) - vl) / frameCount; 499 clamp16((LVM_INT32)((vl >> 16) * OutFrames16[2*i]) >> 12); 503 vl += incl;
|