Lines Matching defs:modded

379 	struct fb_fillrect modded;
400 memcpy(&modded, region, sizeof(struct fb_fillrect));
402 if (!modded.width || !modded.height ||
403 modded.dx >= vxres || modded.dy >= vyres)
406 if (modded.dx + modded.width > vxres)
407 modded.width = vxres - modded.dx;
408 if (modded.dy + modded.height > vyres)
409 modded.height = vyres - modded.dy;
427 PM3RectanglePosition_XOffset(modded.dx) |
428 PM3RectanglePosition_YOffset(modded.dy));
435 PM3Render2D_Width(modded.width) |
436 PM3Render2D_Height(modded.height));
443 struct fb_copyarea modded;
454 memcpy(&modded, area, sizeof(struct fb_copyarea));
459 if (!modded.width || !modded.height ||
460 modded.sx >= vxres || modded.sy >= vyres ||
461 modded.dx >= vxres || modded.dy >= vyres)
464 if (modded.sx + modded.width > vxres)
465 modded.width = vxres - modded.sx;
466 if (modded.dx + modded.width > vxres)
467 modded.width = vxres - modded.dx;
468 if (modded.sy + modded.height > vyres)
469 modded.height = vyres - modded.sy;
470 if (modded.dy + modded.height > vyres)
471 modded.height = vyres - modded.dy;
473 o_x = modded.sx - modded.dx; /*(sx > dx ) ? (sx - dx) : (dx - sx); */
474 o_y = modded.sy - modded.dy; /*(sy > dy ) ? (sy - dy) : (dy - sy); */
476 x_align = (modded.sx & 0x1f);
488 ((modded.dy & 0x0fff) << 16) | (modded.dx & 0x0fff));
490 (((modded.dy + modded.height) & 0x0fff) << 16) |
491 ((modded.dx + modded.width) & 0x0fff));
498 PM3RectanglePosition_XOffset(modded.dx - x_align) |
499 PM3RectanglePosition_YOffset(modded.dy));
502 ((modded.sx > modded.dx) ? PM3Render2D_XPositive : 0) |
503 ((modded.sy > modded.dy) ? PM3Render2D_YPositive : 0) |
507 PM3Render2D_Width(modded.width + x_align) |
508 PM3Render2D_Height(modded.height));