Lines Matching refs:pInstance
76 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
77 LVM_INT16 *pScratch = (LVM_INT16 *)pInstance->MemoryTable.Region[LVCS_MEMREGION_TEMPORARY_FAST].pBaseAddress;
170 LVCS_Instance_t *pInstance =(LVCS_Instance_t *)hInstance;
176 if (NumSamples > pInstance->Capabilities.MaxBlockSize)
184 if (pInstance->Params.OperatingMode != LVCS_OFF)
198 if ((pInstance->Params.OperatingMode == LVCS_ON)&&(pInstance->Params.CompressorMode == LVM_MODE_ON))
200 LVM_INT16 Gain = pInstance->VolCorrect.CompMin;
203 Current1 = LVC_Mixer_GetCurrent(&pInstance->BypassMix.Mixer_Instance.MixerStream[0]);
204 Gain = (LVM_INT16)( pInstance->VolCorrect.CompMin
205 - (((LVM_INT32)pInstance->VolCorrect.CompMin * (Current1)) >> 15)
206 + (((LVM_INT32)pInstance->VolCorrect.CompFull * (Current1)) >> 15) );
225 GainStep = (LVM_INT16)(((Gain-pInstance->CompressGain) * LVCS_COMPGAINFRAME)/NumSamples);
227 if((GainStep ==0)&&(pInstance->CompressGain < Gain))
233 if((GainStep ==0)&&(pInstance->CompressGain > Gain))
240 Gain = pInstance->CompressGain;
281 pInstance->CompressGain = Gain;
285 if(pInstance->bInOperatingModeTransition == LVM_TRUE){
290 if ((pInstance->bTimerDone == LVM_TRUE) &&
291 (pInstance->BypassMix.Mixer_Instance.MixerStream[1].CallbackSet == 0))
294 &pInstance->Params);
303 LVM_Timer ( &pInstance->TimerInstance,