FreeCalypso > hg > fc-selenite
view src/cs/drivers/drv_app/r2d/lcds/PC_DSAMPLE/r2d_task_init_i.c @ 135:ac4c0a9bc022
FFS dev.c: change from Magnetite for potential future
embedded modem products with K5A32xxCTM flash chips
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 20 Dec 2018 04:24:06 +0000 |
parents | b6a5e36de839 |
children |
line wrap: on
line source
/* Used by refresh task to extract bytes from the framebuffer */ #if (R2D_REFRESH == R2D_VERTICAL) #define R2D_MB_PRIM_SIZE ((R2D_WIDTH*R2D_HEIGHT*4)+6*4*3+100)//70000//8000 //70000 #else #define R2D_MB_PRIM_SIZE ((R2D_WIDTH*R2D_HEIGHT*4)+6*4*3+100)//70000//8000 //70000 #endif static void r2d_refresh_task_init(void) { } static void r2d_refresh_task_kill(void) { } static void r2d_dithering_init(void) { R2D_MALLOC(r2d_mb_id,UINT32,sizeof(UINT32)*4,r2d_g_dithering_matrix); r2d_g_dithering_matrix[0]=0; r2d_g_dithering_matrix[1]=2; r2d_g_dithering_matrix[2]=3; r2d_g_dithering_matrix[3]=1; }