Home
last modified time | relevance | path

Searched refs:state_length_ (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/common_audio/
Dfir_filter.cc32 size_t state_length_; member in webrtc::FIRFilterC
79 state_length_(coefficients_length - 1), in FIRFilterC()
81 state_(new float[state_length_]) { in FIRFilterC()
85 memset(state_.get(), 0, state_length_ * sizeof(state_[0])); in FIRFilterC()
96 for (j = 0; state_length_ > i && j < state_length_ - i; ++j) { in Filter()
100 out[i] += in[j + i - state_length_] * coefficients_[j]; in Filter()
105 if (length >= state_length_) { in Filter()
107 state_.get(), &in[length - state_length_], state_length_ * sizeof(*in)); in Filter()
111 (state_length_ - length) * sizeof(state_[0])); in Filter()
112 memcpy(&state_[state_length_ - length], in, length * sizeof(*in)); in Filter()
Dfir_filter_neon.cc26 state_length_(coefficients_length_ - 1), in FIRFilterNEON()
30 AlignedMalloc(sizeof(float) * (max_input_length + state_length_), in FIRFilterNEON()
42 (max_input_length + state_length_) * sizeof(state_[0])); in FIRFilterNEON()
48 memcpy(&state_[state_length_], in, length * sizeof(*in)); in Filter()
69 memmove(state_.get(), &state_[length], state_length_ * sizeof(state_[0])); in Filter()
Dfir_filter_sse.cc26 state_length_(coefficients_length_ - 1), in FIRFilterSSE2()
30 AlignedMalloc(sizeof(float) * (max_input_length + state_length_), in FIRFilterSSE2()
42 (max_input_length + state_length_) * sizeof(state_[0])); in FIRFilterSSE2()
48 memcpy(&state_[state_length_], in, length * sizeof(*in)); in Filter()
77 memmove(state_.get(), &state_[length], state_length_ * sizeof(state_[0])); in Filter()
Dfir_filter_neon.h30 size_t state_length_; variable
Dfir_filter_sse.h30 size_t state_length_; variable