Home | History | Annotate | Download | only in encoder

Lines Matching defs:distortion

471 static void macro_block_yrd(MACROBLOCK *mb, int *Rate, int *Distortion) {
501 /* Distortion */
505 *Distortion = (d >> 4);
529 int distortion;
564 distortion = vp8_block_error(be->coeff, b->dqcoeff) >> 2;
566 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
571 *bestdistortion = distortion;
588 int *Distortion, int best_rd) {
592 int distortion = 0;
628 distortion += d;
641 *Distortion = distortion;
643 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion);
647 int *Distortion) {
651 int distortion;
664 macro_block_yrd(x, &ratey, &distortion);
668 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
675 *Distortion = distortion;
707 int *distortion, int fullpixel) {
720 *distortion = vp8_mbuverror(x) / 4;
722 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion);
726 int *distortion, int fullpixel) {
739 *distortion = vp8_mbuverror(x) / 4;
741 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion);
745 int *rate_tokenonly, int *distortion) {
791 *distortion = d;
899 unsigned int distortion = 0;
914 distortion += vp8_block_error(be->coeff, bd->dqcoeff);
918 return distortion;
1000 int distortion;
1135 distortion = vp8_encode_inter_mb_segment(x, labels, i) / 4;
1140 distortion);
1144 sbd = distortion;
1591 int distortion;
1633 /* Y cost and distortion */
1634 macro_block_yrd(x, &rd->rate_y, &distortion);
1636 rd->distortion2 += distortion;
1638 /* UV cost and distortion */
1825 /* These variables hold are rolling total cost and distortion for
1936 int distortion;
1937 tmp_rd = rd_pick_intra4x4mby_modes(x, &rate, &rd.rate_y, &distortion,
1940 rd.distortion2 += distortion;
1957 int distortion;
1968 &distortion, this_rd_thresh);
1971 rd.distortion2 += distortion;
1992 int distortion;
1998 macro_block_yrd(x, &rd.rate_y, &distortion);
2000 rd.distortion2 += distortion;
2121 int dis; /* TODO: use dis in distortion calculation later. */
2176 /* Keep record of best intra distortion */