Home
last modified time | relevance | path

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

/hal_st-3.7.0/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
229 OldZ = Param->OldZ; in Open_PDM_Filter_64()
252 OldZ = ((256 - Param->LP_ALFA) * OldZ + Param->LP_ALFA * OldOut) >> 8; in Open_PDM_Filter_64()
254 Z = OldZ * volume; in Open_PDM_Filter_64()
264 Param->OldZ = OldZ; in Open_PDM_Filter_64()
273 int64_t OldOut, OldIn, OldZ; in Open_PDM_Filter_128() local
277 OldZ = Param->OldZ; in Open_PDM_Filter_128()
300 OldZ = ((256 - Param->LP_ALFA) * OldZ + Param->LP_ALFA * OldOut) >> 8; in Open_PDM_Filter_128()
302 Z = OldZ * volume; in Open_PDM_Filter_128()
[all …]
DOpenPDMFilter.h78 int64_t OldOut, OldIn, OldZ; member