Home
last modified time | relevance | path

Searched refs:yn (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DFO_2I_D16F32C15_LShx_TRC_WRA_01.cpp144 LVM_FLOAT yn; in FO_Mc_D16F32C15_LShx_TRC_WRA_01() local
165 yn = (LVM_FLOAT)A1 * pDelays[0]; in FO_Mc_D16F32C15_LShx_TRC_WRA_01()
168 yn += (LVM_FLOAT)A0 * (*pDataIn); in FO_Mc_D16F32C15_LShx_TRC_WRA_01()
172 yn += Temp; in FO_Mc_D16F32C15_LShx_TRC_WRA_01()
177 pDelays[1] = yn; // Update y(n-1) in FO_Mc_D16F32C15_LShx_TRC_WRA_01()
185 if (yn > 1.0f) in FO_Mc_D16F32C15_LShx_TRC_WRA_01()
187 yn = 1.0f; in FO_Mc_D16F32C15_LShx_TRC_WRA_01()
188 } else if (yn < -1.0f) { in FO_Mc_D16F32C15_LShx_TRC_WRA_01()
189 yn = -1.0f; in FO_Mc_D16F32C15_LShx_TRC_WRA_01()
192 *pDataOut++ = (LVM_FLOAT)yn; in FO_Mc_D16F32C15_LShx_TRC_WRA_01()
DBQ_2I_D32F32C30_TRC_WRA_01.cpp151 LVM_FLOAT yn, temp; in BQ_MC_D32F32C30_TRC_WRA_01() local
163 yn = pBiquadState->coefs[0] * pBiquadState->pDelays[NrChannels + jj]; in BQ_MC_D32F32C30_TRC_WRA_01()
167 yn += temp; in BQ_MC_D32F32C30_TRC_WRA_01()
171 yn += temp; in BQ_MC_D32F32C30_TRC_WRA_01()
175 yn += temp; in BQ_MC_D32F32C30_TRC_WRA_01()
179 yn += temp; in BQ_MC_D32F32C30_TRC_WRA_01()
188 pBiquadState->pDelays[NrChannels * 2 + jj] = (LVM_FLOAT)yn; /* Update y(n-1)*/ in BQ_MC_D32F32C30_TRC_WRA_01()
194 *pDataOut = (LVM_FLOAT)yn; /* Write jj Channel output */ in BQ_MC_D32F32C30_TRC_WRA_01()
DPK_2I_D32F32C14G11_TRC_WRA_01.cpp142 LVM_FLOAT yn, ynO, temp; in PK_Mc_D32F32C14G11_TRC_WRA_01() local
156 yn = temp * pBiquadState->coefs[0]; in PK_Mc_D32F32C14G11_TRC_WRA_01()
160 yn += temp; in PK_Mc_D32F32C14G11_TRC_WRA_01()
164 yn += temp; in PK_Mc_D32F32C14G11_TRC_WRA_01()
167 ynO = yn * pBiquadState->coefs[3]; in PK_Mc_D32F32C14G11_TRC_WRA_01()
179 pBiquadState->pDelays[NrChannels * 2 + jj] = yn; /* Update y(n-1) */ in PK_Mc_D32F32C14G11_TRC_WRA_01()