Lines Matching refs:distortion
543 int *Distortion,
577 // Distortion
581 *Distortion = (d >> 4);
613 int distortion;
642 distortion = ENCODEMB_INVOKE(IF_RTCD(&cpi->rtcd.encodemb), berr)(be->coeff, b->dqcoeff) >> 2;
644 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
650 *bestdistortion = distortion;
669 int *rate_y, int *Distortion, int best_rd)
674 int distortion = 0;
713 distortion += d;
726 *Distortion = distortion;
728 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion);
734 int *Distortion)
739 int distortion;
751 macro_block_yrd(x, &ratey, &distortion, IF_RTCD(&cpi->rtcd.encodemb));
755 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
763 *Distortion = distortion;
794 static int vp8_rd_inter_uv(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *distortion, int fullpixel)
801 *distortion = ENCODEMB_INVOKE(&cpi->rtcd.encodemb, mbuverr)(x) / 4;
803 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion);
806 int vp8_rd_pick_intra_mbuv_mode(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *rate_tokenonly, int *distortion)
817 int distortion;
831 distortion = ENCODEMB_INVOKE(&cpi->rtcd.encodemb, mbuverr)(x) / 4;
833 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
838 d = distortion;
846 *distortion = d;
978 unsigned int distortion = 0;
996 distortion += ENCODEMB_INVOKE(rtcd, berr)(be->coeff, bd->dqcoeff);
1000 return distortion;
1095 int distortion;
1231 distortion = vp8_encode_inter_mb_segment(x, labels, i, IF_RTCD(&cpi->rtcd.encodemb)) / 4;
1236 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
1241 sbd = distortion;
1743 int distortion;
1876 // These variables hold are rolling total cost and distortion for this mode
1981 tmp_rd = vp8_rd_pick_intra4x4mby_modes(cpi, x, &rate, &rate_y, &distortion, best_yrd);
1983 distortion2 += distortion;
2010 &rate, &rate_y, &distortion, this_rd_thresh) ;
2013 distortion2 += distortion;
2037 macro_block_yrd(x, &rate_y, &distortion, IF_RTCD(&cpi->rtcd.encodemb)) ;
2039 distortion2 += distortion;
2296 // Y cost and distortion
2297 macro_block_yrd(x, &rate_y, &distortion, IF_RTCD(&cpi->rtcd.encodemb));
2299 distortion2 += distortion;
2301 // UV cost and distortion