Home | History | Annotate | Download | only in src

Lines Matching defs: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,dst,n);
78 if (pInstance->Target == 0)
80 else if(pInstance->Shift!=0){
81 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n);
82 if ((pInstance->Target>>16) != 0x7FFF)
83 Mult3s_16x16( dst, (LVM_INT16)(pInstance->Target>>16), dst, n );
86 if ((pInstance->Target>>16) != 0x7FFF)
87 Mult3s_16x16( src, (LVM_INT16)(pInstance->Target>>16), dst, n );
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