Lines Matching refs:hpf
35 int InitializeFilter(FilterState* hpf, int sample_rate_hz) {
36 assert(hpf != NULL);
39 hpf->ba = kFilterCoefficients8kHz;
41 hpf->ba = kFilterCoefficients;
44 WebRtcSpl_MemSetW16(hpf->x, 0, 2);
45 WebRtcSpl_MemSetW16(hpf->y, 0, 4);
50 int Filter(FilterState* hpf, int16_t* data, int length) {
51 assert(hpf != NULL);
54 int16_t* y = hpf->y;
55 int16_t* x = hpf->x;
56 const int16_t* ba = hpf->ba;