/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | FO_2I_D16F32C15_LShx_TRC_WRA_01.c | 41 LVM_INT32 ynL,ynR; in FO_2I_D16F32C15_LShx_TRC_WRA_01() local 64 ynR=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in FO_2I_D16F32C15_LShx_TRC_WRA_01() 70 ynR+=(LVM_INT32)pBiquadState->coefs[1]* (*(pDataIn+1)); in FO_2I_D16F32C15_LShx_TRC_WRA_01() 78 ynR +=Temp; in FO_2I_D16F32C15_LShx_TRC_WRA_01() 87 pBiquadState->pDelays[3]=ynR; // Update y(n-1)R in Q30 in FO_2I_D16F32C15_LShx_TRC_WRA_01() 96 ynR = ynR>>(15-Shift); in FO_2I_D16F32C15_LShx_TRC_WRA_01() 111 if(ynR > LVM_MAXINT_16) in FO_2I_D16F32C15_LShx_TRC_WRA_01() 113 ynR = LVM_MAXINT_16; in FO_2I_D16F32C15_LShx_TRC_WRA_01() 117 if(ynR < NegSatValue) in FO_2I_D16F32C15_LShx_TRC_WRA_01() 119 ynR = NegSatValue; in FO_2I_D16F32C15_LShx_TRC_WRA_01() [all …]
|
D | BQ_2I_D16F16C14_TRC_WRA_01.c | 46 LVM_INT32 ynL,ynR; in BQ_2I_D16F16C14_TRC_WRA_01() local 77 ynR=(LVM_INT32)pBiquadState->coefs[0]*pBiquadState->pDelays[3]; in BQ_2I_D16F16C14_TRC_WRA_01() 80 ynR+=(LVM_INT32)pBiquadState->coefs[1]*pBiquadState->pDelays[1]; in BQ_2I_D16F16C14_TRC_WRA_01() 83 ynR+=(LVM_INT32)pBiquadState->coefs[2]*(*(pDataIn+1)); in BQ_2I_D16F16C14_TRC_WRA_01() 86 ynR+=(LVM_INT32)pBiquadState->coefs[3]*pBiquadState->pDelays[7]; in BQ_2I_D16F16C14_TRC_WRA_01() 89 ynR+=(LVM_INT32)pBiquadState->coefs[4]*pBiquadState->pDelays[5]; in BQ_2I_D16F16C14_TRC_WRA_01() 91 ynR=ynR>>14; // ynL in Q0 format in BQ_2I_D16F16C14_TRC_WRA_01() 99 pBiquadState->pDelays[5]=ynR; // Update y(n-1)R in Q0 in BQ_2I_D16F16C14_TRC_WRA_01() 108 *pDataOut++=(LVM_INT16)ynR; // Write Right ouput in Q0 in BQ_2I_D16F16C14_TRC_WRA_01()
|
D | BQ_2I_D16F16C15_TRC_WRA_01.c | 46 LVM_INT32 ynL,ynR; in BQ_2I_D16F16C15_TRC_WRA_01() local 78 ynR=(LVM_INT32)pBiquadState->coefs[0]*pBiquadState->pDelays[3]; in BQ_2I_D16F16C15_TRC_WRA_01() 81 ynR+=(LVM_INT32)pBiquadState->coefs[1]*pBiquadState->pDelays[1]; in BQ_2I_D16F16C15_TRC_WRA_01() 84 ynR+=(LVM_INT32)pBiquadState->coefs[2]*(*(pDataIn+1)); in BQ_2I_D16F16C15_TRC_WRA_01() 87 ynR+=(LVM_INT32)pBiquadState->coefs[3]*pBiquadState->pDelays[7]; in BQ_2I_D16F16C15_TRC_WRA_01() 90 ynR+=(LVM_INT32)pBiquadState->coefs[4]*pBiquadState->pDelays[5]; in BQ_2I_D16F16C15_TRC_WRA_01() 92 ynR=ynR>>15; // ynL in Q0 format in BQ_2I_D16F16C15_TRC_WRA_01() 100 pBiquadState->pDelays[5]=ynR; // Update y(n-1)R in Q0 in BQ_2I_D16F16C15_TRC_WRA_01() 109 *pDataOut++=(LVM_INT16)ynR; // Write Right ouput in Q0 in BQ_2I_D16F16C15_TRC_WRA_01()
|
D | BQ_2I_D16F32C15_TRC_WRA_01.c | 45 LVM_INT32 ynL,ynR,templ; in BQ_2I_D16F32C15_TRC_WRA_01() local 77 ynR=(LVM_INT32)pBiquadState->coefs[0]*pBiquadState->pDelays[3]; in BQ_2I_D16F32C15_TRC_WRA_01() 80 ynR+=(LVM_INT32)pBiquadState->coefs[1]*pBiquadState->pDelays[1]; in BQ_2I_D16F32C15_TRC_WRA_01() 83 ynR+=(LVM_INT32)pBiquadState->coefs[2]*(*(pDataIn+1)); in BQ_2I_D16F32C15_TRC_WRA_01() 87 ynR+=templ; in BQ_2I_D16F32C15_TRC_WRA_01() 91 ynR+=templ; in BQ_2I_D16F32C15_TRC_WRA_01() 100 pBiquadState->pDelays[5]=ynR<<1; /* Update y(n-1)R in Q16*/ in BQ_2I_D16F32C15_TRC_WRA_01() 112 *pDataOut=(LVM_INT16)(ynR>>15); /* Write Right ouput in Q0*/ in BQ_2I_D16F32C15_TRC_WRA_01()
|
D | BQ_2I_D16F32C14_TRC_WRA_01.c | 45 LVM_INT32 ynL,ynR,templ; in BQ_2I_D16F32C14_TRC_WRA_01() local 77 ynR=(LVM_INT32)pBiquadState->coefs[0]*pBiquadState->pDelays[3]; in BQ_2I_D16F32C14_TRC_WRA_01() 80 ynR+=(LVM_INT32)pBiquadState->coefs[1]*pBiquadState->pDelays[1]; in BQ_2I_D16F32C14_TRC_WRA_01() 83 ynR+=(LVM_INT32)pBiquadState->coefs[2]*(*(pDataIn+1)); in BQ_2I_D16F32C14_TRC_WRA_01() 87 ynR+=templ; in BQ_2I_D16F32C14_TRC_WRA_01() 91 ynR+=templ; in BQ_2I_D16F32C14_TRC_WRA_01() 100 pBiquadState->pDelays[5]=ynR<<2; /* Update y(n-1)R in Q16*/ in BQ_2I_D16F32C14_TRC_WRA_01() 112 *pDataOut=(LVM_INT16)(ynR>>14); /* Write Right ouput in Q0*/ in BQ_2I_D16F32C14_TRC_WRA_01()
|
D | BQ_2I_D16F32C13_TRC_WRA_01.c | 46 LVM_INT32 ynL,ynR,templ; in BQ_2I_D16F32C13_TRC_WRA_01() local 78 ynR=(LVM_INT32)pBiquadState->coefs[0]*pBiquadState->pDelays[3]; in BQ_2I_D16F32C13_TRC_WRA_01() 81 ynR+=(LVM_INT32)pBiquadState->coefs[1]*pBiquadState->pDelays[1]; in BQ_2I_D16F32C13_TRC_WRA_01() 84 ynR+=(LVM_INT32)pBiquadState->coefs[2]*(*(pDataIn+1)); in BQ_2I_D16F32C13_TRC_WRA_01() 88 ynR+=templ; in BQ_2I_D16F32C13_TRC_WRA_01() 92 ynR+=templ; in BQ_2I_D16F32C13_TRC_WRA_01() 101 pBiquadState->pDelays[5]=ynR<<3; /* Update y(n-1)R in Q16*/ in BQ_2I_D16F32C13_TRC_WRA_01() 113 *pDataOut=(LVM_INT16)(ynR>>13); /* Write Right ouput in Q0*/ in BQ_2I_D16F32C13_TRC_WRA_01()
|
D | BQ_2I_D32F32C30_TRC_WRA_01.c | 47 LVM_INT32 ynL,ynR,templ,tempd; in BQ_2I_D32F32C30_TRC_WRA_01() local 81 MUL32x32INTO32(pBiquadState->coefs[0],pBiquadState->pDelays[3],ynR,30) 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_INT32)ynR; /* Update y(n-1)R in Q0*/ in BQ_2I_D32F32C30_TRC_WRA_01() 119 *pDataOut=(LVM_INT32)ynR; /* Write Right ouput in Q0*/ in BQ_2I_D32F32C30_TRC_WRA_01()
|
D | PK_2I_D32F32C30G11_TRC_WRA_01.c | 46 LVM_INT32 ynL,ynR,ynLO,ynRO,templ; in PK_2I_D32F32C30G11_TRC_WRA_01() local 79 MUL32x32INTO32(templ,pBiquadState->coefs[0],ynR,30) in PK_2I_D32F32C30G11_TRC_WRA_01() 83 ynR+=templ; in PK_2I_D32F32C30G11_TRC_WRA_01() 87 ynR+=templ; in PK_2I_D32F32C30G11_TRC_WRA_01() 90 MUL32x16INTO32(ynR,pBiquadState->coefs[3],ynRO,11) in PK_2I_D32F32C30G11_TRC_WRA_01() 102 pBiquadState->pDelays[5]=ynR; /* Update y(n-1)R in Q0*/ in PK_2I_D32F32C30G11_TRC_WRA_01()
|
D | PK_2I_D32F32C14G11_TRC_WRA_01.c | 46 LVM_INT32 ynL,ynR,ynLO,ynRO,templ; in PK_2I_D32F32C14G11_TRC_WRA_01() local 80 MUL32x16INTO32(templ,pBiquadState->coefs[0],ynR,14) in PK_2I_D32F32C14G11_TRC_WRA_01() 84 ynR+=templ; in PK_2I_D32F32C14G11_TRC_WRA_01() 88 ynR+=templ; in PK_2I_D32F32C14G11_TRC_WRA_01() 91 MUL32x16INTO32(ynR,pBiquadState->coefs[3],ynRO,11) in PK_2I_D32F32C14G11_TRC_WRA_01() 103 pBiquadState->pDelays[5]=ynR; /* Update y(n-1)R in Q0*/ in PK_2I_D32F32C14G11_TRC_WRA_01()
|