/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_Process.c | 200 LVM_INT16 Gain = pInstance->VolCorrect.CompMin; in LVCS_Process() local 204 Gain = (LVM_INT16)( pInstance->VolCorrect.CompMin in LVCS_Process() 210 NonLinComp_D16(Gain, /* Compressor gain setting */ in LVCS_Process() 225 … GainStep = (LVM_INT16)(((Gain-pInstance->CompressGain) * LVCS_COMPGAINFRAME)/NumSamples); in LVCS_Process() 227 if((GainStep ==0)&&(pInstance->CompressGain < Gain)) in LVCS_Process() 233 if((GainStep ==0)&&(pInstance->CompressGain > Gain)) in LVCS_Process() 239 FinalGain = Gain; in LVCS_Process() 240 Gain = pInstance->CompressGain; in LVCS_Process() 245 Gain = (LVM_INT16)(Gain + GainStep); in LVCS_Process() 246 if((GainStep > 0)&& (FinalGain <= Gain)) in LVCS_Process() [all …]
|
D | LVCS_Control.c | 128 LVM_UINT32 Gain; in LVCS_Control() local 130 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * LVM_MAXINT_16); in LVCS_Control() 131 Gain = (LVM_UINT32)pOutputGainTable[Offset].UnprocLoss * (Gain >> 15); in LVCS_Control() 132 Gain=Gain>>15; in LVCS_Control() 136 Gain = (Gain * pInstance->VolCorrect.GainMin) >>12; in LVCS_Control() 138 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[1],0,Gain); in LVCS_Control()
|
D | LVCS_BypassMix.c | 73 LVM_UINT32 Gain; in LVCS_BypassMixInit() local 105 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain); in LVCS_BypassMixInit() 112 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[0],(LVM_INT32)(Gain >> 15),Current); in LVCS_BypassMixInit() 117 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * (0x7FFF - pInstance->TransitionGain)); in LVCS_BypassMixInit() 118 Gain = (LVM_UINT32)pOutputGainTable[Offset].UnprocLoss * (Gain >> 15); in LVCS_BypassMixInit() 120 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[1],(LVM_INT32)(Gain >> 15),Current); in LVCS_BypassMixInit()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_CalcCoef.c | 93 LVM_INT16 Gain = pFilterDefinition->Gain; in LVEQNB_DoublePrecCoefs() local 118 if (Gain >= 0) in LVEQNB_DoublePrecCoefs() 124 D = LVEQNB_DTable[Gain+15]; /* D = 1 / (1 + G) if GaindB < 0 */ in LVEQNB_DoublePrecCoefs() 166 pCoefficients->G = LVEQNB_GainTable[Gain+15]; in LVEQNB_DoublePrecCoefs() 223 LVM_INT16 Gain = pFilterDefinition->Gain; in LVEQNB_SinglePrecCoefs() local 249 if (Gain >= 0) in LVEQNB_SinglePrecCoefs() 255 D = LVEQNB_DTable[Gain+15]; /* D = 1 / (1 + G) if GaindB < 0 */ in LVEQNB_SinglePrecCoefs() 293 pCoefficients->G = LVEQNB_GainTable[Gain+15]; in LVEQNB_SinglePrecCoefs()
|
D | LVEQNB_Control.c | 379 … (pInstance->pBandDefinitions[i].Gain != pParams->pBandDefinition[i].Gain )|| in LVEQNB_Control()
|
D | LVEQNB_Process.c | 115 if (pInstance->pBandDefinitions[i].Gain != 0) in LVEQNB_Process()
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | NonLinComp_D16.c | 64 void NonLinComp_D16(LVM_INT16 Gain, in NonLinComp_D16() argument 98 Sample = (LVM_INT16)(Sample + ((Gain * (Sample - Temp)) >> 15)); in NonLinComp_D16() 102 Sample = (LVM_INT16)(Sample + ((Gain * (Sample + Temp)) >> 15)); in NonLinComp_D16()
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_ApplyNewSettings.c | 380 LVM_INT32 Gain=0; in LVREV_ApplyNewSettings() local 422 Gain=LVM_Polynomial(3,Coefs,T60); /* Q.24 result */ in LVREV_ApplyNewSettings() 454 Gain = Gain1+ (((Gain2-Gain1)*Dist)/(Tot_Dist)); in LVREV_ApplyNewSettings() 462 if(Gain < 16777216L) in LVREV_ApplyNewSettings() 464 pPrivate->Gain= 32767; in LVREV_ApplyNewSettings() 468 pPrivate->Gain=(LVM_INT16)(LVM_MAXINT_32/(Gain>>8)); in LVREV_ApplyNewSettings() 473 pPrivate->Gain=(LVM_INT16)((pPrivate->Gain*Index)>>15); in LVREV_ApplyNewSettings() 474 pPrivate->GainMixer.Target = pPrivate->Gain*Index; in LVREV_ApplyNewSettings()
|
D | LVREV_Private.h | 159 …LVM_INT16 Gain; /* Gain applied to output to maintain average … member
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | CompLim.h | 70 void NonLinComp_D16(LVM_INT16 Gain,
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Control.c | 143 ((pParams->pEQNB_BandDefinition[i].Gain < LVM_EQNB_MIN_BAND_GAIN) || in LVM_SetControlParameters() 144 (pParams->pEQNB_BandDefinition[i].Gain > LVM_EQNB_MAX_BAND_GAIN)) || in LVM_SetControlParameters() 460 if(pParams->pEQNB_BandDefinition[ii].Gain > MaxGain) in LVM_SetHeadroom() 462 MaxGain = pParams->pEQNB_BandDefinition[ii].Gain; in LVM_SetHeadroom()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/ |
D | LVEQNB.h | 245 LVM_INT16 Gain; /* Band gain in dB */ member
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/ |
D | LVM.h | 246 LVM_INT16 Gain; /* Band gain in dB */ member
|
/frameworks/base/docs/html/training/id-auth/ |
D | index.jd | 43 <li>Gain permission to access the user's online data via services like
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 638 BandDefs[i].Gain = EQNB_5BandSoftPresets[i]; in LvmBundle_init() 803 ActiveParams.pEQNB_BandDefinition[i].Gain = pContext->pBundledContext->bandGaindB[i]; in EqualizerUpdateActiveParams() 1549 void EqualizerSetBandLevel(EffectContext *pContext, int band, short Gain){ in EqualizerSetBandLevel() argument 1551 if(Gain > 0){ in EqualizerSetBandLevel() 1552 gainRounded = (int)((Gain+50)/100); in EqualizerSetBandLevel() 1554 gainRounded = (int)((Gain-50)/100); in EqualizerSetBandLevel()
|
/frameworks/base/docs/html/distribute/monetize/ |
D | ads.jd | 2 page.metaDescription=Gain insights about your users, drive more in-app purchases, and maximize your…
|
/frameworks/base/docs/html/about/versions/ |
D | android-4.1.jd | 390 <li>Automatic Gain Control (AGC) with {@link android.media.audiofx.AutomaticGainControl}
|