/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | NonLinComp_D16.c | 42 /* Gain (fractional) Gain (integer) Compression Pk-Pk THD */ 52 /* Gain - compression control parameter */ 64 void NonLinComp_D16(LVM_INT16 Gain, argument 98 Sample = (LVM_INT16)(Sample + ((Gain * (Sample - Temp)) >> 15)); 102 Sample = (LVM_INT16)(Sample + ((Gain * (Sample + Temp)) >> 15));
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
H A D | LVCS_Process.c | 39 /* ----->| Stereo |->| Reverb |->| Equ |->| Alpha |-->| + |-| Gain |----> */ 200 LVM_INT16 Gain = pInstance->VolCorrect.CompMin; local 204 Gain = (LVM_INT16)( pInstance->VolCorrect.CompMin 210 NonLinComp_D16(Gain, /* Compressor gain setting */ 222 /* Large changes in Gain can cause clicks in output 225 GainStep = (LVM_INT16)(((Gain-pInstance->CompressGain) * LVCS_COMPGAINFRAME)/NumSamples); 227 if((GainStep ==0)&&(pInstance->CompressGain < Gain)) 233 if((GainStep ==0)&&(pInstance->CompressGain > Gain)) 239 FinalGain = Gain; 240 Gain [all...] |
H A D | LVCS_Control.c | 128 LVM_UINT32 Gain; local 130 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * LVM_MAXINT_16); 131 Gain = (LVM_UINT32)pOutputGainTable[Offset].UnprocLoss * (Gain >> 15); 132 Gain=Gain>>15; 136 Gain = (Gain * pInstance->VolCorrect.GainMin) >>12; 138 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[1],0,Gain);
|
H A D | LVCS_BypassMix.c | 73 LVM_UINT32 Gain; local 105 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain); 112 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[0],(LVM_INT32)(Gain >> 15),Current); 117 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * (0x7FFF - pInstance->TransitionGain)); 118 Gain = (LVM_UINT32)pOutputGainTable[Offset].UnprocLoss * (Gain >> 15); 120 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[1],(LVM_INT32)(Gain >> 15),Current);
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
H A D | LVEQNB_CalcCoef.c | 74 /* small errors in this value have a combined effect on the Q and Gain but not the */ 93 LVM_INT16 Gain = pFilterDefinition->Gain; local 118 if (Gain >= 0) 124 D = LVEQNB_DTable[Gain+15]; /* D = 1 / (1 + G) if GaindB < 0 */ 166 pCoefficients->G = LVEQNB_GainTable[Gain+15]; 223 LVM_INT16 Gain = pFilterDefinition->Gain; local 249 if (Gain >= 0) 255 D = LVEQNB_DTable[Gain [all...] |
H A D | LVEQNB_Process.c | 115 if (pInstance->pBandDefinitions[i].Gain != 0)
|
H A D | LVEQNB_Control.c | 379 (pInstance->pBandDefinitions[i].Gain != pParams->pBandDefinition[i].Gain )||
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
H A D | CompLim.h | 70 void NonLinComp_D16(LVM_INT16 Gain,
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
H A D | LVREV_ApplyNewSettings.c | 380 LVM_INT32 Gain=0; local 422 Gain=LVM_Polynomial(3,Coefs,T60); /* Q.24 result */ 454 Gain = Gain1+ (((Gain2-Gain1)*Dist)/(Tot_Dist)); 460 * Gain is mostly above one except few cases, take only gains above 1 462 if(Gain < 16777216L) 464 pPrivate->Gain= 32767; 468 pPrivate->Gain=(LVM_INT16)(LVM_MAXINT_32/(Gain>>8)); 473 pPrivate->Gain=(LVM_INT16)((pPrivate->Gain*Inde [all...] |
H A D | LVREV_Private.h | 142 Mix_1St_Cll_t FeedbackMixer[4]; /* Mixer for Pop and Click Supression caused by feedback Gain */ 159 LVM_INT16 Gain; /* Gain applied to output to maintain average signal power */ member in struct:__anon427 160 Mix_1St_Cll_t GainMixer; /* Gain smoothing */
|
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/ |
H A D | LVEQNB.h | 57 /* Gain is in integer dB, range -15dB to +15dB inclusive */ 62 /* Gain = 7 7dB gain */ 245 LVM_INT16 Gain; /* Band gain in dB */ member in struct:__anon415
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/ |
H A D | LVM.h | 246 LVM_INT16 Gain; /* Band gain in dB */ member in struct:__anon361
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
H A D | LVM_Control.c | 143 ((pParams->pEQNB_BandDefinition[i].Gain < LVM_EQNB_MIN_BAND_GAIN) || 144 (pParams->pEQNB_BandDefinition[i].Gain > LVM_EQNB_MAX_BAND_GAIN)) || 360 pInstance->PSA_GainOffset=(LVM_INT16)(-Volume);/* Loss is compensated by Gain*/ 362 pInstance->PSA_GainOffset=(LVM_INT16)60;/* Loss is compensated by Gain*/ 460 if(pParams->pEQNB_BandDefinition[ii].Gain > MaxGain) 462 MaxGain = pParams->pEQNB_BandDefinition[ii].Gain;
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 664 BandDefs[i].Gain = EQNB_5BandSoftPresets[i]; 1223 // ActiveParams.pEQNB_BandDefinition[band].Gain); 1265 ActiveParams.pEQNB_BandDefinition[i].Gain = pContext->pBundledContext->bandGaindB[i]; 1288 // ActiveParams.pEQNB_BandDefinition[band].Gain); 1325 // Gain: Gain to be applied in millibels 1331 void EqualizerSetBandLevel(EffectContext *pContext, int band, short Gain){ argument 1333 if(Gain > 0){ 1334 gainRounded = (int)((Gain+50)/100); 1336 gainRounded = (int)((Gain [all...] |