Lines Matching refs:xpos

23     xpos = x half-pixel of (x,y) coordinates within a VOP; motion
78 is outside, i.e., left, right, top, bottom. xpos is compared to the left and
242 int xpos, /* i */
264 /* saturate xpos and ypos */
265 if (xpos < -16) xpos = -16;
266 if (xpos > ((width - 1) << 1)) xpos = (width - 1) << 1;
270 if (xpos < 0)
295 ptr = pred + (((ypos >> 1) + 8) << 4) + (xpos >> 1) + 8;
297 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1);
322 ptr = pred + 8 + (xpos >> 1);
324 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1);
350 ptr = pred + 8 + (((ypos >> 1) - (height - 8)) << 4) + (xpos >> 1);
352 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1);
357 else if ((xpos >> 1) < (width - B_SIZE))
361 xoffset = xpos >> 1;
366 prev = c_prev + (xpos >> 1) - xoffset;
368 if (xoffset || (xpos&1)) /* copy extra 4x8 */
381 if (xoffset || (xpos&1)) /* pad extra 4x8 */
389 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1);
395 xoffset = xpos >> 1;
399 prev = c_prev + width * (height - 8) + (xpos >> 1) - xoffset;
400 if (xoffset || (xpos&1))
413 if (xoffset || (xpos&1))
421 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1);
450 ptr = pred + ((8 + (ypos >> 1)) << 4) + (8 - (width - (xpos >> 1)));
452 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1);
478 ptr = pred + 8 - (width - (xpos >> 1));
480 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1);
507 ptr = pred + 8 - (width - (xpos >> 1)) + ((8 - (height - (ypos >> 1))) << 4);
509 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1);