view src/cs/drivers/drv_app/r2d/lcds/Horizontal/r2d_task_init_i.c @ 702:9394305d4ff5 default tip

etm_audio.c: fix off-by-one error in auw of FIR coefficients This fix was already made in FC Tourmaline a while back, but it is also the kind of bugfix that deserves to be backported to Magnetite and Selenite as well.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 31 Oct 2022 00:14:44 +0000
parents 945cf7f506b2
children
line wrap: on
line source

/* Used by refresh task to extract bytes from the
framebuffer */


  
 #define R2D_MB_PRIM_SIZE	(5*(R2D_MWWIDTH*4*R2D_HEIGHT)+1700+(R2D_MWWIDTH*4*R2D_HEIGHT)+(R2D_WIDTH*4*R2D_HEIGHT))//70000//8000 //70000
 

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;
}