Lines Matching refs:pInstance
44 Mix_Private_st *pInstance=(Mix_Private_st *)(ptrInstance->MixerStream[0].PrivateParams);
51 if (pInstance->Current != pInstance->Target)
53 if(pInstance->Delta == 0x7FFFFFFF){
54 pInstance->Current = pInstance->Target;
55 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format
57 }else if (Abs_32(pInstance->Current-pInstance->Target) < pInstance->Delta){
58 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. Make them equal. */
59 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format
64 if(pInstance->Shift!=0){
65 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n);
78 if (pInstance->Target != 0){ /* Nothing to do in case Target = 0 */
79 if ((pInstance->Target>>16) == 0x7FFF){
80 if(pInstance->Shift!=0)
81 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n);
85 if(pInstance->Shift!=0)
86 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n);
87 Mac3s_Sat_16x16(src,(LVM_INT16)(pInstance->Target>>16),dst,n);
88 pInstance->Current = pInstance->Target; /* In case the LVCore function would have changed the Current value */
99 if (Abs_32(pInstance->Current-pInstance->Target) < pInstance->Delta){
100 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. Make them equal. */
101 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format