Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVM_Timer.cpp30 LVM_Timer_Instance_Private_t* pInstancePr; in LVM_Timer() local
31 pInstancePr = (LVM_Timer_Instance_Private_t*)pInstance; in LVM_Timer()
33 if (pInstancePr->TimerArmed) { in LVM_Timer()
34 pInstancePr->RemainingTimeInSamples -= BlockSize; in LVM_Timer()
35 if (pInstancePr->RemainingTimeInSamples <= 0) { in LVM_Timer()
36 pInstancePr->TimerArmed = 0; in LVM_Timer()
37 (*pInstancePr->pCallBack)(pInstancePr->pCallbackInstance, pInstancePr->pCallBackParams, in LVM_Timer()
38 pInstancePr->CallBackParam); in LVM_Timer()
DLVM_Timer_Init.cpp37 LVM_Timer_Instance_Private_t* pInstancePr; in LVM_Timer_Init() local
38 pInstancePr = (LVM_Timer_Instance_Private_t*)pInstance; in LVM_Timer_Init()
40 pInstancePr->CallBackParam = pParams->CallBackParam; in LVM_Timer_Init()
41 pInstancePr->pCallBackParams = (LVM_INT32*)pParams->pCallBackParams; in LVM_Timer_Init()
42 pInstancePr->pCallbackInstance = pParams->pCallbackInstance; in LVM_Timer_Init()
43 pInstancePr->pCallBack = pParams->pCallBack; in LVM_Timer_Init()
44 pInstancePr->TimerArmed = 1; in LVM_Timer_Init()
46 MUL32x16INTO32(pParams->SamplingRate, OneOverThousandInQ24, pInstancePr->RemainingTimeInSamples, in LVM_Timer_Init()
48 MUL32x16INTO32(pInstancePr->RemainingTimeInSamples, pParams->TimeInMs, in LVM_Timer_Init()
49 pInstancePr->RemainingTimeInSamples, 8); /* (Q8 * Q0) >>8 into Q0*/ in LVM_Timer_Init()