cancel
Showing results for 
Search instead for 
Did you mean: 

ARGB565 and ARGB4444 not support in emWinV5.44 base on DSI of stm32F769?

jwu.4
Associate

HI,

I port emWin to stm32f769, use DSI cmd model .

I need to use image with alpha , it can be ARGB565 or ARGB4444,

the problem is , emWin supports ARGB565, not support ARGB4444,

and the LTDC supports ARGB444 , not support ARGB565.

GUI.h///////////////////////////////////////////

#define GUI_DRAW_BMP444_12 &GUI_BitmapMethods444_12 /* Method table ! */

#define GUI_DRAW_BMPM444_12 &GUI_BitmapMethodsM444_12 /* Method table ! */

#define GUI_DRAW_BMP444_12_1 &GUI_BitmapMethods444_12_1 /* Method table ! */

#define GUI_DRAW_BMPM444_12_1 &GUI_BitmapMethodsM444_12_1 /* Method table ! */

#define GUI_DRAW_BMP444_16 &GUI_BitmapMethods444_16 /* Method table ! */

#define GUI_DRAW_BMPM444_16 &GUI_BitmapMethodsM444_16 /* Method table ! */

#define GUI_DRAW_BMP555 &GUI_BitmapMethods555 /* Method table ! */

#define GUI_DRAW_BMPM555 &GUI_BitmapMethodsM555 /* Method table ! */

#define GUI_DRAW_BMP565 &GUI_BitmapMethods565 /* Method table ! */

#define GUI_DRAW_BMPM565 &GUI_BitmapMethodsM565 /* Method table ! */

#define GUI_DRAW_BMP24 &GUI_BitmapMethods24 /* Method table ! */

#define GUI_DRAW_BMP888 &GUI_BitmapMethods888 /* Method table ! */

#define GUI_DRAW_BMPM888 &GUI_BitmapMethodsM888 /* Method table ! */

#define GUI_DRAW_BMP8888 &GUI_BitmapMethods8888 /* Method table ! */

#define GUI_DRAW_BMPM8888I &GUI_BitmapMethodsM8888I /* Method table ! */

#define GUI_DRAW_BMPA555 &GUI_BitmapMethodsA555 /* Method table ! */

#define GUI_DRAW_BMPAM555 &GUI_BitmapMethodsAM555 /* Method table ! */

#define GUI_DRAW_BMPA565 &GUI_BitmapMethodsA565 /* Method table ! */

#define GUI_DRAW_BMPAM565 &GUI_BitmapMethodsAM565 /* Method table ! */

BUT THE LTDC SIDE

LCDConf.c

/* Define the possible color modes */

#define CMS_ARGB8888 1

#define CMS_RGB888 2

#define CMS_RGB565 3

#define CMS_ARGB1555 4

#define CMS_ARGB4444 5

#define CMS_L8 6

#define CMS_AL44 7

#define CMS_AL88 8

can anyone give me some advice how to deal with it?

0 REPLIES 0