Lines Matching refs:ref_stride
521 const int ref_stride= s->current_picture->linesize[plane_index]; in get_dc() local
546 …x, y, block_w, block_h, w, h, obmc_stride, ref_stride, obmc_stride, mb_x2, mb_y2, 0, 0, plane_inde… in get_dc()
561 ab += (src[x2 + y2*ref_stride] - (d>>FRAC_BITS)) * obmc_v; in get_dc()
615 const int ref_stride= s->current_picture->linesize[plane_index]; in get_block_rd() local
638 …ff_snow_pred_block(s, cur, tmp, ref_stride, sx, sy, block_w*2, block_h*2, &s->block[mb_x + mb_y*b_… in get_block_rd()
643 uint8_t *cur1 = cur + y*ref_stride; in get_block_rd()
644 uint8_t *dst1 = dst + sx + (sy+y)*ref_stride; in get_block_rd()
670 memcpy(dst + sx+x0 + (sy+y)*ref_stride, cur + x0 + y*ref_stride, x1-x0); in get_block_rd()
681 …distortion = ff_w97_32_c(&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, 32… in get_block_rd()
683 …distortion = ff_w53_32_c(&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, 32… in get_block_rd()
687 int off = sx+16*(i&1) + (sy+16*(i>>1))*ref_stride; in get_block_rd()
688 distortion += s->mecc.me_cmp[0](&s->m, src + off, dst + off, ref_stride, 16); in get_block_rd()
693 …distortion = s->mecc.me_cmp[0](&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stri… in get_block_rd()
718 const int ref_stride= s->current_picture->linesize[plane_index]; in get_4block_rd() local
740 …x, y, block_w, block_h, w, h, /*dst_stride*/0, ref_stride, obmc_stride, mb_x2, mb_y2, 1, 1, plane_… in get_4block_rd()
744 memcpy(dst + x + y2*ref_stride, src + x + y2*ref_stride, block_w); in get_4block_rd()
746 memcpy(dst + x + y2*ref_stride, src + x + y2*ref_stride, block_w); in get_4block_rd()
749 memcpy(dst + x + y2*ref_stride, src + x + y2*ref_stride, -x); in get_4block_rd()
753 memcpy(dst + w + y2*ref_stride, src + w + y2*ref_stride, x+block_w - w); in get_4block_rd()
757 …ion += s->mecc.me_cmp[block_w==8](&s->m, src + x + y*ref_stride, dst + x + y*ref_stride, ref_strid… in get_4block_rd()