Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dpickinter.c486 static int evaluate_inter_mode(unsigned int* sse, int rate2, int* distortion2, in evaluate_inter_mode() argument
497 *distortion2 = 0; in evaluate_inter_mode()
504 *distortion2 = vp8_get_inter_mbpred_error(x, in evaluate_inter_mode()
508 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, *distortion2); in evaluate_inter_mode()
591 int distortion2; in vp8_pick_inter_mode() local
779 distortion2 = 0; in vp8_pick_inter_mode()
805 distortion2 = best_rd_sse; in vp8_pick_inter_mode()
806 pick_intra4x4mby_modes(x, &rate, &distortion2); in vp8_pick_inter_mode()
808 if (distortion2 == INT_MAX) in vp8_pick_inter_mode()
815 distortion2 = vp8_variance16x16( in vp8_pick_inter_mode()
[all …]
Drdopt.c49 int distortion2; member
1804 rd->distortion2 = sse + sse2; in evaluate_inter_mode_rd()
1813 rd->distortion2); in evaluate_inter_mode_rd()
1826 rd->distortion2 += distortion; in evaluate_inter_mode_rd()
1832 rd->distortion2 += rd->distortion_uv; in evaluate_inter_mode_rd()
1908 this_rd = RDCOST(x->rdmult, x->rddiv, rd->rate2, rd->distortion2); in calculate_final_rd_costs()
1926 (rd->distortion2-rd->distortion_uv)); in update_best_mode()
2041 rd.distortion2 = 0; in vp8_rd_pick_inter_mode()
2158 rd.distortion2 += distortion; in vp8_rd_pick_inter_mode()
2164 rd.distortion2 += uv_intra_distortion; in vp8_rd_pick_inter_mode()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_rdopt.c3297 int64_t distortion2 = 0, distortion_y = 0, distortion_uv = 0; in vp9_rd_pick_inter_mode_sb() local
3438 distortion2 = distortion_y + distortion_uv; in vp9_rd_pick_inter_mode_sb()
3442 &rate2, &distortion2, &skippable, in vp9_rd_pick_inter_mode_sb()
3492 if (RDCOST(x->rdmult, x->rddiv, rate_y + rate_uv, distortion2) < in vp9_rd_pick_inter_mode_sb()
3499 distortion2 = total_sse; in vp9_rd_pick_inter_mode_sb()
3512 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp9_rd_pick_inter_mode_sb()
3538 || distortion2 < mode_distortions[this_mode]) { in vp9_rd_pick_inter_mode_sb()
3539 mode_distortions[this_mode] = distortion2; in vp9_rd_pick_inter_mode_sb()
3556 *returndistortion = distortion2; in vp9_rd_pick_inter_mode_sb()
3577 distortion2 * scale < qstep * qstep) { in vp9_rd_pick_inter_mode_sb()
[all …]