forked from len0rd/rockbox
Revert "Remove YUV blitting functions and LCD modes"
This reverts commit fe6aa21e9e.
Change-Id: I8bb1e5d6c52ed1478002d2140ef494ec5d62b8e3
This commit is contained in:
parent
f9ea1fc79d
commit
418169aff8
54 changed files with 9638 additions and 3 deletions
|
|
@ -145,6 +145,7 @@ struct scrollinfo;
|
|||
#if defined(HAVE_LCD_MODES)
|
||||
void lcd_set_mode(int mode);
|
||||
#define LCD_MODE_RGB565 0x00000001
|
||||
#define LCD_MODE_YUV 0x00000002
|
||||
#define LCD_MODE_PAL256 0x00000004
|
||||
|
||||
#if HAVE_LCD_MODES & LCD_MODE_PAL256
|
||||
|
|
@ -235,7 +236,15 @@ extern bool lcd_putsxy_scroll_func(int x, int y, const unsigned char *string,
|
|||
void *data, int x_offset);
|
||||
|
||||
/* performance function */
|
||||
#if !defined(HAVE_LCD_COLOR)
|
||||
#if defined(HAVE_LCD_COLOR)
|
||||
#if MEMORYSIZE > 2
|
||||
#define LCD_YUV_DITHER 0x1
|
||||
extern void lcd_yuv_set_options(unsigned options);
|
||||
extern void lcd_blit_yuv(unsigned char * const src[3],
|
||||
int src_x, int src_y, int stride,
|
||||
int x, int y, int width, int height);
|
||||
#endif /* MEMORYSIZE > 2 */
|
||||
#else
|
||||
extern void lcd_blit_mono(const unsigned char *data, int x, int by, int width,
|
||||
int bheight, int stride);
|
||||
extern void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue