Lines Matching defs:motion_x
42 int src_x, src_y, motion_x, motion_y;
46 motion_x = s->sprite_offset[0][0];
48 src_x = s->mb_x * 16 + (motion_x >> (s->sprite_warping_accuracy + 1));
50 motion_x *= 1 << (3 - s->sprite_warping_accuracy);
54 motion_x = 0;
74 if ((motion_x | motion_y) & 7) {
76 motion_x & 15, motion_y & 15, 128 - s->no_rounding);
78 motion_x & 15, motion_y & 15, 128 - s->no_rounding);
82 dxy = ((motion_x >> 3) & 1) | ((motion_y >> 2) & 2);
93 motion_x = s->sprite_offset[1][0];
95 src_x = s->mb_x * 8 + (motion_x >> (s->sprite_warping_accuracy + 1));
97 motion_x *= 1 << (3 - s->sprite_warping_accuracy);
101 motion_x = 0;
119 motion_x & 15, motion_y & 15, 128 - s->no_rounding);
131 motion_x & 15, motion_y & 15, 128 - s->no_rounding);
196 int motion_x, int motion_y)
201 src_x += motion_x >> 1;
207 dxy |= motion_x & 1;
213 if ((unsigned)src_x >= FFMAX(s->h_edge_pos - (motion_x & 1) - 7, 0) ||
237 int motion_x,
254 dxy = ((motion_y & 1) << 1) | (motion_x & 1);
255 src_x = s->mb_x * 16 + (motion_x >> 1);
260 mx = (motion_x >> 1) | (motion_x & 1);
266 uvdxy = dxy | (motion_y & 2) | ((motion_x & 2) >> 1);
272 mx = motion_x / 4;
279 mx = motion_x / 2;
287 mx = motion_x / 2;
304 if ((unsigned)src_x >= FFMAX(s->h_edge_pos - (motion_x & 1) - 15 , 0) ||
374 int motion_x, int motion_y, int h, int is_16x8, int mb_y)
380 motion_x, motion_y, h, 1, is_16x8, mb_y);
385 motion_x, motion_y, h, 0, is_16x8, mb_y);
393 int motion_x, int motion_y, int h, int mb_y)
399 motion_x, motion_y, h, 1, 0, mb_y);
404 motion_x, motion_y, h, 0, 0, mb_y);
495 int motion_x, int motion_y, int h)
501 dxy = ((motion_y & 3) << 2) | (motion_x & 3);
503 src_x = s->mb_x * 16 + (motion_x >> 2);
511 mx = motion_x / 2;
515 mx = (motion_x >> 1) + rtab[motion_x & 7];
518 mx = (motion_x >> 1) | (motion_x & 1);
521 mx = motion_x / 2;
538 if ((unsigned)src_x >= FFMAX(s->h_edge_pos - (motion_x & 3) - 15 , 0) ||
766 int motion_x = s->mv[dir][i][0];
769 dxy = ((motion_y & 3) << 2) | (motion_x & 3);
770 src_x = mb_x * 16 + (motion_x >> 2) + (i & 1) * 8;
782 if ((unsigned)src_x >= FFMAX(s->h_edge_pos - (motion_x & 3) - 7, 0) ||