Lines Matching defs:src_y
338 int dxy, mx, my, uvmx, uvmy, src_x, src_y, uvsrc_x, uvsrc_y;
407 src_y = s->mb_y * 16 + (my >> 2);
413 src_y = av_clip( src_y, -16, s->mb_height * 16);
418 src_y = av_clip( src_y, -18, s->avctx->coded_height + 1);
423 srcY += src_y * s->linesize + src_x;
442 || (unsigned)(src_y - 1) > v_edge_pos - (my&3) - 16 - 3) {
450 src_x - s->mspel, src_y - s->mspel,
494 int f = v->field_mode ? v->ref_field_type[dir] : ((j + src_y - s->mspel) & 1) ;
555 int dxy, mx, my, src_x, src_y;
660 src_y = s->mb_y * 16 + (n & 2) * 4 + (my >> 2);
662 src_y = s->mb_y * 16 + ((n > 1) ? 1 : 0) + (my >> 2);
666 src_y = av_clip(src_y, -16, s->mb_height * 16);
670 if (src_y & 1)
671 src_y = av_clip(src_y, -17, s->avctx->coded_height + 1);
673 src_y = av_clip(src_y, -18, s->avctx->coded_height);
675 src_y = av_clip(src_y, -18, s->avctx->coded_height + 1);
679 srcY += src_y * s->linesize + src_x;
683 if (fieldmv && !(src_y & 1))
685 if (fieldmv && (src_y & 1) && src_y < 4)
686 src_y--;
690 || (unsigned)(src_y - (s->mspel << fieldmv)) > v_edge_pos - (my & 3) - ((8 + s->mspel * 2) << fieldmv)) {
696 src_x - s->mspel, src_y - (s->mspel << fieldmv),
718 int f = v->field_mode ? v->ref_field_type[dir] : (((j<<fieldmv)+src_y - (s->mspel << fieldmv)) & 1);
1902 int dxy, mx, my, uvmx, uvmy, src_x, src_y, uvsrc_x, uvsrc_y;
1929 src_y = s->mb_y * 16 + (my >> 2);
1935 src_y = av_clip( src_y, -16, s->mb_height * 16);
1940 src_y = av_clip( src_y, -18, s->avctx->coded_height + 1);
1945 srcY += src_y * s->linesize + src_x;
1963 || (unsigned)(src_y - 1) > v_edge_pos - (my & 3) - 16 - 3) {
1971 src_x - s->mspel, src_y - s->mspel,
2017 int f = v->field_mode ? v->ref_field_type[1] : ((j+src_y - s->mspel) & 1);