Home
last modified time | relevance | path

Searched refs:FilterState (Results 1 – 12 of 12) sorted by relevance

/external/openfst/src/include/fst/
Dcompose-filter.h212 typedef CharFilterState FilterState; typedef
243 FilterState Start() const { return FilterState(0); } in Start()
245 void SetState(StateId s1, StateId s2, const FilterState &f) { in SetState()
258 FilterState FilterArc(Arc *arc1, Arc *arc2) const { in FilterArc()
260 return alleps1_ ? FilterState::NoState() : in FilterArc()
261 noeps1_ ? FilterState(0) : FilterState(1); in FilterArc()
263 return f_ != FilterState(0) ? FilterState::NoState() : FilterState(0); in FilterArc()
265 return arc1->olabel == 0 ? FilterState::NoState() : FilterState(0); in FilterArc()
282 FilterState f_; // Current filter state
297 typedef CharFilterState FilterState; typedef
[all …]
Dlookahead-filter.h204 typedef typename F::FilterState FilterState; typedef
240 FilterState Start() const { in Start()
244 void SetState(StateId s1, StateId s2, const FilterState &f) { in SetState()
248 FilterState FilterArc(Arc *arc1, Arc *arc2) const { in FilterArc()
251 const FilterState &f = filter_.FilterArc(arc1, arc2); in FilterArc()
252 if (f == FilterState::NoState()) in FilterArc()
253 return FilterState::NoState(); in FilterArc()
294 FilterState LookAheadFilterArc(Arc *arca, Arc *arcb, in LookAheadFilterArc()
295 const FilterState &f) const { in LookAheadFilterArc()
308 FilterState::NoState(); in LookAheadFilterArc()
[all …]
Dstate-table.h217 typedef F FilterState; typedef
221 filter_state(FilterState::NoState()) {} in ComposeStateTuple()
223 ComposeStateTuple(StateId s1, StateId s2, const FilterState &f) in ComposeStateTuple()
228 FilterState filter_state; // State of composition filter
273 typedef F FilterState; typedef
294 typedef F FilterState; typedef
322 typedef F FilterState; typedef
334 typedef F FilterState; typedef
352 typedef F FilterState; typedef
386 typedef F FilterState; typedef
[all …]
Dcompose.h51 class T = GenericComposeStateTable<A, typename F::FilterState> >
82 typename F::FilterState> >
211 typedef typename F::FilterState FilterState; typedef
219 typedef ComposeStateTuple<StateId, FilterState> StateTuple;
318 const FilterState &f = filter_->FilterArc(&arcb, &arca); in MatchArc()
319 if (f != FilterState::NoState()) in MatchArc()
322 const FilterState &f = filter_->FilterArc(&arca, &arcb); in MatchArc()
323 if (f != FilterState::NoState()) in MatchArc()
332 const FilterState &f) { in AddArc()
348 const FilterState &f = filter_->Start(); in ComputeStart()
Dintersect.h37 class T = GenericComposeStateTable<A, typename F::FilterState> >
Ddifference.h38 class T = GenericComposeStateTable<A, typename F::FilterState> >
/external/openfst/src/include/fst/extensions/pdt/
Dcompose.h287 typedef typename F::FilterState FilterState1;
291 typedef PairFilterState<FilterState1, FilterState2> FilterState; typedef
302 f_(FilterState::NoState()), in filter_()
324 f_(FilterState::NoState()),
328 FilterState Start() const { in Start()
329 return FilterState(filter_.Start(), FilterState2(0)); in Start()
332 void SetState(StateId s1, StateId s2, const FilterState &f) { in SetState()
352 FilterState FilterArc(Arc *arc1, Arc *arc2) const { in FilterArc()
356 return FilterState::NoState(); in FilterArc()
373 return FilterState(f1, f2); in FilterArc()
[all …]
/external/webrtc/src/modules/audio_processing/
Dhigh_pass_filter_impl.cc30 struct FilterState { struct
36 int InitializeFilter(FilterState* hpf, int sample_rate_hz) { in InitializeFilter()
51 int Filter(FilterState* hpf, WebRtc_Word16* data, int length) { in Filter()
106 typedef FilterState Handle;
154 return new FilterState; in CreateHandle()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dfilters.c75 WebRtc_Word32 *FilterState) //Q16 in AllpassFilterForDec32() argument
84 b = WEBRTC_SPL_ADD_SAT_W32(a, FilterState[j]); //Q16+Q16=Q16 in AllpassFilterForDec32()
88 FilterState[j] = WEBRTC_SPL_ADD_SAT_W32( in AllpassFilterForDec32()
Dfilterbanks.c31 WebRtc_Word32 *FilterState) //Q16 in AllpassFilter2FixDec16() argument
42 b = WEBRTC_SPL_ADD_SAT_W32(a, FilterState[j]); //Q16+Q16=Q16 in AllpassFilter2FixDec16()
44FilterState[j] = WEBRTC_SPL_ADD_SAT_W32(WEBRTC_SPL_LSHIFT_W32(a,1), WEBRTC_SPL_LSHIFT_W32((WebRtc_… in AllpassFilter2FixDec16()
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dfilterbanks.c31 float *FilterState) in WebRtcIsac_AllPassFilter2Float() argument
37 temp = FilterState[j] + APSectionFactors[j] * InOut[n]; in WebRtcIsac_AllPassFilter2Float()
38 FilterState[j] = -APSectionFactors[j] * temp + InOut[n]; in WebRtcIsac_AllPassFilter2Float()
Dfilter_functions.c201 double *FilterState) in WebRtcIsac_AllpassFilterForDec() argument
210 InOut[n] = FilterState[j] + APSectionFactors[j]*temp; in WebRtcIsac_AllpassFilterForDec()
211 FilterState[j] = -APSectionFactors[j]*InOut[n] + temp; in WebRtcIsac_AllpassFilterForDec()