/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_Process.cpp | 215 LVM_FLOAT Gain = pInstance->VolCorrect.CompMin; in LVCS_Process() local 219 Gain = (LVM_FLOAT)(pInstance->VolCorrect.CompMin - in LVCS_Process() 224 NonLinComp_Float(Gain, /* Compressor gain setting */ in LVCS_Process() 235 GainStep = (LVM_FLOAT)(((Gain - pInstance->CompressGain) * LVCS_COMPGAINFRAME) / in LVCS_Process() 238 if ((GainStep == 0) && (pInstance->CompressGain < Gain)) { in LVCS_Process() 241 if ((GainStep == 0) && (pInstance->CompressGain > Gain)) { in LVCS_Process() 246 FinalGain = Gain; in LVCS_Process() 247 Gain = pInstance->CompressGain; in LVCS_Process() 251 Gain = (LVM_FLOAT)(Gain + GainStep); in LVCS_Process() 252 if ((GainStep > 0) && (FinalGain <= Gain)) { in LVCS_Process() [all …]
|
D | LVCS_Control.cpp | 117 LVM_FLOAT Gain; in LVCS_Control() local 119 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss); in LVCS_Control() 120 Gain = (LVM_FLOAT)pOutputGainTable[Offset].UnprocLoss * (Gain); in LVCS_Control() 125 Gain = (Gain * pInstance->VolCorrect.GainMin); in LVCS_Control() 127 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[1], 0, Gain); in LVCS_Control()
|
D | LVCS_BypassMix.cpp | 69 LVM_FLOAT Gain; in LVCS_BypassMixInit() local 97 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain); in LVCS_BypassMixInit() 105 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[0], (LVM_FLOAT)(Gain), Current); in LVCS_BypassMixInit() 112 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * in LVCS_BypassMixInit() 114 Gain = (LVM_FLOAT)pOutputGainTable[Offset].UnprocLoss * Gain; in LVCS_BypassMixInit() 116 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[1], (LVM_FLOAT)(Gain), Current); in LVCS_BypassMixInit()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_CalcCoef.cpp | 123 LVM_INT16 Gain = pFilterDefinition->Gain; in LVEQNB_SinglePrecCoefs() local 141 if (Gain >= 0) { in LVEQNB_SinglePrecCoefs() 144 D = LVEQNB_DTable[Gain + 15]; /* D = 1 / (1 + G) if GaindB < 0 */ in LVEQNB_SinglePrecCoefs() 161 pCoefficients->G = LVEQNB_GainTable[Gain + 15]; in LVEQNB_SinglePrecCoefs()
|
D | LVEQNB_Control.cpp | 294 (pInstance->pBandDefinitions[i].Gain != pParams->pBandDefinition[i].Gain) || in LVEQNB_Control()
|
D | LVEQNB_Process.cpp | 103 if (pInstance->pBandDefinitions[i].Gain != 0) { in LVEQNB_Process()
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | NonLinComp_D16.cpp | 64 void NonLinComp_Float(LVM_FLOAT Gain, LVM_FLOAT* pDataIn, LVM_FLOAT* pDataOut, in NonLinComp_Float() argument 88 Sample = (Sample + ((Gain * (Sample - Temp)))); in NonLinComp_Float() 90 Sample = (Sample + ((Gain * (Sample + Temp)))); in NonLinComp_Float()
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_ApplyNewSettings.cpp | 324 LVM_FLOAT Gain = 0; in LVREV_ApplyNewSettings() local 355 Gain = LVM_Polynomial(3, Coefs, T60); /* Q.24 result */ in LVREV_ApplyNewSettings() 383 Gain = Gain1 + (((Gain2 - Gain1) * Dist) / (Tot_Dist)); in LVREV_ApplyNewSettings() 390 if (Gain < 1) { in LVREV_ApplyNewSettings() 391 pPrivate->Gain = 1; in LVREV_ApplyNewSettings() 393 pPrivate->Gain = 1 / Gain; in LVREV_ApplyNewSettings() 397 pPrivate->Gain = pPrivate->Gain * Index_FLOAT; in LVREV_ApplyNewSettings() 398 pPrivate->GainMixer.Target = (pPrivate->Gain * Index_FLOAT) / 2; in LVREV_ApplyNewSettings()
|
D | LVREV_Private.h | 154 LVM_FLOAT Gain; /* Gain applied to output to maintain member
|
/frameworks/native/libs/tonemap/include/tonemap/ |
D | tonemap.h | 146 using Gain = double; variable 147 virtual std::vector<Gain> lookupTonemapGain(
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | CompLim.h | 61 void NonLinComp_Float(LVM_FLOAT Gain, LVM_FLOAT* pDataIn, LVM_FLOAT* pDataOut,
|
/frameworks/native/libs/tonemap/ |
D | tonemap.cpp | 288 std::vector<Gain> lookupTonemapGain( in lookupTonemapGain() 292 std::vector<Gain> gains; in lookupTonemapGain() 629 std::vector<Gain> lookupTonemapGain( in lookupTonemapGain() 633 std::vector<Gain> gains; in lookupTonemapGain()
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | producer_buffer.h | 52 int Gain(LocalHandle* release_fence, bool gain_posted_buffer = false);
|
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/ |
D | LVEQNB.h | 197 LVM_INT16 Gain; /* Band gain in dB */ member
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Control.cpp | 137 ((pParams->pEQNB_BandDefinition[i].Gain < LVM_EQNB_MIN_BAND_GAIN) || in LVM_SetControlParameters() 138 (pParams->pEQNB_BandDefinition[i].Gain > LVM_EQNB_MAX_BAND_GAIN)) || in LVM_SetControlParameters() 415 if (pParams->pEQNB_BandDefinition[ii].Gain > MaxGain) { in LVM_SetHeadroom() 416 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 | 228 int ProducerBuffer::Gain(LocalHandle* release_fence, bool gain_posted_buffer) { in Gain() function in android::dvr::ProducerBuffer
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/ |
D | LVM.h | 193 LVM_INT16 Gain; /* Band gain in dB */ member
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | lvmtest.cpp | 282 BandDefs[i].Gain = EQNB_5BandSoftPresets[i]; in LvmBundle_init() 433 BandDefs[i].Gain = EQNB_5BandSoftPresets[(FIVEBAND_NUMBANDS * eqPresetLevel) + i]; in lvmControl()
|
/frameworks/av/media/libaudioclient/fuzzer/ |
D | README.md | 27 15. Audio Gain Mode (parameter name: `gainMode`)
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 554 BandDefs[i].Gain = EQNB_5BandSoftPresets[i]; in LvmBundle_init() 700 ActiveParams.pEQNB_BandDefinition[i].Gain = pContext->pBundledContext->bandGaindB[i]; in EqualizerUpdateActiveParams() 1398 void EqualizerSetBandLevel(EffectContext* pContext, int band, short Gain) { in EqualizerSetBandLevel() argument 1400 if (Gain > 0) { in EqualizerSetBandLevel() 1401 gainRounded = (int)((Gain + 50) / 100); in EqualizerSetBandLevel() 1403 gainRounded = (int)((Gain - 50) / 100); in EqualizerSetBandLevel()
|
/frameworks/av/media/libeffects/lvm/wrapper/Aidl/ |
D | BundleContext.cpp | 497 params.pEQNB_BandDefinition[i].Gain = in updateControlParameter() 676 tempDefs[i].Gain = lvm::kSoftPresets[0/* normal */][i]; in getDefaultEqualizerBandDefs()
|