lv_draw_ppa_private.h
API reference for lv_draw_ppa_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_draw_ppa.h
static bool ppa_src_cf_supported(lv_color_format_t cf)
Parameters
static bool ppa_dest_cf_supported(lv_color_format_t cf)
Parameters
static int32_t lv_ppa_pic_w(uint32_t stride, int32_t w, lv_color_format_t cf)
Parameters
| Member | Type | Description |
|---|
base_unit | lv_draw_unit_t | |
task_act | lv_draw_task_t * | |
srm_client | ppa_client_handle_t | |
fill_client | ppa_client_handle_t | |
blend_client | ppa_client_handle_t | |
buf | uint8_t * | |
img_sw_fallback | bool | |
typedef struct lv_draw_ppa_unit lv_draw_ppa_unit_t
#define LV_PPA_NONBLOCKING_OPS 0
#define PPA_ALIGN_UP(x, align) \
((((x) + (align) - 1) / (align)) * (align))
#define PPA_PTR_ALIGN_UP(p, align) \
((void*)(((uintptr_t)(p) + (uintptr_t)((align) - 1)) & ~(uintptr_t)((align) - 1)))
#define PPA_ALIGN_DOWN(x, align) \
((((x) - (align) - 1) / (align)) * (align))
#define PPA_PTR_ALIGN_DOWN(p, align) \
((void*)(((uintptr_t)(p) - (uintptr_t)((align) - 1)) & ~(uintptr_t)((align) - 1)))
Last updated on