Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_BypassMix.c82 const Gain_t *pOutputGainTable; in LVCS_BypassMixInit() local
110 pOutputGainTable = (Gain_t*)&LVCS_OutputGainTable[0]; in LVCS_BypassMixInit()
116 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain); in LVCS_BypassMixInit()
118 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain); in LVCS_BypassMixInit()
141 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * (0x7FFF - pInstance->TransitionGain)); in LVCS_BypassMixInit()
142 Gain = (LVM_UINT32)pOutputGainTable[Offset].UnprocLoss * (Gain >> 15); in LVCS_BypassMixInit()
147 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * (1.0 - \ in LVCS_BypassMixInit()
149 Gain = (LVM_FLOAT)pOutputGainTable[Offset].UnprocLoss * Gain; in LVCS_BypassMixInit()
163 pConfig->Output_Shift = pOutputGainTable[Offset].Shift; in LVCS_BypassMixInit()
DLVCS_Control.c131 const Gain_t *pOutputGainTable = (Gain_t*)&LVCS_OutputGainTable[0]; in LVCS_Control() local
132 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * LVM_MAXINT_16); in LVCS_Control()
133 Gain = (LVM_UINT32)pOutputGainTable[Offset].UnprocLoss * (Gain >> 15); in LVCS_Control()
147 const Gain_t *pOutputGainTable = (Gain_t*)&LVCS_OutputGainTable[0]; in LVCS_Control()
148 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss); in LVCS_Control()
149 Gain = (LVM_FLOAT)pOutputGainTable[Offset].UnprocLoss * (Gain); in LVCS_Control()