Home
last modified time | relevance | path

Searched refs:ynL (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DFO_2I_D16F32C15_LShx_TRC_WRA_01.c41 LVM_INT32 ynL,ynR; in FO_2I_D16F32C15_LShx_TRC_WRA_01() local
62 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[0]; in FO_2I_D16F32C15_LShx_TRC_WRA_01()
68 ynL+=(LVM_INT32)pBiquadState->coefs[1]* (*pDataIn); in FO_2I_D16F32C15_LShx_TRC_WRA_01()
75 ynL +=Temp; in FO_2I_D16F32C15_LShx_TRC_WRA_01()
84 pBiquadState->pDelays[1]=ynL; // Update y(n-1)L in Q30 in FO_2I_D16F32C15_LShx_TRC_WRA_01()
95 ynL = ynL>>(15-Shift); in FO_2I_D16F32C15_LShx_TRC_WRA_01()
99 if(ynL > LVM_MAXINT_16) in FO_2I_D16F32C15_LShx_TRC_WRA_01()
101 ynL = LVM_MAXINT_16; in FO_2I_D16F32C15_LShx_TRC_WRA_01()
105 if(ynL < NegSatValue) in FO_2I_D16F32C15_LShx_TRC_WRA_01()
107 ynL = NegSatValue; in FO_2I_D16F32C15_LShx_TRC_WRA_01()
[all …]
DBQ_1I_D16F16C15_TRC_WRA_01.c41 LVM_INT32 ynL; in BQ_1I_D16F16C15_TRC_WRA_01() local
53 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[1]; in BQ_1I_D16F16C15_TRC_WRA_01()
56 ynL+=(LVM_INT32)pBiquadState->coefs[1]* pBiquadState->pDelays[0]; in BQ_1I_D16F16C15_TRC_WRA_01()
59 ynL+=(LVM_INT32)pBiquadState->coefs[2]* (*pDataIn); in BQ_1I_D16F16C15_TRC_WRA_01()
62 ynL+=(LVM_INT32)pBiquadState->coefs[3]*pBiquadState->pDelays[3]; in BQ_1I_D16F16C15_TRC_WRA_01()
65 ynL+=(LVM_INT32)pBiquadState->coefs[4]*pBiquadState->pDelays[2]; in BQ_1I_D16F16C15_TRC_WRA_01()
67 ynL=ynL>>15; // ynL in Q0 format in BQ_1I_D16F16C15_TRC_WRA_01()
73 pBiquadState->pDelays[2]=ynL; // Update y(n-1)L in Q0 in BQ_1I_D16F16C15_TRC_WRA_01()
79 *pDataOut++=(LVM_INT16)ynL; // Write Left output in Q0 in BQ_1I_D16F16C15_TRC_WRA_01()
DBQ_2I_D16F16C14_TRC_WRA_01.c46 LVM_INT32 ynL,ynR; in BQ_2I_D16F16C14_TRC_WRA_01() local
57 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in BQ_2I_D16F16C14_TRC_WRA_01()
60 ynL+=(LVM_INT32)pBiquadState->coefs[1]* pBiquadState->pDelays[0]; in BQ_2I_D16F16C14_TRC_WRA_01()
63 ynL+=(LVM_INT32)pBiquadState->coefs[2]* (*pDataIn); in BQ_2I_D16F16C14_TRC_WRA_01()
66 ynL+=(LVM_INT32)pBiquadState->coefs[3]*pBiquadState->pDelays[6]; in BQ_2I_D16F16C14_TRC_WRA_01()
69 ynL+=(LVM_INT32)pBiquadState->coefs[4]*pBiquadState->pDelays[4]; in BQ_2I_D16F16C14_TRC_WRA_01()
71 ynL=ynL>>14; // ynL in Q0 format in BQ_2I_D16F16C14_TRC_WRA_01()
100 pBiquadState->pDelays[4]=ynL; // Update y(n-1)L in Q0 in BQ_2I_D16F16C14_TRC_WRA_01()
107 *pDataOut++=(LVM_INT16)ynL; // Write Left output in Q0 in BQ_2I_D16F16C14_TRC_WRA_01()
DBQ_2I_D16F16C15_TRC_WRA_01.c46 LVM_INT32 ynL,ynR; in BQ_2I_D16F16C15_TRC_WRA_01() local
58 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in BQ_2I_D16F16C15_TRC_WRA_01()
61 ynL+=(LVM_INT32)pBiquadState->coefs[1]* pBiquadState->pDelays[0]; in BQ_2I_D16F16C15_TRC_WRA_01()
64 ynL+=(LVM_INT32)pBiquadState->coefs[2]* (*pDataIn); in BQ_2I_D16F16C15_TRC_WRA_01()
67 ynL+=(LVM_INT32)pBiquadState->coefs[3]*pBiquadState->pDelays[6]; in BQ_2I_D16F16C15_TRC_WRA_01()
70 ynL+=(LVM_INT32)pBiquadState->coefs[4]*pBiquadState->pDelays[4]; in BQ_2I_D16F16C15_TRC_WRA_01()
72 ynL=ynL>>15; // ynL in Q0 format in BQ_2I_D16F16C15_TRC_WRA_01()
101 pBiquadState->pDelays[4]=ynL; // Update y(n-1)L in Q0 in BQ_2I_D16F16C15_TRC_WRA_01()
108 *pDataOut++=(LVM_INT16)ynL; // Write Left output in Q0 in BQ_2I_D16F16C15_TRC_WRA_01()
DFO_1I_D16F16C15_TRC_WRA_01.c39 LVM_INT32 ynL; in FO_1I_D16F16C15_TRC_WRA_01() local
50 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[0]; in FO_1I_D16F16C15_TRC_WRA_01()
53 ynL+=(LVM_INT32)pBiquadState->coefs[1]* (*pDataIn); in FO_1I_D16F16C15_TRC_WRA_01()
56 ynL+=(LVM_INT32)pBiquadState->coefs[2]*pBiquadState->pDelays[1]; in FO_1I_D16F16C15_TRC_WRA_01()
59 ynL=(LVM_INT16)(ynL>>15); // ynL in Q0 format in FO_1I_D16F16C15_TRC_WRA_01()
63 pBiquadState->pDelays[1]=ynL; // Update y(n-1)L in Q0 in FO_1I_D16F16C15_TRC_WRA_01()
69 *pDataOut++=(LVM_INT16)ynL; // Write Left output in Q0 in FO_1I_D16F16C15_TRC_WRA_01()
DBP_1I_D16F16C14_TRC_WRA_01.c44 LVM_INT32 ynL; in BP_1I_D16F16C14_TRC_WRA_01() local
56 ynL=(LVM_INT32)pBiquadState->coefs[0]* ((*pDataIn)-pBiquadState->pDelays[1]); in BP_1I_D16F16C14_TRC_WRA_01()
59 ynL+=(LVM_INT32)pBiquadState->coefs[1]*pBiquadState->pDelays[3]; in BP_1I_D16F16C14_TRC_WRA_01()
62 ynL+=(LVM_INT32)pBiquadState->coefs[2]*pBiquadState->pDelays[2]; in BP_1I_D16F16C14_TRC_WRA_01()
64 ynL=(LVM_INT16)(ynL>>14); // ynL in Q0 in BP_1I_D16F16C14_TRC_WRA_01()
70 pBiquadState->pDelays[2]=ynL; // Update y(n-1)L in Q0 in BP_1I_D16F16C14_TRC_WRA_01()
76 *pDataOut++=(LVM_INT16)ynL; // Write Left output in Q0 in BP_1I_D16F16C14_TRC_WRA_01()
DBQ_1I_D16F32C14_TRC_WRA_01.c41 LVM_INT32 ynL,templ; in BQ_1I_D16F32C14_TRC_WRA_01() local
53 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[1]; in BQ_1I_D16F32C14_TRC_WRA_01()
56 ynL+=(LVM_INT32)pBiquadState->coefs[1]* pBiquadState->pDelays[0]; in BQ_1I_D16F32C14_TRC_WRA_01()
59 ynL+=(LVM_INT32)pBiquadState->coefs[2]* (*pDataIn); in BQ_1I_D16F32C14_TRC_WRA_01()
63 ynL+=templ; in BQ_1I_D16F32C14_TRC_WRA_01()
67 ynL+=templ; in BQ_1I_D16F32C14_TRC_WRA_01()
74 pBiquadState->pDelays[2]=ynL<<2; // Update y(n-1)L in Q16 in BQ_1I_D16F32C14_TRC_WRA_01()
80 *pDataOut++=(LVM_INT16)(ynL>>14); // Write Left output in Q0 in BQ_1I_D16F32C14_TRC_WRA_01()
DBQ_2I_D16F32C15_TRC_WRA_01.c45 LVM_INT32 ynL,ynR,templ; in BQ_2I_D16F32C15_TRC_WRA_01() local
57 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in BQ_2I_D16F32C15_TRC_WRA_01()
60 ynL+=(LVM_INT32)pBiquadState->coefs[1]* pBiquadState->pDelays[0]; in BQ_2I_D16F32C15_TRC_WRA_01()
63 ynL+=(LVM_INT32)pBiquadState->coefs[2]* (*pDataIn); in BQ_2I_D16F32C15_TRC_WRA_01()
67 ynL+=templ; in BQ_2I_D16F32C15_TRC_WRA_01()
71 ynL+=templ; in BQ_2I_D16F32C15_TRC_WRA_01()
101 pBiquadState->pDelays[4]=ynL<<1; /* Update y(n-1)L in Q16*/ in BQ_2I_D16F32C15_TRC_WRA_01()
110 *pDataOut=(LVM_INT16)(ynL>>15); /* Write Left output in Q0*/ in BQ_2I_D16F32C15_TRC_WRA_01()
DBQ_2I_D16F32C14_TRC_WRA_01.c45 LVM_INT32 ynL,ynR,templ; in BQ_2I_D16F32C14_TRC_WRA_01() local
57 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in BQ_2I_D16F32C14_TRC_WRA_01()
60 ynL+=(LVM_INT32)pBiquadState->coefs[1]* pBiquadState->pDelays[0]; in BQ_2I_D16F32C14_TRC_WRA_01()
63 ynL+=(LVM_INT32)pBiquadState->coefs[2]* (*pDataIn); in BQ_2I_D16F32C14_TRC_WRA_01()
67 ynL+=templ; in BQ_2I_D16F32C14_TRC_WRA_01()
71 ynL+=templ; in BQ_2I_D16F32C14_TRC_WRA_01()
101 pBiquadState->pDelays[4]=ynL<<2; /* Update y(n-1)L in Q16*/ in BQ_2I_D16F32C14_TRC_WRA_01()
110 *pDataOut=(LVM_INT16)(ynL>>14); /* Write Left output in Q0*/ in BQ_2I_D16F32C14_TRC_WRA_01()
DBQ_2I_D16F32C13_TRC_WRA_01.c46 LVM_INT32 ynL,ynR,templ; in BQ_2I_D16F32C13_TRC_WRA_01() local
58 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in BQ_2I_D16F32C13_TRC_WRA_01()
61 ynL+=(LVM_INT32)pBiquadState->coefs[1]* pBiquadState->pDelays[0]; in BQ_2I_D16F32C13_TRC_WRA_01()
64 ynL+=(LVM_INT32)pBiquadState->coefs[2]* (*pDataIn); in BQ_2I_D16F32C13_TRC_WRA_01()
68 ynL+=templ; in BQ_2I_D16F32C13_TRC_WRA_01()
72 ynL+=templ; in BQ_2I_D16F32C13_TRC_WRA_01()
102 pBiquadState->pDelays[4]=ynL<<3; /* Update y(n-1)L in Q16*/ in BQ_2I_D16F32C13_TRC_WRA_01()
111 *pDataOut=(LVM_INT16)(ynL>>13); /* Write Left output in Q0*/ in BQ_2I_D16F32C13_TRC_WRA_01()
DBQ_2I_D32F32C30_TRC_WRA_01.c47 LVM_INT32 ynL,ynR,templ,tempd; in BQ_2I_D32F32C30_TRC_WRA_01() local
59 MUL32x32INTO32(pBiquadState->coefs[0],pBiquadState->pDelays[2],ynL,30) in BQ_2I_D32F32C30_TRC_WRA_01()
63 ynL+=templ; in BQ_2I_D32F32C30_TRC_WRA_01()
67 ynL+=templ; in BQ_2I_D32F32C30_TRC_WRA_01()
71 ynL+=templ; in BQ_2I_D32F32C30_TRC_WRA_01()
75 ynL+=templ; in BQ_2I_D32F32C30_TRC_WRA_01()
108 pBiquadState->pDelays[4]=(LVM_INT32)ynL; /* Update y(n-1)L in Q0*/ in BQ_2I_D32F32C30_TRC_WRA_01()
117 *pDataOut=(LVM_INT32)ynL; /* Write Left output in Q0*/ in BQ_2I_D32F32C30_TRC_WRA_01()
DFO_1I_D32F32C31_TRC_WRA_01.c40 LVM_INT32 ynL,templ; in FO_1I_D32F32C31_TRC_WRA_01() local
51 MUL32x32INTO32(pBiquadState->coefs[0],pBiquadState->pDelays[0],ynL,31) in FO_1I_D32F32C31_TRC_WRA_01()
55 ynL+=templ; in FO_1I_D32F32C31_TRC_WRA_01()
59 ynL+=templ; in FO_1I_D32F32C31_TRC_WRA_01()
64 pBiquadState->pDelays[1]=ynL; // Update y(n-1)L in Q0 in FO_1I_D32F32C31_TRC_WRA_01()
70 *pDataOut++=(LVM_INT32)ynL; // Write Left output in Q0 in FO_1I_D32F32C31_TRC_WRA_01()
DBP_1I_D32F32C30_TRC_WRA_02.c42 LVM_INT32 ynL,templ; in BP_1I_D32F32C30_TRC_WRA_02() local
55 MUL32x32INTO32(pBiquadState->coefs[0],templ,ynL,30) in BP_1I_D32F32C30_TRC_WRA_02()
59 ynL+=templ; in BP_1I_D32F32C30_TRC_WRA_02()
63 ynL+=templ; in BP_1I_D32F32C30_TRC_WRA_02()
70 pBiquadState->pDelays[2]=ynL; // Update y(n-1)L in Q0 in BP_1I_D32F32C30_TRC_WRA_02()
76 *pDataOut++=ynL; // Write Left output in Q0 in BP_1I_D32F32C30_TRC_WRA_02()
DBP_1I_D16F32C30_TRC_WRA_01.c44 LVM_INT32 ynL,templ; in BP_1I_D16F32C30_TRC_WRA_01() local
57 MUL32x32INTO32(pBiquadState->coefs[0],templ,ynL,14) in BP_1I_D16F32C30_TRC_WRA_01()
61 ynL+=templ; in BP_1I_D16F32C30_TRC_WRA_01()
65 ynL+=templ; in BP_1I_D16F32C30_TRC_WRA_01()
72 pBiquadState->pDelays[2]=ynL; // Update y(n-1)L in Q16 in BP_1I_D16F32C30_TRC_WRA_01()
78 *pDataOut++=(LVM_INT16)(ynL>>16); // Write Left output in Q0 in BP_1I_D16F32C30_TRC_WRA_01()
DPK_2I_D32F32C30G11_TRC_WRA_01.c46 LVM_INT32 ynL,ynR,ynLO,ynRO,templ; in PK_2I_D32F32C30G11_TRC_WRA_01() local
59 MUL32x32INTO32(templ,pBiquadState->coefs[0],ynL,30) in PK_2I_D32F32C30G11_TRC_WRA_01()
63 ynL+=templ; in PK_2I_D32F32C30G11_TRC_WRA_01()
67 ynL+=templ; in PK_2I_D32F32C30G11_TRC_WRA_01()
70 MUL32x16INTO32(ynL,pBiquadState->coefs[3],ynLO,11) in PK_2I_D32F32C30G11_TRC_WRA_01()
103 pBiquadState->pDelays[4]=ynL; /* Update y(n-1)L in Q0*/ in PK_2I_D32F32C30G11_TRC_WRA_01()
DPK_2I_D32F32C14G11_TRC_WRA_01.c46 LVM_INT32 ynL,ynR,ynLO,ynRO,templ; in PK_2I_D32F32C14G11_TRC_WRA_01() local
59 MUL32x16INTO32(templ,pBiquadState->coefs[0],ynL,14) in PK_2I_D32F32C14G11_TRC_WRA_01()
63 ynL+=templ; in PK_2I_D32F32C14G11_TRC_WRA_01()
67 ynL+=templ; in PK_2I_D32F32C14G11_TRC_WRA_01()
70 MUL32x16INTO32(ynL,pBiquadState->coefs[3],ynLO,11) in PK_2I_D32F32C14G11_TRC_WRA_01()
104 pBiquadState->pDelays[4]=ynL; /* Update y(n-1)L in Q0*/ in PK_2I_D32F32C14G11_TRC_WRA_01()