Lines Matching defs:ypos

25     ypos = y half-pixel of (x,y) coordinates within a VOP; motion
79 right boundaries; ypos is compared to the top and bottom boundaries. The number
243 int ypos, /* i */
264 /* saturate xpos and ypos */
267 if (ypos < -16) ypos = -16;
268 if (ypos > ((height - 1) << 1)) ypos = (height - 1) << 1;
272 if (ypos < 0) /* pad top left of frame */
295 ptr = pred + (((ypos >> 1) + 8) << 4) + (xpos >> 1) + 8;
297 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1);
301 else if ((ypos >> 1) < (height - B_SIZE)) /* pad left of frame */
305 prev = c_prev + (ypos >> 1) * width;
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);
359 if (ypos < 0) /* pad top of frame */
387 ptr = pred + (((ypos >> 1) + 8) << 4) + xoffset;
389 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1);
419 ptr = pred + (((ypos >> 1) - (height - 8)) << 4) + xoffset;
421 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1);
428 if (ypos < 0) /* pad top right of frame */
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);
456 else if ((ypos >> 1) < (height - B_SIZE)) /* pad right of frame */
460 prev = c_prev + (ypos >> 1) * width + width - 8;
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);