lv_vg_lite_utils.h

Defines

LV_VG_LITE_IS_ERROR(err)
VLC_GET_OP_CODE(ptr)
LV_VG_LITE_ASSERT(expr)
LV_VG_LITE_CHECK_ERROR(expr)
LV_VG_LITE_ASSERT_PATH(path)
LV_VG_LITE_ASSERT_SRC_BUFFER(buffer)
LV_VG_LITE_ASSERT_DEST_BUFFER(buffer)
LV_VG_LITE_ASSERT_MATRIX(matrix)
LV_VG_LITE_ALIGN(number, align_bytes)
LV_VG_LITE_IS_ALIGNED(num, align)
LV_VG_LITE_IS_INDEX_FMT(fmt)

Functions

void lv_vg_lite_dump_info(void)
void lv_vg_lite_error_dump_info(vg_lite_error_t error)
const char *lv_vg_lite_error_string(vg_lite_error_t error)
const char *lv_vg_lite_feature_string(vg_lite_feature_t feature)
const char *lv_vg_lite_buffer_format_string(vg_lite_buffer_format_t format)
const char *lv_vg_lite_vlc_op_string(uint8_t vlc_op)
void lv_vg_lite_path_dump_info(const vg_lite_path_t *path)
void lv_vg_lite_stroke_dump_info(const vg_lite_stroke_t *stroke)
void lv_vg_lite_buffer_dump_info(const vg_lite_buffer_t *buffer)
void lv_vg_lite_matrix_dump_info(const vg_lite_matrix_t *matrix)
bool lv_vg_lite_is_dest_cf_supported(lv_color_format_t cf)
bool lv_vg_lite_is_src_cf_supported(lv_color_format_t cf)
vg_lite_buffer_format_t lv_vg_lite_vg_fmt(lv_color_format_t cf)
void lv_vg_lite_buffer_format_bytes(vg_lite_buffer_format_t format, uint32_t *mul, uint32_t *div, uint32_t *bytes_align)
uint32_t lv_vg_lite_width_to_stride(uint32_t w, vg_lite_buffer_format_t color_format)
uint32_t lv_vg_lite_width_align(uint32_t w)
void lv_vg_lite_buffer_init(vg_lite_buffer_t *buffer, const void *ptr, int32_t width, int32_t height, uint32_t stride, vg_lite_buffer_format_t format, bool tiled)
void lv_vg_lite_buffer_from_draw_buf(vg_lite_buffer_t *buffer, const lv_draw_buf_t *draw_buf)
void lv_vg_lite_image_matrix(vg_lite_matrix_t *matrix, int32_t x, int32_t y, const lv_draw_image_dsc_t *dsc)
vg_lite_color_t lv_vg_lite_image_recolor(vg_lite_buffer_t *buffer, const lv_draw_image_dsc_t *dsc)
bool lv_vg_lite_buffer_open_image(vg_lite_buffer_t *buffer, lv_image_decoder_dsc_t *decoder_dsc, const void *src, bool no_cache, bool premultiply)
void lv_vg_lite_image_dsc_init(struct _lv_draw_vg_lite_unit_t *unit)
void lv_vg_lite_image_dsc_deinit(struct _lv_draw_vg_lite_unit_t *unit)
vg_lite_blend_t lv_vg_lite_blend_mode(lv_blend_mode_t blend_mode, bool has_pre_mul)
uint32_t lv_vg_lite_get_palette_size(vg_lite_buffer_format_t format)
vg_lite_color_t lv_vg_lite_color(lv_color_t color, lv_opa_t opa, bool pre_mul)
void lv_vg_lite_rect(vg_lite_rectangle_t *rect, const lv_area_t *area)
void lv_vg_lite_matrix(vg_lite_matrix_t *dest, const lv_matrix_t *src)
bool lv_vg_lite_buffer_check(const vg_lite_buffer_t *buffer, bool is_src)
bool lv_vg_lite_path_check(const vg_lite_path_t *path)
bool lv_vg_lite_matrix_check(const vg_lite_matrix_t *matrix)
bool lv_vg_lite_support_blend_normal(void)
bool lv_vg_lite_16px_align(void)
void lv_vg_lite_matrix_multiply(vg_lite_matrix_t *matrix, const vg_lite_matrix_t *mult)
bool lv_vg_lite_matrix_inverse(vg_lite_matrix_t *result, const vg_lite_matrix_t *matrix)
lv_point_precise_t lv_vg_lite_matrix_transform_point(const vg_lite_matrix_t *matrix, const lv_point_precise_t *point)
void lv_vg_lite_set_scissor_area(const lv_area_t *area)
void lv_vg_lite_disable_scissor(void)
void lv_vg_lite_flush(struct _lv_draw_vg_lite_unit_t *u)
void lv_vg_lite_finish(struct _lv_draw_vg_lite_unit_t *u)