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_sw_rgb565_swap_helium
static lv_result_t lv_draw_sw_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
< Log if something unwanted happened but didn't caused problem.
< Log if something unwanted happened but didn't caused problem.
< Log only critical issues, when system may fail.
< Halt by default
< Fully cover if opa >= LV_OPA_MAX
< Log only critical issues, when system may fail.
< Halt by default
< 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 * |
while
while(0)| Name | Type |
|---|---|
| `` | 0 |
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_SW_RGB565_SWAP
#define LV_DRAW_SW_RGB565_SWAP(__buf_ptr, __buf_size_px) \
lv_draw_sw_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);Variables
result
return resultDependencies
lv_conf_internal.hlv_area_private.hlv_draw_private.hlv_draw_image_private.harm_2d.h__arm_2d_impl.h
Indirect dependencies
lv_anim.hlv_area.hlv_array.hlv_assert.hlv_bidi.hlv_cache.hlv_cache_class.hlv_cache_entry.hlv_cache_instance.hlv_cache_lru_ll.hlv_cache_lru_rb.hlv_cache_private.hlv_cache_sc_da.hlv_color.hlv_color_op.hlv_conf_kconfig.hlv_draw.hlv_draw_buf.hlv_draw_image.hlv_event.hlv_ext_data.hlv_flex.hlv_font.hlv_fs.hlv_grad.hlv_grid.hlv_image_cache.hlv_image_decoder.hlv_image_dsc.hlv_image_header_cache.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_matrix.hlv_mem.hlv_os.hlv_os_private.hlv_palette.hlv_profiler.hlv_profiler_builtin.hlv_pthread.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_symbol_def.hlv_text.hlv_tick.hlv_timer.hlv_types.h
How is this guide?
Last updated on