Home
last modified time | relevance | path

Searched refs:filter_state (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/webrtc/common_audio/signal_processing/
Dsplitting_filter.c50 int32_t* filter_state) in WebRtcSpl_AllPassQMF() argument
78 diff = WebRtcSpl_SubSatW32(in_data[0], filter_state[1]); in WebRtcSpl_AllPassQMF()
80 out_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, filter_state[0]); in WebRtcSpl_AllPassQMF()
92 filter_state[0] = in_data[data_length - 1]; // x[N-1], becomes x[-1] next time in WebRtcSpl_AllPassQMF()
93 filter_state[1] = out_data[data_length - 1]; // y_1[N-1], becomes y_1[-1] next time in WebRtcSpl_AllPassQMF()
97 diff = WebRtcSpl_SubSatW32(out_data[0], filter_state[3]); in WebRtcSpl_AllPassQMF()
99 in_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, filter_state[2]); in WebRtcSpl_AllPassQMF()
108 filter_state[2] = out_data[data_length - 1]; // y_1[N-1], becomes y_1[-1] next time in WebRtcSpl_AllPassQMF()
109 filter_state[3] = in_data[data_length - 1]; // y_2[N-1], becomes y_2[-1] next time in WebRtcSpl_AllPassQMF()
113 diff = WebRtcSpl_SubSatW32(in_data[0], filter_state[5]); in WebRtcSpl_AllPassQMF()
[all …]
/external/webrtc/webrtc/common_audio/vad/
Dvad_filterbank.c42 int16_t* filter_state, int16_t* data_out) { in HighPassFilter() argument
60 tmp32 += kHpZeroCoefs[1] * filter_state[0]; in HighPassFilter()
61 tmp32 += kHpZeroCoefs[2] * filter_state[1]; in HighPassFilter()
62 filter_state[1] = filter_state[0]; in HighPassFilter()
63 filter_state[0] = *in_ptr++; in HighPassFilter()
66 tmp32 -= kHpPoleCoefs[1] * filter_state[2]; in HighPassFilter()
67 tmp32 -= kHpPoleCoefs[2] * filter_state[3]; in HighPassFilter()
68 filter_state[3] = filter_state[2]; in HighPassFilter()
69 filter_state[2] = (int16_t) (tmp32 >> 14); in HighPassFilter()
70 *out_ptr++ = filter_state[2]; in HighPassFilter()
[all …]
Dvad_sp.c29 int32_t* filter_state, in WebRtcVad_Downsampling() argument
32 int32_t tmp32_1 = filter_state[0]; in WebRtcVad_Downsampling()
33 int32_t tmp32_2 = filter_state[1]; in WebRtcVad_Downsampling()
53 filter_state[0] = tmp32_1; in WebRtcVad_Downsampling()
54 filter_state[1] = tmp32_2; in WebRtcVad_Downsampling()
Dvad_sp.h35 int32_t* filter_state,
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_filter.c260 static void FilterFrame(const double* in_data, PitchFiltstr* filter_state, in FilterFrame() argument
276 memcpy(filter_parameters.buffer, filter_state->ubuf, in FilterFrame()
277 sizeof(filter_state->ubuf)); in FilterFrame()
278 memcpy(filter_parameters.damper_state, filter_state->ystate, in FilterFrame()
279 sizeof(filter_state->ystate)); in FilterFrame()
298 old_lag = *filter_state->oldlagp; in FilterFrame()
299 old_gain = *filter_state->oldgainp; in FilterFrame()
339 memcpy(filter_state->ubuf, &filter_parameters.buffer[PITCH_FRAME_LEN], in FilterFrame()
340 sizeof(filter_state->ubuf)); in FilterFrame()
341 memcpy(filter_state->ystate, filter_parameters.damper_state, in FilterFrame()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dbackground_noise.h95 memset(filter_state, 0, sizeof(filter_state)); in Reset()
107 int16_t filter_state[kMaxLpcOrder]; member
124 const int16_t* filter_state,
Dbackground_noise.cc150 return channel_parameters_[channel].filter_state; in FilterState()
157 memcpy(channel_parameters_[channel].filter_state, input, in SetFilterState()
229 const int16_t* filter_state, in SaveParameters() argument
236 memcpy(parameters.filter_state, filter_state, in SaveParameters()
/external/iproute2/bridge/
Dfdb.c32 static unsigned int filter_index, filter_vlan, filter_state; variable
122 if (filter_state && !(r->ndm_state & filter_state)) in print_fdb()
347 filter_state |= state; in fdb_show()
/external/webrtc/webrtc/common_audio/signal_processing/include/
Dsignal_processing_library.h624 int16_t* filter_state,