Lines Matching refs:motion_y
40 int src_x, src_y, motion_x, motion_y; in gmc1_motion() local
45 motion_y = s->sprite_offset[0][1]; in gmc1_motion()
47 src_y = s->mb_y * 16 + (motion_y >> (s->sprite_warping_accuracy + 1)); in gmc1_motion()
49 motion_y *= 1 << (3 - s->sprite_warping_accuracy); in gmc1_motion()
55 motion_y = 0; in gmc1_motion()
72 if ((motion_x | motion_y) & 7) { in gmc1_motion()
74 motion_x & 15, motion_y & 15, 128 - s->no_rounding); in gmc1_motion()
76 motion_x & 15, motion_y & 15, 128 - s->no_rounding); in gmc1_motion()
80 dxy = ((motion_x >> 3) & 1) | ((motion_y >> 2) & 2); in gmc1_motion()
92 motion_y = s->sprite_offset[1][1]; in gmc1_motion()
94 src_y = s->mb_y * 8 + (motion_y >> (s->sprite_warping_accuracy + 1)); in gmc1_motion()
96 motion_y *= 1 << (3 - s->sprite_warping_accuracy); in gmc1_motion()
102 motion_y = 0; in gmc1_motion()
117 motion_x & 15, motion_y & 15, 128 - s->no_rounding); in gmc1_motion()
129 motion_x & 15, motion_y & 15, 128 - s->no_rounding); in gmc1_motion()
194 int motion_x, int motion_y) in hpel_motion() argument
200 src_y += motion_y >> 1; in hpel_motion()
208 dxy |= (motion_y & 1) << 1; in hpel_motion()
212 (unsigned)src_y >= FFMAX(s->v_edge_pos - (motion_y & 1) - 7, 0)) { in hpel_motion()
236 int motion_y, in mpeg_motion_internal() argument
252 dxy = ((motion_y & 1) << 1) | (motion_x & 1); in mpeg_motion_internal()
254 src_y = (mb_y << (4 - block_y_half)) + (motion_y >> 1); in mpeg_motion_internal()
259 my = motion_y >> 1; in mpeg_motion_internal()
264 uvdxy = dxy | (motion_y & 2) | ((motion_x & 2) >> 1); in mpeg_motion_internal()
271 my = motion_y / 4; in mpeg_motion_internal()
278 my = motion_y / 2; in mpeg_motion_internal()
286 uvdxy = ((motion_y & 1) << 1) | (mx & 1); in mpeg_motion_internal()
303 (unsigned)src_y >= FFMAX( v_edge_pos - (motion_y & 1) - h + 1, 0)) { in mpeg_motion_internal()
372 int motion_x, int motion_y, int h, int is_16x8, int mb_y) in mpeg_motion() argument
378 motion_x, motion_y, h, 1, is_16x8, mb_y); in mpeg_motion()
383 motion_x, motion_y, h, 0, is_16x8, mb_y); in mpeg_motion()
391 int motion_x, int motion_y, int h, int mb_y) in mpeg_motion_field() argument
397 motion_x, motion_y, h, 1, 0, mb_y); in mpeg_motion_field()
402 motion_x, motion_y, h, 0, 0, mb_y); in mpeg_motion_field()
493 int motion_x, int motion_y, int h) in qpel_motion() argument
499 dxy = ((motion_y & 3) << 2) | (motion_x & 3); in qpel_motion()
502 src_y = s->mb_y * (16 >> field_based) + (motion_y >> 2); in qpel_motion()
510 my = motion_y >> 1; in qpel_motion()
514 my = (motion_y >> 1) + rtab[motion_y & 7]; in qpel_motion()
517 my = (motion_y >> 1) | (motion_y & 1); in qpel_motion()
520 my = motion_y / 2; in qpel_motion()
537 (unsigned)src_y >= FFMAX( v_edge_pos - (motion_y & 3) - h + 1, 0)) { in qpel_motion()
765 int motion_y = s->mv[dir][i][1]; in apply_8x8() local
767 dxy = ((motion_y & 3) << 2) | (motion_x & 3); in apply_8x8()
769 src_y = mb_y * 16 + (motion_y >> 2) + (i >> 1) * 8; in apply_8x8()
781 (unsigned)src_y >= FFMAX(s->v_edge_pos - (motion_y & 3) - 7, 0)) { in apply_8x8()