Home
last modified time | relevance | path

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

/external/libxcam/xcore/
Dxcam_utils.cpp186 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/
Dvp9_rd.h153 int64_t *rate_sum, int64_t *dist_sum);
Dvp9_rd.c481 int64_t *rate_sum, int64_t *dist_sum) { in vp9_model_rd_from_var_lapndz_vec() argument
496 *dist_sum += dist; in vp9_model_rd_from_var_lapndz_vec()
Dvp9_rdopt.c165 int64_t dist_sum = 0; in model_rd_for_sb() local
258 dist_sum += dist; in model_rd_for_sb()
267 dist_sum += dist; in model_rd_for_sb()
271 &rate_sum, &dist_sum); in model_rd_for_sb()
278 *out_dist_sum = dist_sum << 4; in model_rd_for_sb()
2779 int64_t dist_sum = 0; in handle_inter_mode() local
2783 dist_sum = INT64_MAX; in handle_inter_mode()
2799 model_rd_for_sb(cpi, bsize, x, xd, &rate_sum, &dist_sum, &tmp_skip_sb, in handle_inter_mode()
2802 rd = RDCOST(x->rdmult, x->rddiv, rate_sum, dist_sum); in handle_inter_mode()
2811 tmp_dist_sum = dist_sum; in handle_inter_mode()
/external/libaom/libaom/av1/encoder/
Drdopt.c749 md->dist_sum = 0; in av1_inter_mode_data_init()
802 md->dist_mean = md->dist_sum / md->num; in av1_inter_mode_data_fit()
810 (md->dist_mean * factor + (md->dist_sum / md->num)) / (factor + 1); in av1_inter_mode_data_fit()
833 md->dist_sum = 0; in av1_inter_mode_data_fit()
853 rd_model->dist_sum += dist; in inter_mode_data_push()
2018 int64_t dist_sum = 0; in model_rd_for_sb() local
2049 dist_sum += dist; in model_rd_for_sb()
2060 *out_dist_sum = dist_sum; in model_rd_for_sb()
2817 int64_t dist_sum = 0; in model_rd_for_sb_with_dnn() local
2849 dist_sum += dist; in model_rd_for_sb_with_dnn()
[all …]
Dencoder.h504 double dist_sum; member