Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Process.c217 LVM_INT16 GainStep; in LVCS_Process() local
225GainStep = (LVM_INT16)(((Gain-pInstance->CompressGain) * LVCS_COMPGAINFRAME)/NumSamples); in LVCS_Process()
227 if((GainStep ==0)&&(pInstance->CompressGain < Gain)) in LVCS_Process()
229 GainStep=1; in LVCS_Process()
233 if((GainStep ==0)&&(pInstance->CompressGain > Gain)) in LVCS_Process()
235 GainStep=-1; in LVCS_Process()
245 Gain = (LVM_INT16)(Gain + GainStep); in LVCS_Process()
246 if((GainStep > 0)&& (FinalGain <= Gain)) in LVCS_Process()
249 GainStep =0; in LVCS_Process()
252 if((GainStep < 0)&& (FinalGain > Gain)) in LVCS_Process()
[all …]