comparison src/cs/drivers/drv_app/r2d/lcds/ColorPC/r2d_task_init_i.c @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
1 /* Used by refresh task to extract bytes from the
2 framebuffer */
3
4
5 #define R2D_MB_PRIM_SIZE (4000)
6
7 static void r2d_refresh_task_init(void)
8 {
9 }
10
11 static void r2d_refresh_task_kill(void)
12 {
13 }
14
15 static void r2d_dithering_init(void)
16 {
17 R2D_MALLOC(r2d_mb_id,UINT32,sizeof(UINT32)*4,r2d_g_dithering_matrix);
18 r2d_g_dithering_matrix[0]=0;
19 r2d_g_dithering_matrix[1]=2;
20 r2d_g_dithering_matrix[2]=3;
21 r2d_g_dithering_matrix[3]=1;
22 }