6 //interrupt handle function declare
7 typedef void (*LCD_IRQ_FUNC) (void);
9 typedef enum _lcd_int_type_tag
11 LCD_INT_LCDC_DONE = 0,
18 typedef enum _lcd_layer_id_tag
24 #if defined(PLATFORM_SC8800G) || defined(CONFIG_SC8810)
31 typedef enum _lcd_fmark_mode_tag
38 typedef enum _lcd_fmark_pol_tag
45 typedef enum _lcd_upsample_mode_tag
47 LCD_UPSAMPLE_DUPLICATE,
50 } LCD_UPSAMPLE_MODE_E;
52 typedef enum _lcd_data_format_tag
65 typedef enum _lcd_osd_alpha_tag
67 LCD_OSD_PIXEL_ALPHA = 0,
72 typedef struct _lcd_postion_tag
78 typedef struct _lcdc_size_tag
84 typedef struct _lcd_rect_tag //rectangle
92 typedef struct _lcd_data_addr_tag
98 typedef struct _lcd_img_blk_param_tag
100 LCDC_SIZE_T src_size;
101 LCDC_RECT_T src_trim_rect;
103 LCD_DATA_ADDR_T src_base_addr;
104 LCD_DATA_FORMAT_E format;
105 #if defined(PLATFORM_SC8800G) || defined(CONFIG_SC8810)
106 uint32 is_little_endian;
108 BOOLEAN is_little_endian;
111 } LCD_IMG_LAYER_PARAM_T;
113 typedef struct _lcd_osd_blk_param_tag
115 LCDC_SIZE_T src_size;
116 LCDC_RECT_T src_trim_rect;
118 uint32 src_base_addr;
119 uint32 alpha_base_addr;
122 LCD_DATA_FORMAT_E format;
123 LCD_OSD_ALPHA_E alpha_mode;
124 #if defined(PLATFORM_SC8800G) || defined(CONFIG_SC8810)
125 uint32 is_little_endian;
127 BOOLEAN is_little_endian;
132 } LCD_OSD_LAYER_PARAM_T;
134 typedef struct _lcd_yuv2rgb_param_tag
136 LCD_UPSAMPLE_MODE_E upsample_mode;
137 uint8 contrast; //0-255
138 uint8 saturation; //0-255
139 int16 brightness; //-256-256
140 } LCD_YUV2RGB_PARAM_T;
142 typedef struct _lcdc_cap_param_tag
144 LCDC_RECT_T cap_rect;
145 LCDC_SIZE_T dst_size;
146 LCDC_RECT_T dst_trim_rect;
147 LCD_DATA_FORMAT_E format;
148 uint32 dst_base_addr;
149 BOOLEAN is_little_endian;