Home
last modified time | relevance | path

Searched refs:weight_end (Results 1 – 2 of 2) sorted by relevance

/external/libxcam/xcore/
Dimage_projector.cpp83 double weight_end = 1.0f - weight_start; in interp_orientation() local
85 XCAM_ASSERT (weight_end >= 0 && weight_end <= 1.0); in interp_orientation()
87 return Quaternd (orientation[i] * weight_start + orientation[i + 1] * weight_end); in interp_orientation()
Dxcam_utils.cpp183 double weight_end = 0; in linear_interpolate_p2() local
200 weight_end = 10000000.0; in linear_interpolate_p2()
202 weight_end = ((double)dist_sum / dist_end); in linear_interpolate_p2()
205 value = (value_start * weight_start + value_end * weight_end) / (weight_start + weight_end); in linear_interpolate_p2()