Lines Matching refs:hpf
36 int InitializeFilter(FilterState* hpf, int sample_rate_hz) {
37 assert(hpf != NULL);
40 hpf->ba = kFilterCoefficients8kHz;
42 hpf->ba = kFilterCoefficients;
45 WebRtcSpl_MemSetW16(hpf->x, 0, 2);
46 WebRtcSpl_MemSetW16(hpf->y, 0, 4);
51 int Filter(FilterState* hpf, WebRtc_Word16* data, int length) {
52 assert(hpf != NULL);
55 WebRtc_Word16* y = hpf->y;
56 WebRtc_Word16* x = hpf->x;
57 const WebRtc_Word16* ba = hpf->ba;