/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | BQ_1I_D16F16C15_TRC_WRA_01.c | 41 LVM_FLOAT ynL; in BQ_1I_D16F16C15_TRC_WRA_01() local 53 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[1]; in BQ_1I_D16F16C15_TRC_WRA_01() 56 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[0]; in BQ_1I_D16F16C15_TRC_WRA_01() 59 ynL += (LVM_FLOAT)pBiquadState->coefs[2] * (*pDataIn); in BQ_1I_D16F16C15_TRC_WRA_01() 62 ynL += (LVM_FLOAT)pBiquadState->coefs[3] * pBiquadState->pDelays[3]; in BQ_1I_D16F16C15_TRC_WRA_01() 65 ynL += (LVM_FLOAT)pBiquadState->coefs[4] * pBiquadState->pDelays[2]; in BQ_1I_D16F16C15_TRC_WRA_01() 72 pBiquadState->pDelays[2] = ynL; // Update y(n-1)L in BQ_1I_D16F16C15_TRC_WRA_01() 78 *pDataOut++ = (LVM_FLOAT)ynL; // Write Left output in Q0 in BQ_1I_D16F16C15_TRC_WRA_01() 90 LVM_INT32 ynL; in BQ_1I_D16F16C15_TRC_WRA_01() local 102 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[1]; in BQ_1I_D16F16C15_TRC_WRA_01() [all …]
|
D | BQ_1I_D16F32C14_TRC_WRA_01.c | 41 LVM_FLOAT ynL; in BQ_1I_D16F32C14_TRC_WRA_01() local 53 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[1]; in BQ_1I_D16F32C14_TRC_WRA_01() 56 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[0]; in BQ_1I_D16F32C14_TRC_WRA_01() 59 ynL += (LVM_FLOAT)pBiquadState->coefs[2] * (*pDataIn); in BQ_1I_D16F32C14_TRC_WRA_01() 62 ynL += pBiquadState->pDelays[3] * pBiquadState->coefs[3]; in BQ_1I_D16F32C14_TRC_WRA_01() 65 ynL += pBiquadState->pDelays[2] * pBiquadState->coefs[4]; in BQ_1I_D16F32C14_TRC_WRA_01() 72 pBiquadState->pDelays[2] = ynL; // Update y(n-1)L in BQ_1I_D16F32C14_TRC_WRA_01() 78 *pDataOut++ = (LVM_FLOAT)(ynL); // Write Left output in BQ_1I_D16F32C14_TRC_WRA_01() 88 LVM_INT32 ynL,templ; in BQ_1I_D16F32C14_TRC_WRA_01() local 100 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[1]; in BQ_1I_D16F32C14_TRC_WRA_01() [all …]
|
D | FO_1I_D16F16C15_TRC_WRA_01.c | 40 LVM_FLOAT ynL; in FO_1I_D16F16C15_TRC_WRA_01() local 51 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[0]; in FO_1I_D16F16C15_TRC_WRA_01() 54 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * (*pDataIn); in FO_1I_D16F16C15_TRC_WRA_01() 57 ynL += (LVM_FLOAT)pBiquadState->coefs[2] * pBiquadState->pDelays[1]; in FO_1I_D16F16C15_TRC_WRA_01() 62 pBiquadState->pDelays[1] = ynL; // Update y(n-1)L in FO_1I_D16F16C15_TRC_WRA_01() 68 *pDataOut++ = (LVM_FLOAT)ynL; // Write Left output in FO_1I_D16F16C15_TRC_WRA_01() 79 LVM_INT32 ynL; in FO_1I_D16F16C15_TRC_WRA_01() local 90 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[0]; in FO_1I_D16F16C15_TRC_WRA_01() 93 ynL+=(LVM_INT32)pBiquadState->coefs[1]* (*pDataIn); in FO_1I_D16F16C15_TRC_WRA_01() 96 ynL+=(LVM_INT32)pBiquadState->coefs[2]*pBiquadState->pDelays[1]; in FO_1I_D16F16C15_TRC_WRA_01() [all …]
|
D | FO_2I_D16F32C15_LShx_TRC_WRA_01.c | 41 LVM_FLOAT ynL,ynR; in FO_2I_D16F32C15_LShx_TRC_WRA_01() local 58 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[0]; in FO_2I_D16F32C15_LShx_TRC_WRA_01() 64 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * (*pDataIn); in FO_2I_D16F32C15_LShx_TRC_WRA_01() 71 ynL += Temp; in FO_2I_D16F32C15_LShx_TRC_WRA_01() 80 pBiquadState->pDelays[1] = ynL; // Update y(n-1)L in FO_2I_D16F32C15_LShx_TRC_WRA_01() 91 if(ynL > 1.0f) in FO_2I_D16F32C15_LShx_TRC_WRA_01() 93 ynL = 1.0f; in FO_2I_D16F32C15_LShx_TRC_WRA_01() 97 if(ynL < NegSatValue) in FO_2I_D16F32C15_LShx_TRC_WRA_01() 99 ynL = NegSatValue; in FO_2I_D16F32C15_LShx_TRC_WRA_01() 115 *pDataOut++ = (LVM_FLOAT)ynL; in FO_2I_D16F32C15_LShx_TRC_WRA_01() [all …]
|
D | BP_1I_D16F16C14_TRC_WRA_01.c | 44 LVM_FLOAT ynL; in BP_1I_D16F16C14_TRC_WRA_01() local 56 ynL = pBiquadState->coefs[0] * ((*pDataIn)-pBiquadState->pDelays[1]); in BP_1I_D16F16C14_TRC_WRA_01() 59 ynL += pBiquadState->coefs[1] * pBiquadState->pDelays[3]; in BP_1I_D16F16C14_TRC_WRA_01() 62 ynL += pBiquadState->coefs[2] * pBiquadState->pDelays[2]; in BP_1I_D16F16C14_TRC_WRA_01() 69 pBiquadState->pDelays[2] = ynL; // Update y(n-1)L in BP_1I_D16F16C14_TRC_WRA_01() 75 *pDataOut++=ynL; // Write Left output in BP_1I_D16F16C14_TRC_WRA_01() 88 LVM_INT32 ynL; in BP_1I_D16F16C14_TRC_WRA_01() local 100 ynL=(LVM_INT32)pBiquadState->coefs[0]* ((*pDataIn)-pBiquadState->pDelays[1]); in BP_1I_D16F16C14_TRC_WRA_01() 103 ynL+=(LVM_INT32)pBiquadState->coefs[1]*pBiquadState->pDelays[3]; in BP_1I_D16F16C14_TRC_WRA_01() 106 ynL+=(LVM_INT32)pBiquadState->coefs[2]*pBiquadState->pDelays[2]; in BP_1I_D16F16C14_TRC_WRA_01() [all …]
|
D | BQ_2I_D16F16C15_TRC_WRA_01.c | 46 LVM_FLOAT ynL,ynR; in BQ_2I_D16F16C15_TRC_WRA_01() local 58 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[2]; in BQ_2I_D16F16C15_TRC_WRA_01() 61 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[0]; in BQ_2I_D16F16C15_TRC_WRA_01() 64 ynL += (LVM_FLOAT)pBiquadState->coefs[2] * (*pDataIn); in BQ_2I_D16F16C15_TRC_WRA_01() 67 ynL += (LVM_FLOAT)pBiquadState->coefs[3] * pBiquadState->pDelays[6]; in BQ_2I_D16F16C15_TRC_WRA_01() 70 ynL += (LVM_FLOAT)pBiquadState->coefs[4] * pBiquadState->pDelays[4]; in BQ_2I_D16F16C15_TRC_WRA_01() 101 pBiquadState->pDelays[4] = ynL; // Update y(n-1)L in BQ_2I_D16F16C15_TRC_WRA_01() 108 *pDataOut++ = (LVM_FLOAT)ynL; // Write Left output in BQ_2I_D16F16C15_TRC_WRA_01() 120 LVM_INT32 ynL,ynR; in BQ_2I_D16F16C15_TRC_WRA_01() local 132 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in BQ_2I_D16F16C15_TRC_WRA_01() [all …]
|
D | BQ_2I_D16F16C14_TRC_WRA_01.c | 46 LVM_FLOAT ynL,ynR; in BQ_2I_D16F16C14_TRC_WRA_01() local 57 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[2]; in BQ_2I_D16F16C14_TRC_WRA_01() 60 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[0]; in BQ_2I_D16F16C14_TRC_WRA_01() 63 ynL += (LVM_FLOAT)pBiquadState->coefs[2] * (*pDataIn); in BQ_2I_D16F16C14_TRC_WRA_01() 66 ynL += (LVM_FLOAT)pBiquadState->coefs[3] * pBiquadState->pDelays[6]; in BQ_2I_D16F16C14_TRC_WRA_01() 69 ynL += (LVM_FLOAT)pBiquadState->coefs[4] * pBiquadState->pDelays[4]; in BQ_2I_D16F16C14_TRC_WRA_01() 100 pBiquadState->pDelays[4] = ynL; // Update y(n-1)L in BQ_2I_D16F16C14_TRC_WRA_01() 107 *pDataOut++ = (LVM_FLOAT)ynL; // Write Left output in BQ_2I_D16F16C14_TRC_WRA_01() 120 LVM_INT32 ynL,ynR; in BQ_2I_D16F16C14_TRC_WRA_01() local 131 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in BQ_2I_D16F16C14_TRC_WRA_01() [all …]
|
D | FO_1I_D32F32C31_TRC_WRA_01.c | 40 LVM_FLOAT ynL,templ; in FO_1I_D32F32C31_TRC_WRA_01() local 51 ynL = pBiquadState->coefs[0] * pBiquadState->pDelays[0]; 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 FO_1I_D32F32C31_TRC_WRA_01() 70 *pDataOut++ = (LVM_FLOAT)ynL; // Write Left output in Q0 in FO_1I_D32F32C31_TRC_WRA_01() 80 LVM_INT32 ynL,templ; in FO_1I_D32F32C31_TRC_WRA_01() local 91 MUL32x32INTO32(pBiquadState->coefs[0],pBiquadState->pDelays[0],ynL,31) in FO_1I_D32F32C31_TRC_WRA_01() 95 ynL+=templ; in FO_1I_D32F32C31_TRC_WRA_01() 99 ynL+=templ; in FO_1I_D32F32C31_TRC_WRA_01() [all …]
|
D | BP_1I_D16F32C30_TRC_WRA_01.c | 42 LVM_FLOAT ynL,templ; in BP_1I_D16F32C30_TRC_WRA_01() local 53 ynL = pBiquadState->coefs[0] * templ; in BP_1I_D16F32C30_TRC_WRA_01() 57 ynL += templ; in BP_1I_D16F32C30_TRC_WRA_01() 61 ynL += templ; in BP_1I_D16F32C30_TRC_WRA_01() 68 pBiquadState->pDelays[2] = ynL; // Update y(n-1)L in Q16 in BP_1I_D16F32C30_TRC_WRA_01() 74 *pDataOut++ = (ynL); // Write Left output in BP_1I_D16F32C30_TRC_WRA_01() 85 LVM_INT32 ynL,templ; in BP_1I_D16F32C30_TRC_WRA_01() local 98 MUL32x32INTO32(pBiquadState->coefs[0],templ,ynL,14) in BP_1I_D16F32C30_TRC_WRA_01() 102 ynL+=templ; in BP_1I_D16F32C30_TRC_WRA_01() 106 ynL+=templ; in BP_1I_D16F32C30_TRC_WRA_01() [all …]
|
D | BP_1I_D32F32C30_TRC_WRA_02.c | 42 LVM_FLOAT ynL,templ; in BP_1I_D32F32C30_TRC_WRA_02() local 55 ynL = pBiquadState->coefs[0] * templ; 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 BP_1I_D32F32C30_TRC_WRA_02() 76 *pDataOut++ = ynL; // Write Left output in Q0 in BP_1I_D32F32C30_TRC_WRA_02() 87 LVM_INT32 ynL,templ; in BP_1I_D32F32C30_TRC_WRA_02() local 100 MUL32x32INTO32(pBiquadState->coefs[0],templ,ynL,30) in BP_1I_D32F32C30_TRC_WRA_02() 104 ynL+=templ; in BP_1I_D32F32C30_TRC_WRA_02() 108 ynL+=templ; in BP_1I_D32F32C30_TRC_WRA_02() [all …]
|
D | BQ_2I_D16F32C13_TRC_WRA_01.c | 46 LVM_FLOAT ynL,ynR; in BQ_2I_D16F32C13_TRC_WRA_01() local 57 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[2]; in BQ_2I_D16F32C13_TRC_WRA_01() 60 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[0]; in BQ_2I_D16F32C13_TRC_WRA_01() 63 ynL += (LVM_FLOAT)pBiquadState->coefs[2] * (*pDataIn); in BQ_2I_D16F32C13_TRC_WRA_01() 66 ynL += pBiquadState->pDelays[6] * pBiquadState->coefs[3]; in BQ_2I_D16F32C13_TRC_WRA_01() 69 ynL += pBiquadState->pDelays[4] * pBiquadState->coefs[4]; in BQ_2I_D16F32C13_TRC_WRA_01() 97 pBiquadState->pDelays[4] = ynL; /* Update y(n-1)L */ in BQ_2I_D16F32C13_TRC_WRA_01() 106 *pDataOut = (LVM_FLOAT)(ynL); /* Write Left output */ in BQ_2I_D16F32C13_TRC_WRA_01() 118 LVM_INT32 ynL,ynR,templ; in BQ_2I_D16F32C13_TRC_WRA_01() local 130 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in BQ_2I_D16F32C13_TRC_WRA_01() [all …]
|
D | BQ_2I_D16F32C14_TRC_WRA_01.c | 45 LVM_FLOAT ynL,ynR; in BQ_2I_D16F32C14_TRC_WRA_01() local 57 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[2]; in BQ_2I_D16F32C14_TRC_WRA_01() 60 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[0]; in BQ_2I_D16F32C14_TRC_WRA_01() 63 ynL += (LVM_FLOAT)pBiquadState->coefs[2] * (*pDataIn); in BQ_2I_D16F32C14_TRC_WRA_01() 66 ynL += pBiquadState->pDelays[6] * pBiquadState->coefs[3]; in BQ_2I_D16F32C14_TRC_WRA_01() 70 ynL += pBiquadState->pDelays[4] * pBiquadState->coefs[4]; in BQ_2I_D16F32C14_TRC_WRA_01() 98 pBiquadState->pDelays[4] = ynL; /* Update y(n-1)L */ in BQ_2I_D16F32C14_TRC_WRA_01() 107 *pDataOut = (LVM_FLOAT)(ynL); /* Write Left output */ in BQ_2I_D16F32C14_TRC_WRA_01() 120 LVM_INT32 ynL,ynR,templ; in BQ_2I_D16F32C14_TRC_WRA_01() local 132 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in BQ_2I_D16F32C14_TRC_WRA_01() [all …]
|
D | BQ_2I_D16F32C15_TRC_WRA_01.c | 45 LVM_FLOAT ynL,ynR; in BQ_2I_D16F32C15_TRC_WRA_01() local 57 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[2]; in BQ_2I_D16F32C15_TRC_WRA_01() 60 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[0]; in BQ_2I_D16F32C15_TRC_WRA_01() 63 ynL += (LVM_FLOAT)pBiquadState->coefs[2] * (*pDataIn); in BQ_2I_D16F32C15_TRC_WRA_01() 66 ynL += pBiquadState->pDelays[6] * pBiquadState->coefs[3]; in BQ_2I_D16F32C15_TRC_WRA_01() 70 ynL += pBiquadState->pDelays[4] * pBiquadState->coefs[4]; in BQ_2I_D16F32C15_TRC_WRA_01() 100 pBiquadState->pDelays[4] = ynL; /* Update y(n-1)L*/ in BQ_2I_D16F32C15_TRC_WRA_01() 109 *pDataOut = (LVM_FLOAT)(ynL); /* Write Left output*/ in BQ_2I_D16F32C15_TRC_WRA_01() 122 LVM_INT32 ynL,ynR,templ; in BQ_2I_D16F32C15_TRC_WRA_01() local 134 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in BQ_2I_D16F32C15_TRC_WRA_01() [all …]
|
D | BQ_2I_D32F32C30_TRC_WRA_01.c | 47 LVM_FLOAT ynL,ynR,templ,tempd; in BQ_2I_D32F32C30_TRC_WRA_01() local 59 ynL = pBiquadState->coefs[0] * pBiquadState->pDelays[2]; 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_FLOAT)ynL; /* Update y(n-1)L */ in BQ_2I_D32F32C30_TRC_WRA_01() 117 *pDataOut = (LVM_FLOAT)ynL; /* Write Left output */ in BQ_2I_D32F32C30_TRC_WRA_01() 215 LVM_INT32 ynL,ynR,templ,tempd; in BQ_2I_D32F32C30_TRC_WRA_01() local 227 MUL32x32INTO32(pBiquadState->coefs[0],pBiquadState->pDelays[2],ynL,30) in BQ_2I_D32F32C30_TRC_WRA_01() [all …]
|
D | PK_2I_D32F32C14G11_TRC_WRA_01.c | 47 LVM_FLOAT ynL,ynR,ynLO,ynRO,templ; in PK_2I_D32F32C14G11_TRC_WRA_01() local 60 ynL = templ * pBiquadState->coefs[0]; in PK_2I_D32F32C14G11_TRC_WRA_01() 64 ynL += templ; in PK_2I_D32F32C14G11_TRC_WRA_01() 68 ynL += templ; in PK_2I_D32F32C14G11_TRC_WRA_01() 71 ynLO = ynL * pBiquadState->coefs[3]; in PK_2I_D32F32C14G11_TRC_WRA_01() 105 pBiquadState->pDelays[4] = ynL; /* Update y(n-1)L */ in PK_2I_D32F32C14G11_TRC_WRA_01() 202 LVM_INT32 ynL,ynR,ynLO,ynRO,templ; in PK_2I_D32F32C14G11_TRC_WRA_01() local 215 MUL32x16INTO32(templ,pBiquadState->coefs[0],ynL,14) in PK_2I_D32F32C14G11_TRC_WRA_01() 219 ynL+=templ; in PK_2I_D32F32C14G11_TRC_WRA_01() 223 ynL+=templ; in PK_2I_D32F32C14G11_TRC_WRA_01() [all …]
|
D | PK_2I_D32F32C30G11_TRC_WRA_01.c | 47 LVM_INT32 ynL,ynR,ynLO,ynRO,templ; in PK_2I_D32F32C30G11_TRC_WRA_01() local 60 MUL32x32INTO32(templ,pBiquadState->coefs[0],ynL,30) in PK_2I_D32F32C30G11_TRC_WRA_01() 64 ynL+=templ; in PK_2I_D32F32C30G11_TRC_WRA_01() 68 ynL+=templ; in PK_2I_D32F32C30G11_TRC_WRA_01() 71 MUL32x16INTO32(ynL,pBiquadState->coefs[3],ynLO,11) in PK_2I_D32F32C30G11_TRC_WRA_01() 104 pBiquadState->pDelays[4]=ynL; /* Update y(n-1)L in Q0*/ in PK_2I_D32F32C30G11_TRC_WRA_01()
|