6#ifndef LV_IMG_DECODER_H
7#define LV_IMG_DECODER_H
41typedef uint8_t lv_img_src_t;
76 lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf);
257 lv_coord_t y, lv_coord_t len, uint8_t * buf);
lv_img_decoder_t * lv_img_decoder_create(void)
void _lv_img_decoder_init(void)
lv_res_t lv_img_decoder_built_in_read_line(lv_img_decoder_t *decoder, lv_img_decoder_dsc_t *dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t *buf)
void lv_img_decoder_built_in_close(lv_img_decoder_t *decoder, lv_img_decoder_dsc_t *dsc)
void lv_img_decoder_set_close_cb(lv_img_decoder_t *decoder, lv_img_decoder_close_f_t close_cb)
void lv_img_decoder_delete(lv_img_decoder_t *decoder)
void lv_img_decoder_close(lv_img_decoder_dsc_t *dsc)
lv_res_t lv_img_decoder_get_info(const void *src, lv_img_header_t *header)
@ LV_IMG_SRC_FILE
Definition lv_img_decoder.h:36
@ LV_IMG_SRC_UNKNOWN
Definition lv_img_decoder.h:38
@ LV_IMG_SRC_SYMBOL
Definition lv_img_decoder.h:37
void lv_img_decoder_set_info_cb(lv_img_decoder_t *decoder, lv_img_decoder_info_f_t info_cb)
void lv_img_decoder_set_open_cb(lv_img_decoder_t *decoder, lv_img_decoder_open_f_t open_cb)
void lv_img_decoder_set_read_line_cb(lv_img_decoder_t *decoder, lv_img_decoder_read_line_f_t read_line_cb)
lv_res_t lv_img_decoder_open(lv_img_decoder_dsc_t *dsc, const void *src, lv_color_t color, int32_t frame_id)
lv_res_t lv_img_decoder_read_line(lv_img_decoder_dsc_t *dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t *buf)
void(* lv_img_decoder_close_f_t)(struct _lv_img_decoder_t *decoder, struct _lv_img_decoder_dsc_t *dsc)
Definition lv_img_decoder.h:83
lv_res_t(* lv_img_decoder_open_f_t)(struct _lv_img_decoder_t *decoder, struct _lv_img_decoder_dsc_t *dsc)
Definition lv_img_decoder.h:62
lv_res_t(* lv_img_decoder_read_line_f_t)(struct _lv_img_decoder_t *decoder, struct _lv_img_decoder_dsc_t *dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t *buf)
Definition lv_img_decoder.h:75
lv_res_t(* lv_img_decoder_info_f_t)(struct _lv_img_decoder_t *decoder, const void *src, lv_img_header_t *header)
Definition lv_img_decoder.h:54
lv_res_t lv_img_decoder_built_in_open(lv_img_decoder_t *decoder, lv_img_decoder_dsc_t *dsc)
lv_res_t lv_img_decoder_built_in_info(lv_img_decoder_t *decoder, const void *src, lv_img_header_t *header)
struct _lv_img_decoder_dsc_t lv_img_decoder_dsc_t
Definition lv_img_decoder.h:99
lv_img_src_t src_type
Definition lv_img_decoder.h:113
const uint8_t * img_data
Definition lv_img_decoder.h:120
lv_img_decoder_t * decoder
Definition lv_img_decoder.h:101
lv_color_t color
Definition lv_img_decoder.h:107
const void * src
Definition lv_img_decoder.h:104
int32_t frame_id
Definition lv_img_decoder.h:110
lv_img_header_t header
Definition lv_img_decoder.h:116
const char * error_msg
Definition lv_img_decoder.h:128
void * user_data
Definition lv_img_decoder.h:131
uint32_t time_to_open
Definition lv_img_decoder.h:124
Definition lv_img_decoder.h:86