1
0
Fork 0
forked from len0rd/rockbox

H1x0: Changed lcd_blit() and the grayscale library to use the same internal format as on archos (1bpp). While the slowdown of the ISR is minimal (the intermediate buffers are in IRAM), the planar grayscale buffer takes only half the space for a given depth, and gray_update[_rect]() and unbuffered drawing/scrolling are faster because less data needs to be moved. It should also make porting of video.rock somewhat easier. * Archos recorders, Ondios: Some slight optimisations of the grayscale library.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7571 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-09-30 20:10:27 +00:00
parent 8b9c64f19d
commit 1a40e10933
8 changed files with 156 additions and 97 deletions

View file

@ -107,11 +107,7 @@ void gray_ub_scroll_down(int count);
/*** Internal stuff ***/
#if LCD_DEPTH == 1
#define _PBLOCK_EXP 3
#elif LCD_DEPTH == 2
#define _PBLOCK_EXP 2
#endif
#define _PBLOCK (1 << _PBLOCK_EXP)
/* flag definitions */