Lines Matching refs:sx
610 int sx= block_w*mb_x - block_w/2;
612 int x0= FFMAX(0,-sx);
614 int x1= FFMIN(block_w*2, w-sx);
620 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);
626 uint8_t *dst1 = dst + sx + (sy+y)*ref_stride;
652 memcpy(dst + sx+x0 + (sy+y)*ref_stride, cur + x0 + y*ref_stride, x1-x0);
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);
669 int off = sx+16*(i&1) + (sy+16*(i>>1))*ref_stride;
675 distortion = s->dsp.me_cmp[0](&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, block_w*2);
1061 const int sx= block_w*mb_x - block_w/2;
1068 memcpy(dst + sx + y*stride, src + sx + y*stride, block_w*2);
1070 memcpy(dst + sx + y*stride, src + sx + y*stride, block_w*2);
1071 if(sx<0){
1073 memcpy(dst + sx + y*stride, src + sx + y*stride, -sx);
1075 if(sx+block_w*2 > w){
1077 memcpy(dst + w + y*stride, src + w + y*stride, sx+block_w*2 - w);