Home
last modified time | relevance | path

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

/external/webrtc/src/common_audio/signal_processing/
Dsplitting_filter.c48 WebRtc_Word32* filter_state) in WebRtcSpl_AllPassQMF() argument
75 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[0], filter_state[1]); // = (x[0] - y_1[-1]) in WebRtcSpl_AllPassQMF()
77 out_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, filter_state[0]); in WebRtcSpl_AllPassQMF()
88 filter_state[0] = in_data[data_length - 1]; // x[N-1], becomes x[-1] next time in WebRtcSpl_AllPassQMF()
89 filter_state[1] = out_data[data_length - 1]; // y_1[N-1], becomes y_1[-1] next time in WebRtcSpl_AllPassQMF()
92 diff = WEBRTC_SPL_SUB_SAT_W32(out_data[0], filter_state[3]); // = (y_1[0] - y_2[-1]) in WebRtcSpl_AllPassQMF()
94 in_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, filter_state[2]); in WebRtcSpl_AllPassQMF()
102 filter_state[2] = out_data[data_length - 1]; // y_1[N-1], becomes y_1[-1] next time in WebRtcSpl_AllPassQMF()
103 filter_state[3] = in_data[data_length - 1]; // y_2[N-1], becomes y_2[-1] next time in WebRtcSpl_AllPassQMF()
106 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[0], filter_state[5]); // = (y_2[0] - y[-1]) in WebRtcSpl_AllPassQMF()
[all …]
/external/webrtc/src/common_audio/vad/
Dvad_filterbank.c38 int16_t* filter_state, in WebRtcVad_HpOutput() argument
57 tmp32 += (int32_t) WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[1], filter_state[0]); in WebRtcVad_HpOutput()
59 filter_state[1]); // Q14 in WebRtcVad_HpOutput()
60 filter_state[1] = filter_state[0]; in WebRtcVad_HpOutput()
61 filter_state[0] = *in_ptr++; in WebRtcVad_HpOutput()
65 filter_state[2]); // Q14 in WebRtcVad_HpOutput()
66 tmp32 -= (int32_t) WEBRTC_SPL_MUL_16_16(kHpPoleCoefs[2], filter_state[3]); in WebRtcVad_HpOutput()
67 filter_state[3] = filter_state[2]; in WebRtcVad_HpOutput()
68 filter_state[2] = (int16_t) WEBRTC_SPL_RSHIFT_W32 (tmp32, 14); in WebRtcVad_HpOutput()
69 *out_ptr++ = filter_state[2]; in WebRtcVad_HpOutput()
[all …]
Dvad_sp.c27 int32_t* filter_state, in WebRtcVad_Downsampling() argument
30 int32_t tmp32_1 = filter_state[0]; in WebRtcVad_Downsampling()
31 int32_t tmp32_2 = filter_state[1]; in WebRtcVad_Downsampling()
52 filter_state[0] = tmp32_1; in WebRtcVad_Downsampling()
53 filter_state[1] = tmp32_2; in WebRtcVad_Downsampling()
Dvad_filterbank.h40 int16_t* filter_state,
65 int16_t* filter_state,
Dvad_sp.h35 int32_t* filter_state,
/external/webrtc/src/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/openfst/src/include/fst/
Dstate-table.h221 filter_state(FilterState::NoState()) {} in ComposeStateTuple()
224 : state_id1(s1), state_id2(s2), filter_state(f) {} in ComposeStateTuple()
228 FilterState filter_state; // State of composition filter member
239 x.filter_state == y.filter_state;
249 t.filter_state.Hash() * kPrime1; in operator()
308 tuple.filter_state.Hash() * mult2_; in operator()
Dcompose.h269 filter_->SetState(s1, s2, tuple.filter_state); in Expand()
365 filter_->SetState(s1, s2, tuple.filter_state); in ComputeFinal()
/external/webrtc/src/common_audio/signal_processing/include/
Dsignal_processing_library.h378 WebRtc_Word16* filter_state, int filter_state_length,