Lines Matching defs:src_y
336 int dxy, mx, my, uvmx, uvmy, src_x, src_y, uvsrc_x, uvsrc_y;
399 src_y = s->mb_y * 16 + (my >> 2);
405 src_y = av_clip( src_y, -16, s->mb_height * 16);
410 src_y = av_clip( src_y, -18, s->avctx->coded_height + 1);
415 srcY += src_y * s->linesize + src_x;
434 || (unsigned)(src_y - s->mspel) > v_edge_pos - (my&3) - 16 - s->mspel * 3) {
440 src_x - s->mspel, src_y - s->mspel,
549 int dxy, mx, my, src_x, src_y;
638 src_y = s->mb_y * 16 + (n & 2) * 4 + (my >> 2);
640 src_y = s->mb_y * 16 + ((n > 1) ? 1 : 0) + (my >> 2);
644 src_y = av_clip(src_y, -16, s->mb_height * 16);
648 if (src_y & 1)
649 src_y = av_clip(src_y, -17, s->avctx->coded_height + 1);
651 src_y = av_clip(src_y, -18, s->avctx->coded_height);
653 src_y = av_clip(src_y, -18, s->avctx->coded_height + 1);
657 srcY += src_y * s->linesize + src_x;
661 if (fieldmv && !(src_y & 1))
663 if (fieldmv && (src_y & 1) && src_y < 4)
664 src_y--;
668 || (unsigned)(src_y - (s->mspel << fieldmv)) > v_edge_pos - (my & 3) - ((8 + s->mspel * 2) << fieldmv)) {
673 src_x - s->mspel, src_y - (s->mspel << fieldmv),
1821 int dxy, mx, my, uvmx, uvmy, src_x, src_y, uvsrc_x, uvsrc_y;
1846 src_y = s->mb_y * 16 + (my >> 2);
1852 src_y = av_clip( src_y, -16, s->mb_height * 16);
1857 src_y = av_clip( src_y, -18, s->avctx->coded_height + 1);
1862 srcY += src_y * s->linesize + src_x;
1880 || (unsigned)(src_y - s->mspel) > v_edge_pos - (my & 3) - 16 - s->mspel * 3) {
1886 src_x - s->mspel, src_y - s->mspel,