Lines Matching defs:ref_stride

518     const int ref_stride= s->current_picture->linesize[plane_index];
543 x, y, block_w, block_h, w, h, obmc_stride, ref_stride, obmc_stride, mb_x2, mb_y2, 0, 0, plane_index);
558 ab += (src[x2 + y2*ref_stride] - (d>>FRAC_BITS)) * obmc_v;
612 const int ref_stride= s->current_picture->linesize[plane_index];
635 ff_snow_pred_block(s, cur, tmp, ref_stride, sx, sy, block_w*2, block_h*2, &s->block[mb_x + mb_y*b_stride], plane_index, w, h);
640 uint8_t *cur1 = cur + y*ref_stride;
641 uint8_t *dst1 = dst + sx + (sy+y)*ref_stride;
667 memcpy(dst + sx+x0 + (sy+y)*ref_stride, cur + x0 + y*ref_stride, x1-x0);
678 distortion = ff_w97_32_c(&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, 32);
680 distortion = ff_w53_32_c(&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, 32);
684 int off = sx+16*(i&1) + (sy+16*(i>>1))*ref_stride;
685 distortion += s->mecc.me_cmp[0](&s->m, src + off, dst + off, ref_stride, 16);
690 distortion = s->mecc.me_cmp[0](&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, block_w*2);
715 const int ref_stride= s->current_picture->linesize[plane_index];
737 x, y, block_w, block_h, w, h, /*dst_stride*/0, ref_stride, obmc_stride, mb_x2, mb_y2, 1, 1, plane_index);
741 memcpy(dst + x + y2*ref_stride, src + x + y2*ref_stride, block_w);
743 memcpy(dst + x + y2*ref_stride, src + x + y2*ref_stride, block_w);
746 memcpy(dst + x + y2*ref_stride, src + x + y2*ref_stride, -x);
750 memcpy(dst + w + y2*ref_stride, src + w + y2*ref_stride, x+block_w - w);
754 distortion += s->mecc.me_cmp[block_w==8](&s->m, src + x + y*ref_stride, dst + x + y*ref_stride, ref_stride, block_h);