Home
last modified time | relevance | path

Searched refs:weight_start (Results 1 – 4 of 4) sorted by relevance

/external/libxcam/xcore/
Dimage_projector.cpp82 double weight_start = (orient_ts[i + 1] - frame_ts) / (orient_ts[i + 1] - orient_ts[i]); in interp_orientation() local
83 double weight_end = 1.0f - weight_start; in interp_orientation()
84 XCAM_ASSERT (weight_start >= 0 && weight_start <= 1.0); in interp_orientation()
87 return Quaternd (orientation[i] * weight_start + orientation[i + 1] * weight_end); in interp_orientation()
Dxcam_utils.cpp182 double weight_start = 0; in linear_interpolate_p2() local
194 weight_start = 10000000.0; in linear_interpolate_p2()
196 weight_start = ((double)dist_sum / dist_start); in linear_interpolate_p2()
205 value = (value_start * weight_start + value_end * weight_end) / (weight_start + weight_end); in linear_interpolate_p2()
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/
Dfilterbank_util.cc188 const int weight_start = state->channel_weight_starts[chan]; in FilterbankPopulateState() local
198 const int weight_index = weight_start + frequency_offset + j; in FilterbankPopulateState()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfilterbank_util.c187 const int weight_start = state->channel_weight_starts[chan]; in FilterbankPopulateState() local
197 const int weight_index = weight_start + frequency_offset + j; in FilterbankPopulateState()