forked from len0rd/rockbox
Grayscale library: LCD linearisation and gamma correction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10402 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8cc73f152b
commit
628d20a610
11 changed files with 251 additions and 48 deletions
|
@ -183,7 +183,7 @@ int main(void)
|
|||
H1x0: 160 pixels wide, 30 rows (120 pixels) high, (try to) reserve
|
||||
32 bitplanes for 33 shades of grey. */
|
||||
shades = gray_init(rb, gbuf, gbuf_size, true, LCD_WIDTH, GFX_HEIGHT/8,
|
||||
32, NULL) + 1;
|
||||
32, 0, NULL) + 1;
|
||||
|
||||
/* place greyscale overlay 1 row down */
|
||||
gray_set_position(0, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue