Home
last modified time | relevance | path

Searched refs:weight_start (Results 1 – 2 of 2) 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()