Home
last modified time | relevance | path

Searched refs:Gain (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Process.c200 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 …]
DLVCS_Control.c128 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()
DLVCS_BypassMix.c73 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/
DLVEQNB_CalcCoef.c93 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()
DLVEQNB_Control.c379 … (pInstance->pBandDefinitions[i].Gain != pParams->pBandDefinition[i].Gain )|| in LVEQNB_Control()
DLVEQNB_Process.c115 if (pInstance->pBandDefinitions[i].Gain != 0) in LVEQNB_Process()
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DNonLinComp_D16.c64 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/
DLVREV_ApplyNewSettings.c380 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()
DLVREV_Private.h159 …LVM_INT16 Gain; /* Gain applied to output to maintain average … member
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DCompLim.h70 void NonLinComp_D16(LVM_INT16 Gain,
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Control.c143 ((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/
DLVEQNB.h245 LVM_INT16 Gain; /* Band gain in dB */ member
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/
DLVM.h246 LVM_INT16 Gain; /* Band gain in dB */ member
/frameworks/base/docs/html/training/id-auth/
Dindex.jd43 <li>Gain permission to access the user's online data via services like
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp638 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/
Dads.jd2 page.metaDescription=Gain insights about your users, drive more in-app purchases, and maximize your…
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd390 <li>Automatic Gain Control (AGC) with {@link android.media.audiofx.AutomaticGainControl}