1 /** 2 * @file lv_draw_dave2d_utils.h 3 * 4 */ 5 6 #ifndef LV_DRAW_DAVE2D_UTILS_H 7 #define LV_DRAW_DAVE2D_UTILS_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 17 /********************* 18 * DEFINES 19 *********************/ 20 21 /********************** 22 * TYPEDEFS 23 **********************/ 24 25 /********************** 26 * GLOBAL PROTOTYPES 27 **********************/ 28 29 d2_color lv_draw_dave2d_lv_colour_to_d2_colour(lv_color_t color); 30 31 d2_s32 lv_draw_dave2d_cf_fb_get(void); 32 33 d2_u32 lv_draw_dave2d_lv_colour_fmt_to_d2_fmt(lv_color_format_t colour_format); 34 35 void d2_framebuffer_from_layer(d2_device * handle, lv_layer_t * layer); 36 37 bool lv_draw_dave2d_is_dest_cf_supported(lv_color_format_t cf); 38 39 /********************** 40 * MACROS 41 **********************/ 42 43 #ifdef __cplusplus 44 } /*extern "C"*/ 45 #endif 46 47 #endif /*LV_DRAW_DAVE2D_UTILS_H*/ 48