Searched refs:dist_sum (Results 1 – 4 of 4) sorted by relevance
/external/libxcam/xcore/ |
D | xcam_utils.cpp | 186 double dist_sum = 0; in linear_interpolate_p2() local 191 dist_sum = dist_start + dist_end; in linear_interpolate_p2() 196 weight_start = ((double)dist_sum / dist_start); in linear_interpolate_p2() 202 weight_end = ((double)dist_sum / dist_end); in linear_interpolate_p2() 227 double dist_sum = 0; in linear_interpolate_p4() local 234 dist_sum = dist_lt + dist_rt + dist_lb + dist_rb; in linear_interpolate_p4() 239 weight_lt = ((float)dist_sum / dist_lt); in linear_interpolate_p4() 244 weight_rt = ((float)dist_sum / dist_rt); in linear_interpolate_p4() 249 weight_lb = ((float)dist_sum / dist_lb); in linear_interpolate_p4() 254 weight_rb = ((float)dist_sum / dist_rt); in linear_interpolate_p4()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_rd.h | 147 int64_t *rate_sum, int64_t *dist_sum);
|
D | vp9_rd.c | 427 int64_t *rate_sum, int64_t *dist_sum) { in vp9_model_rd_from_var_lapndz_vec() argument 442 *dist_sum += dist; in vp9_model_rd_from_var_lapndz_vec()
|
D | vp9_rdopt.c | 163 int64_t dist_sum = 0; in model_rd_for_sb() local 256 dist_sum += dist; in model_rd_for_sb() 265 dist_sum += dist; in model_rd_for_sb() 269 &rate_sum, &dist_sum); in model_rd_for_sb() 276 *out_dist_sum = dist_sum << 4; in model_rd_for_sb() 2658 int64_t dist_sum = 0; in handle_inter_mode() local 2662 dist_sum = INT64_MAX; in handle_inter_mode() 2678 model_rd_for_sb(cpi, bsize, x, xd, &rate_sum, &dist_sum, &tmp_skip_sb, in handle_inter_mode() 2681 rd = RDCOST(x->rdmult, x->rddiv, rate_sum, dist_sum); in handle_inter_mode() 2690 tmp_dist_sum = dist_sum; in handle_inter_mode()
|