| /TwlSDK-5.4/build/demos/wm/wep-1/src/ |
| D | graphics.c | 75 void drawPseudo2DTexQuad(int sx, int sy, int width, int height, int texw, int texh) in drawPseudo2DTexQuad() argument 77 sx -= 128; in drawPseudo2DTexQuad() 84 G3_Vtx((fx16)(sx * PSEUDO2D_ONE), (fx16)(sy * PSEUDO2D_ONE), 0); in drawPseudo2DTexQuad() 88 G3_Vtx((fx16)((sx + width) * PSEUDO2D_ONE), (fx16)(sy * PSEUDO2D_ONE), 0); in drawPseudo2DTexQuad() 92 G3_Vtx((fx16)((sx + width) * PSEUDO2D_ONE), (fx16)((sy + height) * PSEUDO2D_ONE), 0); in drawPseudo2DTexQuad() 96 G3_Vtx((fx16)(sx * PSEUDO2D_ONE), (fx16)((sy + height) * PSEUDO2D_ONE), 0); in drawPseudo2DTexQuad() 100 void drawPseudo2DColorQuad(int sx, int sy, int width, int height, GXRgb color) in drawPseudo2DColorQuad() argument 102 sx -= 128; in drawPseudo2DColorQuad() 107 G3_Vtx((fx16)(sx * PSEUDO2D_ONE), (fx16)(sy * PSEUDO2D_ONE), 0); in drawPseudo2DColorQuad() 108 G3_Vtx((fx16)((sx + width) * PSEUDO2D_ONE), (fx16)(sy * PSEUDO2D_ONE), 0); in drawPseudo2DColorQuad() [all …]
|
| /TwlSDK-5.4/build/demos/wm/dataShare-Model/src/ |
| D | graphics.c | 76 void drawPseudo2DTexQuad(int sx, int sy, int width, int height, int texw, int texh) in drawPseudo2DTexQuad() argument 78 sx -= 128; in drawPseudo2DTexQuad() 85 G3_Vtx((fx16)(sx * PSEUDO2D_ONE), (fx16)(sy * PSEUDO2D_ONE), 0); in drawPseudo2DTexQuad() 89 G3_Vtx((fx16)((sx + width) * PSEUDO2D_ONE), (fx16)(sy * PSEUDO2D_ONE), 0); in drawPseudo2DTexQuad() 93 G3_Vtx((fx16)((sx + width) * PSEUDO2D_ONE), (fx16)((sy + height) * PSEUDO2D_ONE), 0); in drawPseudo2DTexQuad() 97 G3_Vtx((fx16)(sx * PSEUDO2D_ONE), (fx16)((sy + height) * PSEUDO2D_ONE), 0); in drawPseudo2DTexQuad() 101 void drawPseudo2DColorQuad(int sx, int sy, int width, int height, GXRgb color) in drawPseudo2DColorQuad() argument 103 sx -= 128; in drawPseudo2DColorQuad() 108 G3_Vtx((fx16)(sx * PSEUDO2D_ONE), (fx16)(sy * PSEUDO2D_ONE), 0); in drawPseudo2DColorQuad() 109 G3_Vtx((fx16)((sx + width) * PSEUDO2D_ONE), (fx16)(sy * PSEUDO2D_ONE), 0); in drawPseudo2DColorQuad() [all …]
|
| /TwlSDK-5.4/build/demos/gx/UnitTours/DEMOLib/src/ |
| D | DEMOBitmap.c | 486 void DEMOiDrawLine(int sx, int sy, int tx, int ty, GXRgb color) in DEMOiDrawLine() argument 491 if (sx > tx) in DEMOiDrawLine() 493 tmp = sx + 1, sx = tx + 1, tx = tmp; in DEMOiDrawLine() 498 int wx = tx - sx; in DEMOiDrawLine() 508 if ((sx >= 0) && (sx < GX_LCD_SIZE_X) && (sy < GX_LCD_SIZE_Y)) in DEMOiDrawLine() 518 dst = &context->bitmap_frame[sx + sy * GX_LCD_SIZE_X]; in DEMOiDrawLine() 529 if ((sy >= 0) && (sy < GX_LCD_SIZE_Y) && (sx < GX_LCD_SIZE_X)) in DEMOiDrawLine() 531 if (sx < 0) in DEMOiDrawLine() 533 wx += sx, sx = 0; in DEMOiDrawLine() 535 if (wx > GX_LCD_SIZE_X - sx) in DEMOiDrawLine() [all …]
|
| /TwlSDK-5.4/build/demos/wm/dataShare-Model/include/ |
| D | graphics.h | 25 extern void drawPseudo2DTexQuad(int sx, int sy, int width, int height, int texw, int texh); 26 extern void drawPseudo2DColorQuad(int sx, int sy, int width, int height, GXRgb color);
|
| /TwlSDK-5.4/build/demos/wm/wep-1/include/ |
| D | graphics.h | 25 extern void drawPseudo2DTexQuad(int sx, int sy, int width, int height, int texw, int texh); 26 extern void drawPseudo2DColorQuad(int sx, int sy, int width, int height, GXRgb color);
|
| /TwlSDK-5.4/build/demos/ctrdg/backup-1/src/ |
| D | draw.c | 290 void DrawLine(int sx, int sy, int tx, int ty, RGB555 col) in DrawLine() argument 297 if (sx > tx) in DrawLine() 299 tmp = sx + 1, sx = tx + 1, tx = tmp; in DrawLine() 302 wx = tx - sx, wy = ty - sy; in DrawLine() 311 if (!IsBoundX(pc, sx) || (sy >= pc->clip.t.y)) in DrawLine() 319 p = GetSurface(sx, sy); in DrawLine() 329 if (!IsBoundY(pc, sy) || (sx >= pc->clip.t.x)) in DrawLine() 333 if (sx < pc->clip.o.x) in DrawLine() 334 wx += sx, sx = pc->clip.o.x; in DrawLine() 335 if (wx > pc->clip.t.x - sx) in DrawLine() [all …]
|
| /TwlSDK-5.4/build/demos/gx/UnitTours/DEMOLib/include/ |
| D | DEMOBitmap.h | 41 #define DEMODrawLine(sx, sy, tx, ty, color) DEMOiDrawLine(sx, sy, tx, ty, DEMOVerifyGXRgb(color)) argument 171 void DEMOiDrawLine(int sx, int sy, int tx, int ty, GXRgb color);
|
| /TwlSDK-5.4/include/nitro/hw/ARM9/ |
| D | ioreg_G3.h | 534 #define REG_G3_NORMAL_FIELD( sz, nz, sy, ny, sx, nx ) \ argument 540 ((u32)(sx) << REG_G3_NORMAL_SX_SHIFT) | \ 610 #define REG_G3_VTX_16_FIELD( sy, int_y, decimal_y, sx, int_x, decimal_x ) \ argument 615 ((u32)(sx) << REG_G3_VTX_16_SX_SHIFT) | \ 660 #define REG_G3_VTX_10_FIELD( sz, int_z, decimal_z, sy, int_y, decimal_y, sx, int_x, decimal_x ) \ argument 668 ((u32)(sx) << REG_G3_VTX_10_SX_SHIFT) | \ 701 #define REG_G3_VTX_XY_FIELD( sy, int_y, decimal_y, sx, int_x, decimal_x ) \ argument 706 ((u32)(sx) << REG_G3_VTX_XY_SX_SHIFT) | \ 739 #define REG_G3_VTX_XZ_FIELD( sz, int_z, decimal_z, sx, int_x, decimal_x ) \ argument 744 ((u32)(sx) << REG_G3_VTX_XZ_SX_SHIFT) | \ [all …]
|
| D | ioreg_G3X.h | 3339 #define REG_G3X_POS_RESULT_X_FIELD( sx, integer_x, decimal_x ) \ argument 3341 ((u32)(sx) << REG_G3X_POS_RESULT_X_SX_SHIFT) | \ 3431 #define REG_G3X_VEC_RESULT_X_FIELD( sx, integer_x, decimal_x ) \ argument 3433 ((u32)(sx) << REG_G3X_VEC_RESULT_X_SX_SHIFT) | \
|
| /TwlSDK-5.4/include/twl/hw/ARM9/ |
| D | ioreg_G3.h | 534 #define REG_G3_NORMAL_FIELD( sz, nz, sy, ny, sx, nx ) \ argument 540 ((u32)(sx) << REG_G3_NORMAL_SX_SHIFT) | \ 610 #define REG_G3_VTX_16_FIELD( sy, int_y, decimal_y, sx, int_x, decimal_x ) \ argument 615 ((u32)(sx) << REG_G3_VTX_16_SX_SHIFT) | \ 660 #define REG_G3_VTX_10_FIELD( sz, int_z, decimal_z, sy, int_y, decimal_y, sx, int_x, decimal_x ) \ argument 668 ((u32)(sx) << REG_G3_VTX_10_SX_SHIFT) | \ 701 #define REG_G3_VTX_XY_FIELD( sy, int_y, decimal_y, sx, int_x, decimal_x ) \ argument 706 ((u32)(sx) << REG_G3_VTX_XY_SX_SHIFT) | \ 739 #define REG_G3_VTX_XZ_FIELD( sz, int_z, decimal_z, sx, int_x, decimal_x ) \ argument 744 ((u32)(sx) << REG_G3_VTX_XZ_SX_SHIFT) | \ [all …]
|
| D | ioreg_G3X.h | 3339 #define REG_G3X_POS_RESULT_X_FIELD( sx, integer_x, decimal_x ) \ argument 3341 ((u32)(sx) << REG_G3X_POS_RESULT_X_SX_SHIFT) | \ 3431 #define REG_G3X_VEC_RESULT_X_FIELD( sx, integer_x, decimal_x ) \ argument 3433 ((u32)(sx) << REG_G3X_VEC_RESULT_X_SX_SHIFT) | \
|
| /TwlSDK-5.4/build/demos/prc/characterRecognition-1/src/ |
| D | main.c | 50 void DrawStrokes(const PRCStrokes *strokes, int sx, int sy); 367 u16 sx, sy, ey, wx, wy; in DrawLine() local 377 sx = (u16)x1; in DrawLine() 384 sx = (u16)x2; in DrawLine() 390 point += sy * VRAM_LINE_SIZE + sx; in DrawLine() 487 void DrawStrokes(const PRCStrokes *strokes, int sx, int sy) in DrawStrokes() argument 502 PutDot(sx + point->x, sy + point->y, 1); in DrawStrokes() 506 DrawLine(sx + prev.x, sy + prev.y, sx + point->x, sy + point->y, 1); in DrawStrokes()
|
| /TwlSDK-5.4/build/demos/prc/characterRecognition-2/src/ |
| D | main.c | 52 void DrawStrokes(const PRCStrokes *strokes, int sx, int sy); 633 u16 sx, sy, ey, wx, wy; in DrawLine() local 643 sx = (u16)x1; in DrawLine() 650 sx = (u16)x2; in DrawLine() 656 point += sy * VRAM_LINE_SIZE + sx; in DrawLine() 753 void DrawStrokes(const PRCStrokes *strokes, int sx, int sy) in DrawStrokes() argument 768 PutDot(sx + point->x, sy + point->y, 1); in DrawStrokes() 772 DrawLine(sx + prev.x, sy + prev.y, sx + point->x, sy + point->y, 1); in DrawStrokes()
|
| /TwlSDK-5.4/build/demos/math/fft-2/src/ |
| D | main.c | 114 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey); 115 static void DrawBar(s16 sx, s16 sy, s16 ex, s16 ey); 116 static void DrawBarWithColor(s16 sx, s16 sy, s16 ex, s16 ey, u32 c); 552 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey) in DrawLine() argument 554 fx16 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawLine() 583 static void DrawBar(s16 sx, s16 sy, s16 ex, s16 ey) in DrawBar() argument 585 fx16 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawBar() 617 static void DrawBarWithColor(s16 sx, s16 sy, s16 ex, s16 ey, u32 c) in DrawBarWithColor() argument 619 fx16 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawBarWithColor()
|
| /TwlSDK-5.4/build/demos/spi/spiMonkey/src/ |
| D | main.c | 49 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey, GXRgb color); 246 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey, GXRgb color) in DrawLine() argument 253 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawLine()
|
| /TwlSDK-5.4/build/demos/spi/pmAmpGain/src/ |
| D | main.c | 58 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey); 544 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey) in DrawLine() argument 546 fx16 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawLine()
|
| /TwlSDK-5.4/build/demos/spi/mic-1/src/ |
| D | main.c | 67 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey); 342 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey) in DrawLine() argument 344 fx16 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawLine()
|
| /TwlSDK-5.4/build/demos/spi/spiMonkey2/src/ |
| D | main.c | 61 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey, GXRgb color); 398 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey, GXRgb color) in DrawLine() argument 405 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawLine()
|
| /TwlSDK-5.4/build/demos.TWL/spi/pmAmpGainLevel/src/ |
| D | main.c | 57 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey); 652 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey) in DrawLine() argument 654 fx16 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawLine()
|
| /TwlSDK-5.4/build/demos/spi/mic-2/src/ |
| D | main.c | 77 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey); 541 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey) in DrawLine() argument 545 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawLine()
|
| /TwlSDK-5.4/build/demos.TWL/spi/mic-3/src/ |
| D | main.c | 61 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey); 836 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey) in DrawLine() argument 838 fx16 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawLine()
|
| /TwlSDK-5.4/build/demos/ctrdg/backup-1/include/ |
| D | draw.h | 138 void DrawLine(int sx, int sy, int tx, int ty, RGB555 col);
|
| /TwlSDK-5.4/build/demos.TWL/spi/mic-4/src/ |
| D | main.c | 72 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey); 942 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey) in DrawLine() argument 944 fx16 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawLine()
|
| /TwlSDK-5.4/build/demos.TWL/snd/IIRFilterdemo-mic/src/ |
| D | main.c | 73 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey); 983 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey) in DrawLine() argument 985 fx16 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawLine()
|
| /TwlSDK-5.4/build/demos.TWL/spi/spiMonkey3/src/ |
| D | main.c | 88 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey, GXRgb color); 892 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey, GXRgb color) in DrawLine() argument 894 fx16 fsx = (fx16)(((sx - 128) * 0x1000) / 128); in DrawLine()
|