Home
last modified time | relevance | path

Searched refs:col (Results 1 – 20 of 20) sorted by relevance

/TwlSDK-5.2.1/build/demos/math/rand_lc/src/
Dmain.c28 static void PutDot(u16 x, u16 y, u16 col);
73 static u16 col = 0; in NitroMain() local
104 PutDot(x, y, col); in NitroMain()
109 while (*pVram == col) in NitroMain()
116 col ^= 0x7FFF; in NitroMain()
119 while (*pbVram == col) in NitroMain()
126 col ^= 0x7FFF; in NitroMain()
228 static inline void PutDot(u16 x, u16 y, u16 col) in PutDot() argument
234 *(u16 *)(HW_LCDC_VRAM_C + y * 256 * 2 + x * 2) = col; in PutDot()
/TwlSDK-5.2.1/build/demos/ctrdg/backup-1/include/
Ddraw.h104 static inline void SetTextColor(RGB555 col) in SetTextColor() argument
106 col_text = col; in SetTextColor()
109 static inline void SetGroundColor(RGB555 col) in SetGroundColor() argument
111 col_gnd = col; in SetGroundColor()
114 static inline void SetClearColor(RGB555 col) in SetClearColor() argument
116 col_clear = col; in SetClearColor()
134 void ClearFrame(RGB555 col);
135 void FillRect(int x, int y, int wx, int wy, RGB555 col);
138 void DrawLine(int sx, int sy, int tx, int ty, RGB555 col);
/TwlSDK-5.2.1/build/demos/spi/tp-2/src/
Dmain.c33 static inline void PutDot(u16 x, u16 y, u16 col);
34 static void DrawLine(u16 x1, u16 y1, u16 x2, u16 y2, u16 col);
64 static inline void PutDot(u16 x, u16 y, u16 col) in PutDot() argument
66 *(u16 *)(HW_LCDC_VRAM_C + y * 256 * 2 + x * 2) = col; in PutDot()
83 static void DrawLine(u16 x1, u16 y1, u16 x2, u16 y2, u16 col) in DrawLine() argument
113 PutDot(px, py, col); in DrawLine()
137 PutDot(px, py, col); in DrawLine()
/TwlSDK-5.2.1/build/demos/wbt/wbt-1/src/
Dtext.c173 static void put_char_vram(TEXT_CTRL * tc, int c, u16 col) in put_char_vram() argument
202 tc->screen[(tc->y_line * X_LINE_MAX) + tc->x_line] = (u16)((col << 12) | (0x00ff & c)); in put_char_vram()
276 tb->cur->col[tb->cur->cur_count] = tc->palette; in m_putchar()
300 u16 col; in text_buf_to_vram() local
323 col = lb->col[x_line]; in text_buf_to_vram()
324 put_char_vram(tc, c, col); in text_buf_to_vram()
/TwlSDK-5.2.1/build/demos/wxc/unregister-1/src/
Dtext.c235 tb->cur->col[tb->cur->cur_count] = tc->palette; in m_putchar()
257 static void put_char_vram(TEXT_CTRL * tc, int c, u16 col) in put_char_vram() argument
286 tc->screen[(tc->y_line * X_LINE_MAX) + tc->x_line] = (u16)((col << 12) | (0x00ff & c)); in put_char_vram()
295 u16 col; in text_buf_to_vram() local
317 col = lb->col[x_line]; in text_buf_to_vram()
318 put_char_vram(tc, c, col); in text_buf_to_vram()
/TwlSDK-5.2.1/build/demos/rtc/convert-1/src/
Dmain.c31 static void FillScreen(u16 col);
156 static void FillScreen(u16 col) in FillScreen() argument
158 MI_CpuFill16((void *)HW_LCDC_VRAM_C, col, 256 * 192 * 2); in FillScreen()
/TwlSDK-5.2.1/build/demos/crypto/rc4-2/src/
Dmain.c29 static void FillScreen(u16 col);
154 static void FillScreen(u16 col) in FillScreen() argument
156 MI_CpuFill16((void *)HW_LCDC_VRAM_C, col, 256 * 192 * 2); in FillScreen()
/TwlSDK-5.2.1/build/demos/ctrdg/backup-1/src/
Ddraw.c227 void ClearFrame(RGB555 col) in ClearFrame() argument
231 (u32)((col << 0) | (col << 16)), GX_LCD_SIZE_X * GX_LCD_SIZE_Y * sizeof(RGB555)); in ClearFrame()
234 void FillRect(int x, int y, int wx, int wy, RGB555 col) in FillRect() argument
244 MI_CpuFill16(p, col, r.wid.x * sizeof(RGB555)); in FillRect()
290 void DrawLine(int sx, int sy, int tx, int ty, RGB555 col) in DrawLine() argument
322 *p = col; in DrawLine()
338 MI_CpuFill16(p, col, wx * sizeof(RGB555)); in DrawLine()
363 *p = col; in DrawLine()
373 RGB555 col = col_text; in DrawCircle() local
385 *GetSurface(x, y) = col; in DrawCircle()
/TwlSDK-5.2.1/build/demos/prc/characterRecognition-1/src/
Dmain.c47 static void DrawLine(int x1, int y1, int x2, int y2, u16 col);
48 static void PutDot(int x, int y, u16 col);
365 void DrawLine(int x1, int y1, int x2, int y2, u16 col) in DrawLine() argument
403 *point = col; // PutDot in DrawLine()
422 *point = col; // PutDot in DrawLine()
445 *point = col; // PutDot in DrawLine()
464 *point = col; // PutDot in DrawLine()
477 void PutDot(int x, int y, u16 col) in PutDot() argument
479 *(u16 *)((u32)VRAM_BASE_ADDR + y * 256 * 2 + x * 2) = col; in PutDot()
/TwlSDK-5.2.1/build/demos/crypto/sign-1/src/
Dmain.c29 static void FillScreen(u16 col);
221 static void FillScreen(u16 col) in FillScreen() argument
223 MI_CpuFill16((void *)HW_LCDC_VRAM_C, col, 256 * 192 * 2); in FillScreen()
/TwlSDK-5.2.1/build/demos/prc/characterRecognition-2/src/
Dmain.c49 static void DrawLine(int x1, int y1, int x2, int y2, u16 col);
50 static void PutDot(int x, int y, u16 col);
631 void DrawLine(int x1, int y1, int x2, int y2, u16 col) in DrawLine() argument
669 *point = col; // PutDot in DrawLine()
688 *point = col; // PutDot in DrawLine()
711 *point = col; // PutDot in DrawLine()
730 *point = col; // PutDot in DrawLine()
743 void PutDot(int x, int y, u16 col) in PutDot() argument
745 *(u16 *)((u32)VRAM_BASE_ADDR + y * 256 * 2 + x * 2) = col; in PutDot()
/TwlSDK-5.2.1/build/demos/crypto/rc4-1/src/
Dmain.c29 static void FillScreen(u16 col);
181 static void FillScreen(u16 col) in FillScreen() argument
183 MI_CpuFill16((void *)HW_LCDC_VRAM_C, col, 256 * 192 * 2); in FillScreen()
/TwlSDK-5.2.1/build/demos.TWL/crypto/rsa-1/src/
Dmain.c32 static void FillScreen(u16 col);
335 static void FillScreen(u16 col) in FillScreen() argument
337 MI_CpuFill16((void *)HW_LCDC_VRAM_C, col, 256 * 192 * 2); in FillScreen()
/TwlSDK-5.2.1/build/demos/wbt/wbt-1/include/
Dtext.h33 u16 col[LINE_BUF_X_SIZE]; member
/TwlSDK-5.2.1/build/demos.TWL/crypto/sign-2/src/
Dmain.c34 static void FillScreen(u16 col);
302 static void FillScreen(u16 col) in FillScreen() argument
304 MI_CpuFill16((void *)HW_LCDC_VRAM_C, col, 256 * 192 * 2); in FillScreen()
/TwlSDK-5.2.1/build/demos/wxc/unregister-1/include/
Dtext.h33 u16 col[LINE_BUF_X_SIZE]; member
/TwlSDK-5.2.1/build/demos/crypto/rc4-3/src/
Dmain.c36 static void FillScreen(u16 col);
221 static void FillScreen(u16 col) in FillScreen() argument
223 MI_CpuFill16((void *)HW_LCDC_VRAM_C, col, 256 * 192 * 2); in FillScreen()
/TwlSDK-5.2.1/build/demos/math/misc-1/src/
Dmain.c27 static void FillScreen(u16 col);
151 static void FillScreen(u16 col) in FillScreen() argument
153 MI_CpuFill16((void *)HW_LCDC_VRAM_C, col, 256 * 192 * 2); in FillScreen()
/TwlSDK-5.2.1/build/demos/math/dgt-1/src/
Dmain.c27 static void FillScreen(u16 col);
155 static void FillScreen(u16 col) in FillScreen() argument
157 MI_CpuFill16((void *)HW_LCDC_VRAM_C, col, 256 * 192 * 2); in FillScreen()
/TwlSDK-5.2.1/build/demos/math/fft-1/src/
Dmain.c27 static void FillScreen(u16 col);
172 static void FillScreen(u16 col) in FillScreen() argument
174 MI_CpuFill16((void *)HW_LCDC_VRAM_C, col, 256 * 192 * 2); in FillScreen()