Lines Matching refs:distortion
607 int distortion;
663 distortion = ff_w97_32_c(&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, 32);
665 distortion = ff_w53_32_c(&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, 32);
667 distortion = 0;
670 distortion += s->dsp.me_cmp[0](&s->m, src + off, dst + off, ref_stride, 16);
675 distortion = s->dsp.me_cmp[0](&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, block_w*2);
689 return distortion + rate*penalty_factor;
709 int distortion= 0;
739 distortion += s->dsp.me_cmp[block_w==8](&s->m, src + x + y*ref_stride, dst + x + y*ref_stride, ref_stride, block_h);
758 return distortion + rate*penalty_factor;