/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | FO_2I_D16F32C15_LShx_TRC_WRA_01.c | 41 LVM_FLOAT ynL,ynR; in FO_2I_D16F32C15_LShx_TRC_WRA_01() local 60 ynR = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[2]; in FO_2I_D16F32C15_LShx_TRC_WRA_01() 66 ynR += (LVM_FLOAT)pBiquadState->coefs[1] * (*(pDataIn+1)); in FO_2I_D16F32C15_LShx_TRC_WRA_01() 74 ynR += Temp; in FO_2I_D16F32C15_LShx_TRC_WRA_01() 83 pBiquadState->pDelays[3] = ynR; // Update y(n-1)R in FO_2I_D16F32C15_LShx_TRC_WRA_01() 103 if(ynR > 1.0f) in FO_2I_D16F32C15_LShx_TRC_WRA_01() 105 ynR = 1.0f; in FO_2I_D16F32C15_LShx_TRC_WRA_01() 109 if(ynR < NegSatValue) in FO_2I_D16F32C15_LShx_TRC_WRA_01() 111 ynR = NegSatValue; in FO_2I_D16F32C15_LShx_TRC_WRA_01() 116 *pDataOut++ = (LVM_FLOAT)ynR; in FO_2I_D16F32C15_LShx_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 77 ynR = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[3]; in BQ_2I_D16F16C14_TRC_WRA_01() 80 ynR += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[1]; in BQ_2I_D16F16C14_TRC_WRA_01() 83 ynR += (LVM_FLOAT)pBiquadState->coefs[2] * (*(pDataIn+1)); in BQ_2I_D16F16C14_TRC_WRA_01() 86 ynR += (LVM_FLOAT)pBiquadState->coefs[3] * pBiquadState->pDelays[7]; in BQ_2I_D16F16C14_TRC_WRA_01() 89 ynR += (LVM_FLOAT)pBiquadState->coefs[4] * pBiquadState->pDelays[5]; in BQ_2I_D16F16C14_TRC_WRA_01() 99 pBiquadState->pDelays[5] = ynR; // Update y(n-1)R in BQ_2I_D16F16C14_TRC_WRA_01() 108 *pDataOut++ = (LVM_FLOAT)ynR; // Write Right ouput in BQ_2I_D16F16C14_TRC_WRA_01() 120 LVM_INT32 ynL,ynR; in BQ_2I_D16F16C14_TRC_WRA_01() local 151 ynR=(LVM_INT32)pBiquadState->coefs[0]*pBiquadState->pDelays[3]; in BQ_2I_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 78 ynR = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[3]; in BQ_2I_D16F16C15_TRC_WRA_01() 81 ynR += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[1]; in BQ_2I_D16F16C15_TRC_WRA_01() 84 ynR += (LVM_FLOAT)pBiquadState->coefs[2] * (*(pDataIn+1)); in BQ_2I_D16F16C15_TRC_WRA_01() 87 ynR += (LVM_FLOAT)pBiquadState->coefs[3] * pBiquadState->pDelays[7]; in BQ_2I_D16F16C15_TRC_WRA_01() 90 ynR += (LVM_FLOAT)pBiquadState->coefs[4] * pBiquadState->pDelays[5]; in BQ_2I_D16F16C15_TRC_WRA_01() 100 pBiquadState->pDelays[5] = ynR; // Update y(n-1)R in BQ_2I_D16F16C15_TRC_WRA_01() 109 *pDataOut++ = (LVM_FLOAT)ynR; // Write Right ouput in BQ_2I_D16F16C15_TRC_WRA_01() 120 LVM_INT32 ynL,ynR; in BQ_2I_D16F16C15_TRC_WRA_01() local 152 ynR=(LVM_INT32)pBiquadState->coefs[0]*pBiquadState->pDelays[3]; in BQ_2I_D16F16C15_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 76 ynR = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[3]; in BQ_2I_D16F32C14_TRC_WRA_01() 79 ynR += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[1]; in BQ_2I_D16F32C14_TRC_WRA_01() 82 ynR += (LVM_FLOAT)pBiquadState->coefs[2] * (*(pDataIn+1)); in BQ_2I_D16F32C14_TRC_WRA_01() 85 ynR += pBiquadState->pDelays[7] * pBiquadState->coefs[3]; in BQ_2I_D16F32C14_TRC_WRA_01() 88 ynR += pBiquadState->pDelays[5] * pBiquadState->coefs[4]; in BQ_2I_D16F32C14_TRC_WRA_01() 97 pBiquadState->pDelays[5] = ynR; /* Update y(n-1)R */ in BQ_2I_D16F32C14_TRC_WRA_01() 109 *pDataOut = (LVM_FLOAT)(ynR); /* Write Right ouput */ in BQ_2I_D16F32C14_TRC_WRA_01() 120 LVM_INT32 ynL,ynR,templ; in BQ_2I_D16F32C14_TRC_WRA_01() local 152 ynR=(LVM_INT32)pBiquadState->coefs[0]*pBiquadState->pDelays[3]; 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 77 ynR = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[3]; in BQ_2I_D16F32C15_TRC_WRA_01() 80 ynR += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[1]; in BQ_2I_D16F32C15_TRC_WRA_01() 83 ynR += (LVM_FLOAT)pBiquadState->coefs[2] * (*(pDataIn+1)); in BQ_2I_D16F32C15_TRC_WRA_01() 86 ynR += pBiquadState->pDelays[7] * pBiquadState->coefs[3]; in BQ_2I_D16F32C15_TRC_WRA_01() 90 ynR += pBiquadState->pDelays[5] * pBiquadState->coefs[4]; in BQ_2I_D16F32C15_TRC_WRA_01() 99 pBiquadState->pDelays[5] = ynR; /* Update y(n-1)R*/ in BQ_2I_D16F32C15_TRC_WRA_01() 111 *pDataOut = (LVM_FLOAT)(ynR); /* Write Right ouput*/ in BQ_2I_D16F32C15_TRC_WRA_01() 122 LVM_INT32 ynL,ynR,templ; in BQ_2I_D16F32C15_TRC_WRA_01() local 154 ynR=(LVM_INT32)pBiquadState->coefs[0]*pBiquadState->pDelays[3]; in BQ_2I_D16F32C15_TRC_WRA_01() [all …]
|
D | BQ_2I_D16F32C13_TRC_WRA_01.c | 46 LVM_FLOAT ynL,ynR; in BQ_2I_D16F32C13_TRC_WRA_01() local 75 ynR = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[3]; in BQ_2I_D16F32C13_TRC_WRA_01() 78 ynR += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[1]; in BQ_2I_D16F32C13_TRC_WRA_01() 81 ynR += (LVM_FLOAT)pBiquadState->coefs[2] * (*(pDataIn+1)); in BQ_2I_D16F32C13_TRC_WRA_01() 84 ynR += pBiquadState->pDelays[7] * pBiquadState->coefs[3]; in BQ_2I_D16F32C13_TRC_WRA_01() 87 ynR += pBiquadState->pDelays[5] * pBiquadState->coefs[4]; in BQ_2I_D16F32C13_TRC_WRA_01() 96 pBiquadState->pDelays[5] = ynR; /* Update y(n-1)R */ in BQ_2I_D16F32C13_TRC_WRA_01() 108 *pDataOut = (LVM_FLOAT)(ynR); /* Write Right ouput */ in BQ_2I_D16F32C13_TRC_WRA_01() 118 LVM_INT32 ynL,ynR,templ; in BQ_2I_D16F32C13_TRC_WRA_01() local 150 ynR=(LVM_INT32)pBiquadState->coefs[0]*pBiquadState->pDelays[3]; in BQ_2I_D16F32C13_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 81 ynR = pBiquadState->coefs[0] * pBiquadState->pDelays[3]; in BQ_2I_D32F32C30_TRC_WRA_01() 85 ynR += templ; in BQ_2I_D32F32C30_TRC_WRA_01() 90 ynR += templ; in BQ_2I_D32F32C30_TRC_WRA_01() 94 ynR += templ; in BQ_2I_D32F32C30_TRC_WRA_01() 98 ynR += templ; in BQ_2I_D32F32C30_TRC_WRA_01() 107 pBiquadState->pDelays[5] = (LVM_FLOAT)ynR; /* Update y(n-1)R */ in BQ_2I_D32F32C30_TRC_WRA_01() 119 *pDataOut = (LVM_FLOAT)ynR; /* Write Right ouput */ in BQ_2I_D32F32C30_TRC_WRA_01() 215 LVM_INT32 ynL,ynR,templ,tempd; in BQ_2I_D32F32C30_TRC_WRA_01() local 249 MUL32x32INTO32(pBiquadState->coefs[0],pBiquadState->pDelays[3],ynR,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 81 ynR = templ * pBiquadState->coefs[0]; in PK_2I_D32F32C14G11_TRC_WRA_01() 85 ynR += templ; in PK_2I_D32F32C14G11_TRC_WRA_01() 89 ynR += templ; in PK_2I_D32F32C14G11_TRC_WRA_01() 92 ynRO = ynR * pBiquadState->coefs[3]; in PK_2I_D32F32C14G11_TRC_WRA_01() 104 pBiquadState->pDelays[5] = ynR; /* Update y(n-1)R */ in PK_2I_D32F32C14G11_TRC_WRA_01() 202 LVM_INT32 ynL,ynR,ynLO,ynRO,templ; in PK_2I_D32F32C14G11_TRC_WRA_01() local 236 MUL32x16INTO32(templ,pBiquadState->coefs[0],ynR,14) in PK_2I_D32F32C14G11_TRC_WRA_01() 240 ynR+=templ; in PK_2I_D32F32C14G11_TRC_WRA_01() 244 ynR+=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 80 MUL32x32INTO32(templ,pBiquadState->coefs[0],ynR,30) in PK_2I_D32F32C30G11_TRC_WRA_01() 84 ynR+=templ; in PK_2I_D32F32C30G11_TRC_WRA_01() 88 ynR+=templ; in PK_2I_D32F32C30G11_TRC_WRA_01() 91 MUL32x16INTO32(ynR,pBiquadState->coefs[3],ynRO,11) in PK_2I_D32F32C30G11_TRC_WRA_01() 103 pBiquadState->pDelays[5]=ynR; /* Update y(n-1)R in Q0*/ in PK_2I_D32F32C30G11_TRC_WRA_01()
|