lv_draw_sw_arm2d.h
API reference for lv_draw_sw_arm2d.h
Summary
Functions
arm_2d_helper_swap_rgb16
void arm_2d_helper_swap_rgb16(uint16_t *phwBuffer, uint32_t wCount)| Name | Type |
|---|---|
phwBuffer | uint16_t * |
wCount | uint32_t |
lv_draw_rgb565_swap_helium
static lv_result_t lv_draw_rgb565_swap_helium(void *buf, uint32_t buf_size_px)| Name | Type |
|---|---|
buf | void * |
buf_size_px | uint32_t |
lv_draw_sw_image_helium
< Fully transparent if opa <= LV_OPA_MIN
< Fully cover if opa >= LV_OPA_MAX
< Fully cover if opa >= LV_OPA_MAX
static lv_result_t lv_draw_sw_image_helium(bool is_transform, lv_color_format_t src_cf, const uint8_t *src_buf, const lv_area_t *coords, int32_t src_stride, const lv_area_t *des_area, lv_draw_task_t *t, const lv_draw_image_dsc_t *draw_dsc)| Name | Type |
|---|---|
is_transform | bool |
src_cf | lv_color_format_t |
src_buf | const uint8_t * |
coords | const lv_area_t * |
src_stride | int32_t |
des_area | const lv_area_t * |
t | lv_draw_task_t * |
draw_dsc | const lv_draw_image_dsc_t * |
lv_draw_sw_image_recolor_rgb565
static lv_result_t lv_draw_sw_image_recolor_rgb565(const uint8_t *src_buf, const lv_area_t *blend_area, lv_color_t color, lv_opa_t opa)| Name | Type |
|---|---|
src_buf | const uint8_t * |
blend_area | const lv_area_t * |
color | lv_color_t |
opa | lv_opa_t |
lv_draw_sw_image_recolor_rgb888
static lv_result_t lv_draw_sw_image_recolor_rgb888(const uint8_t *src_buf, const lv_area_t *blend_area, lv_color_t color, lv_opa_t opa, lv_color_format_t src_cf)| Name | Type |
|---|---|
src_buf | const uint8_t * |
blend_area | const lv_area_t * |
color | lv_color_t |
opa | lv_opa_t |
src_cf | lv_color_format_t |
Macros
ARM_2D_IMPL
#define __ARM_2D_IMPL__LV_DRAW_RGB565_SWAP
#define LV_DRAW_RGB565_SWAP(__buf_ptr, __buf_size_px) \
lv_draw_rgb565_swap_helium((__buf_ptr), (__buf_size_px))LV_DRAW_SW_IMAGE
#define LV_DRAW_SW_IMAGE(__transformed, __cf, __src_buf, __img_coords, __src_stride, __blend_area, __draw_task, __draw_dsc) \
lv_draw_sw_image_helium( (__transformed), \
(__cf), \
(uint8_t *)(__src_buf), \
(__img_coords), \
(__src_stride), \
(__blend_area), \
(__draw_task), \
(__draw_dsc))LV_DRAW_SW_RGB565_RECOLOR
#define LV_DRAW_SW_RGB565_RECOLOR(__src_buf, __blend_area, __color, __opa) \
lv_draw_sw_image_recolor_rgb565( (__src_buf), \
&(__blend_area), \
(__color), \
(__opa))LV_DRAW_SW_RGB888_RECOLOR
#define LV_DRAW_SW_RGB888_RECOLOR(__src_buf, __blend_area, __color, __opa, __cf) \
lv_draw_sw_image_recolor_rgb888( (__src_buf), \
&(__blend_area), \
(__color), \
(__opa), \
(__cf))__RECOLOUR_BEGIN
#define __RECOLOUR_BEGIN()__RECOLOUR_END
#define __RECOLOUR_END() \
} while(0); \
if (NULL != rgb_tmp_buf) { \
lv_free(rgb_tmp_buf); \
} \
} while(0);Dependencies
lvgl_public.hlv_area_private.hlv_draw_private.hlv_draw_image_private.harm_2d.h__arm_2d_impl.h
Last updated on