Searched refs:distortion2 (Results 1 – 4 of 4) sorted by relevance
/external/libvpx/libvpx/vp8/encoder/ |
D | pickinter.c | 465 static int evaluate_inter_mode(unsigned int *sse, int rate2, int *distortion2, in evaluate_inter_mode() argument 475 *distortion2 = 0; in evaluate_inter_mode() 482 *distortion2 = in evaluate_inter_mode() 486 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, *distortion2); in evaluate_inter_mode() 579 int distortion2; in vp8_pick_inter_mode() local 835 distortion2 = 0; in vp8_pick_inter_mode() 859 distortion2 = best_rd_sse; in vp8_pick_inter_mode() 860 pick_intra4x4mby_modes(x, &rate, &distortion2); in vp8_pick_inter_mode() 862 if (distortion2 == INT_MAX) { in vp8_pick_inter_mode() 866 distortion2 = vpx_variance16x16(*(b->base_src), b->src_stride, in vp8_pick_inter_mode() [all …]
|
D | rdopt.c | 52 int distortion2; member 1616 rd->distortion2 = sse + sse2; in evaluate_inter_mode_rd() 1624 return RDCOST(x->rdmult, x->rddiv, rd->rate2, rd->distortion2); in evaluate_inter_mode_rd() 1636 rd->distortion2 += distortion; in evaluate_inter_mode_rd() 1642 rd->distortion2 += rd->distortion_uv; in evaluate_inter_mode_rd() 1704 this_rd = RDCOST(x->rdmult, x->rddiv, rd->rate2, rd->distortion2); in calculate_final_rd_costs() 1723 (rd->distortion2 - rd->distortion_uv)); in update_best_mode() 1833 rd.distortion2 = 0; in vp8_rd_pick_inter_mode() 1944 rd.distortion2 += distortion; in vp8_rd_pick_inter_mode() 1949 rd.distortion2 += uv_intra_distortion; in vp8_rd_pick_inter_mode() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_rdopt.c | 3343 int64_t distortion2 = 0, distortion_y = 0, distortion_uv = 0; in vp9_rd_pick_inter_mode_sb() local 3538 distortion2 = distortion_y + distortion_uv; in vp9_rd_pick_inter_mode_sb() 3541 cpi, x, bsize, &rate2, &distortion2, &skippable, &rate_y, &rate_uv, in vp9_rd_pick_inter_mode_sb() 3573 distortion2) < in vp9_rd_pick_inter_mode_sb() 3582 distortion2 = total_sse; in vp9_rd_pick_inter_mode_sb() 3592 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp9_rd_pick_inter_mode_sb() 3634 rd_cost->dist = distortion2; in vp9_rd_pick_inter_mode_sb() 3662 if (ref_frame > INTRA_FRAME && distortion2 * scale < qstep * qstep) { in vp9_rd_pick_inter_mode_sb() 3681 single_rd = RDCOST(x->rdmult, x->rddiv, single_rate, distortion2); in vp9_rd_pick_inter_mode_sb() 3682 hybrid_rd = RDCOST(x->rdmult, x->rddiv, hybrid_rate, distortion2); in vp9_rd_pick_inter_mode_sb() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | rdopt.c | 11599 int64_t distortion2 = 0, best_rd_palette = search_state->best_rd, this_rd, in search_palette_mode() local 11632 distortion2 = rd_stats_y.dist; in search_palette_mode() 11655 distortion2 += search_state->dist_uvs[uv_tx]; in search_palette_mode() 11666 this_rd = RDCOST(x->rdmult, rate2, distortion2); in search_palette_mode() 11671 rd_cost->dist = distortion2; in search_palette_mode() 12531 int64_t distortion2) { in sf_drop_ref_analyze() argument 12535 if (idx && distortion2 > search_state->dist_refs[idx]) { in sf_drop_ref_analyze() 12536 search_state->dist_refs[idx] = distortion2; in sf_drop_ref_analyze() 12778 int64_t distortion2 = 0; in av1_rd_pick_inter_mode_sb() local 12895 distortion2 = rd_stats.dist; in av1_rd_pick_inter_mode_sb() [all …]
|