Home
last modified time | relevance | path

Searched refs:OldOut (Results 1 – 2 of 2) sorted by relevance

/hal_st-2.7.6/audio/microphone/
DOpenPDMFilter.c179 Param->OldOut = Param->OldIn = Param->OldZ = 0; in Open_PDM_Filter_Init()
225 int64_t OldOut, OldIn, OldZ; in Open_PDM_Filter_64() local
227 OldOut = Param->OldOut; in Open_PDM_Filter_64()
250 OldOut = (Param->HP_ALFA * (OldOut + Z - OldIn)) >> 8; in Open_PDM_Filter_64()
252 OldZ = ((256 - Param->LP_ALFA) * OldZ + Param->LP_ALFA * OldOut) >> 8; in Open_PDM_Filter_64()
262 Param->OldOut = OldOut; in Open_PDM_Filter_64()
273 int64_t OldOut, OldIn, OldZ; in Open_PDM_Filter_128() local
275 OldOut = Param->OldOut; in Open_PDM_Filter_128()
298 OldOut = (Param->HP_ALFA * (OldOut + Z - OldIn)) >> 8; in Open_PDM_Filter_128()
300 OldZ = ((256 - Param->LP_ALFA) * OldZ + Param->LP_ALFA * OldOut) >> 8; in Open_PDM_Filter_128()
[all …]
DOpenPDMFilter.h78 int64_t OldOut, OldIn, OldZ; member