Home
last modified time | relevance | path

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

/external/libxcam/xcore/
Dxcam_utils.cpp224 double dist_rt = 0; in linear_interpolate_p4() local
231 dist_rt = (double)abs(ref_curr_x - ref_rt_x) + (double)abs(ref_curr_y - ref_rt_y); in linear_interpolate_p4()
234 dist_sum = dist_lt + dist_rt + dist_lb + dist_rb; in linear_interpolate_p4()
241 if (dist_rt == 0) { in linear_interpolate_p4()
244 weight_rt = ((float)dist_sum / dist_rt); in linear_interpolate_p4()
254 weight_rb = ((float)dist_sum / dist_rt); in linear_interpolate_p4()