/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_Process.cpp | 282 LVM_FLOAT Gain = pInstance->VolCorrect.CompMin; in LVCS_Process() local 286 Gain = (LVM_FLOAT)( pInstance->VolCorrect.CompMin in LVCS_Process() 293 NonLinComp_Float(Gain, /* Compressor gain setting */ in LVCS_Process() 298 NonLinComp_Float(Gain, /* Compressor gain setting */ in LVCS_Process() 314 GainStep = (LVM_FLOAT)(((Gain-pInstance->CompressGain) * \ in LVCS_Process() 317 if((GainStep == 0) && (pInstance->CompressGain < Gain)) in LVCS_Process() 323 if((GainStep == 0) && (pInstance->CompressGain > Gain)) in LVCS_Process() 329 FinalGain = Gain; in LVCS_Process() 330 Gain = pInstance->CompressGain; in LVCS_Process() 339 Gain = (LVM_FLOAT)(Gain + GainStep); in LVCS_Process() [all …]
|
D | LVCS_Control.cpp | 124 LVM_FLOAT Gain; in LVCS_Control() local 126 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss); in LVCS_Control() 127 Gain = (LVM_FLOAT)pOutputGainTable[Offset].UnprocLoss * (Gain); in LVCS_Control() 132 Gain = (Gain * pInstance->VolCorrect.GainMin); in LVCS_Control() 134 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[1], 0, Gain); in LVCS_Control()
|
D | LVCS_BypassMix.cpp | 73 LVM_FLOAT Gain; in LVCS_BypassMixInit() local 104 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain); in LVCS_BypassMixInit() 112 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[0], (LVM_FLOAT)(Gain), Current); in LVCS_BypassMixInit() 119 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * (1.0 - \ in LVCS_BypassMixInit() 121 Gain = (LVM_FLOAT)pOutputGainTable[Offset].UnprocLoss * Gain; in LVCS_BypassMixInit() 123 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[1], (LVM_FLOAT)(Gain), Current); in LVCS_BypassMixInit()
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | NonLinComp_D16.cpp | 64 void NonLinComp_D16(LVM_INT16 Gain, in NonLinComp_D16() argument 96 Sample = (LVM_INT16)(Sample + ((Gain * (Sample - Temp)) >> 15)); in NonLinComp_D16() 100 Sample = (LVM_INT16)(Sample + ((Gain * (Sample + Temp)) >> 15)); in NonLinComp_D16() 113 void NonLinComp_Float(LVM_FLOAT Gain, in NonLinComp_Float() argument 144 Sample = (Sample + ((Gain * (Sample - Temp)) )); in NonLinComp_Float() 148 Sample = (Sample + ((Gain * (Sample + Temp)) )); in NonLinComp_Float()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_CalcCoef.cpp | 126 LVM_INT16 Gain = pFilterDefinition->Gain; in LVEQNB_SinglePrecCoefs() local 144 if (Gain >= 0) in LVEQNB_SinglePrecCoefs() 150 D = LVEQNB_DTable[Gain + 15]; /* D = 1 / (1 + G) if GaindB < 0 */ in LVEQNB_SinglePrecCoefs() 167 pCoefficients->G = LVEQNB_GainTable[Gain + 15]; in LVEQNB_SinglePrecCoefs()
|
D | LVEQNB_Control.cpp | 326 … (pInstance->pBandDefinitions[i].Gain != pParams->pBandDefinition[i].Gain )|| in LVEQNB_Control()
|
D | LVEQNB_Process.cpp | 118 if (pInstance->pBandDefinitions[i].Gain != 0) in LVEQNB_Process()
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_ApplyNewSettings.cpp | 384 LVM_FLOAT Gain=0; in LVREV_ApplyNewSettings() local 425 Gain = LVM_Polynomial(3, Coefs, T60); /* Q.24 result */ in LVREV_ApplyNewSettings() 457 Gain = Gain1 + (((Gain2 - Gain1) * Dist) / (Tot_Dist)); in LVREV_ApplyNewSettings() 464 if(Gain < 1) in LVREV_ApplyNewSettings() 466 pPrivate->Gain = 1; in LVREV_ApplyNewSettings() 470 pPrivate->Gain = 1 / Gain; in LVREV_ApplyNewSettings() 474 pPrivate->Gain = pPrivate->Gain * Index_FLOAT; in LVREV_ApplyNewSettings() 475 pPrivate->GainMixer.Target = (pPrivate->Gain*Index_FLOAT) / 2; in LVREV_ApplyNewSettings()
|
D | LVREV_Private.h | 168 LVM_FLOAT Gain; /* Gain applied to output to maintain member
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | CompLim.h | 61 void NonLinComp_Float(LVM_FLOAT Gain,
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | producer_buffer.h | 52 int Gain(LocalHandle* release_fence, bool gain_posted_buffer = false);
|
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_buffer_queue-test.cpp | 406 std::function<void(size_t i)> Gain = [&](size_t i) { in TEST_F() local 478 ASSERT_NO_FATAL_FAILURE(Gain(i)); in TEST_F() 498 ASSERT_NO_FATAL_FAILURE(Gain(i)); in TEST_F() 512 ASSERT_NO_FATAL_FAILURE(Gain(i)); in TEST_F()
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Control.cpp | 156 ((pParams->pEQNB_BandDefinition[i].Gain < LVM_EQNB_MIN_BAND_GAIN) || in LVM_SetControlParameters() 157 (pParams->pEQNB_BandDefinition[i].Gain > LVM_EQNB_MAX_BAND_GAIN)) || in LVM_SetControlParameters() 475 if(pParams->pEQNB_BandDefinition[ii].Gain > MaxGain) in LVM_SetHeadroom() 477 MaxGain = pParams->pEQNB_BandDefinition[ii].Gain; in LVM_SetHeadroom()
|
/frameworks/native/libs/vr/libbufferhub/ |
D | buffer_hub-test.cpp | 100 EXPECT_EQ(0, p->Gain(&fence)); in TEST_F() 226 EXPECT_EQ(-EBUSY, p->Gain(&fence)); in TEST_F() 234 EXPECT_EQ(-EBUSY, p->Gain(&fence)); in TEST_F() 245 EXPECT_EQ(0, p->Gain(&fence)); in TEST_F() 336 EXPECT_EQ(-EBUSY, p->Gain(&invalid_fence, false)); in TEST_F() 337 EXPECT_EQ(0, p->Gain(&invalid_fence, true)); in TEST_F() 373 EXPECT_EQ(0, p->Gain(&invalid_fence, false)); in TEST_F()
|
D | producer_buffer.cpp | 244 int ProducerBuffer::Gain(LocalHandle* release_fence, bool gain_posted_buffer) { in Gain() function in android::dvr::ProducerBuffer
|
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/ |
D | LVEQNB.h | 241 LVM_INT16 Gain; /* Band gain in dB */ member
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/ |
D | LVM.h | 237 LVM_INT16 Gain; /* Band gain in dB */ member
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | lvmtest.cpp | 377 BandDefs[i].Gain = EQNB_5BandSoftPresets[i]; in LvmBundle_init() 579 BandDefs[i].Gain = in lvmControl()
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 640 BandDefs[i].Gain = EQNB_5BandSoftPresets[i]; in LvmBundle_init() 796 ActiveParams.pEQNB_BandDefinition[i].Gain = pContext->pBundledContext->bandGaindB[i]; in EqualizerUpdateActiveParams() 1579 void EqualizerSetBandLevel(EffectContext *pContext, int band, short Gain){ in Effect_setConfig() argument 1581 if(Gain > 0){ in Effect_setConfig() 1582 gainRounded = (int)((Gain+50)/100); in Effect_setConfig() 1584 gainRounded = (int)((Gain-50)/100); in Effect_setConfig()
|