Lines Matching defs:modded

380 	struct fb_fillrect modded;
401 memcpy(&modded, region, sizeof(struct fb_fillrect));
403 if (!modded.width || !modded.height ||
404 modded.dx >= vxres || modded.dy >= vyres)
407 if (modded.dx + modded.width > vxres)
408 modded.width = vxres - modded.dx;
409 if (modded.dy + modded.height > vyres)
410 modded.height = vyres - modded.dy;
428 PM3RectanglePosition_XOffset(modded.dx) |
429 PM3RectanglePosition_YOffset(modded.dy));
436 PM3Render2D_Width(modded.width) |
437 PM3Render2D_Height(modded.height));
444 struct fb_copyarea modded;
455 memcpy(&modded, area, sizeof(struct fb_copyarea));
460 if (!modded.width || !modded.height ||
461 modded.sx >= vxres || modded.sy >= vyres ||
462 modded.dx >= vxres || modded.dy >= vyres)
465 if (modded.sx + modded.width > vxres)
466 modded.width = vxres - modded.sx;
467 if (modded.dx + modded.width > vxres)
468 modded.width = vxres - modded.dx;
469 if (modded.sy + modded.height > vyres)
470 modded.height = vyres - modded.sy;
471 if (modded.dy + modded.height > vyres)
472 modded.height = vyres - modded.dy;
474 o_x = modded.sx - modded.dx; /*(sx > dx ) ? (sx - dx) : (dx - sx); */
475 o_y = modded.sy - modded.dy; /*(sy > dy ) ? (sy - dy) : (dy - sy); */
477 x_align = (modded.sx & 0x1f);
489 ((modded.dy & 0x0fff) << 16) | (modded.dx & 0x0fff));
491 (((modded.dy + modded.height) & 0x0fff) << 16) |
492 ((modded.dx + modded.width) & 0x0fff));
499 PM3RectanglePosition_XOffset(modded.dx - x_align) |
500 PM3RectanglePosition_YOffset(modded.dy));
503 ((modded.sx > modded.dx) ? PM3Render2D_XPositive : 0) |
504 ((modded.sy > modded.dy) ? PM3Render2D_YPositive : 0) |
508 PM3Render2D_Width(modded.width + x_align) |
509 PM3Render2D_Height(modded.height));