Home
last modified time | relevance | path

Searched refs:src_type (Results 1 – 12 of 12) sorted by relevance

/lvgl-latest/src/draw/
Dlv_img_decoder.c89 lv_img_src_t src_type = lv_img_src_get_type(src); in lv_img_decoder_get_info() local
90 if(src_type == LV_IMG_SRC_VARIABLE) { in lv_img_decoder_get_info()
112 lv_img_src_t src_type = lv_img_src_get_type(src); in lv_img_decoder_open() local
113 if(src_type == LV_IMG_SRC_VARIABLE) { in lv_img_decoder_open()
119 dsc->src_type = src_type; in lv_img_decoder_open()
122 if(dsc->src_type == LV_IMG_SRC_FILE) { in lv_img_decoder_open()
161 if(dsc->src_type == LV_IMG_SRC_FILE) in lv_img_decoder_open()
193 if(dsc->src_type == LV_IMG_SRC_FILE) { in lv_img_decoder_close()
277 lv_img_src_t src_type = lv_img_src_get_type(src); in lv_img_decoder_built_in_info() local
278 if(src_type == LV_IMG_SRC_VARIABLE) { in lv_img_decoder_built_in_info()
[all …]
Dlv_img_cache.c206 lv_img_src_t src_type = lv_img_src_get_type(src1); in lv_img_cache_match() local
207 if(src_type == LV_IMG_SRC_VARIABLE) in lv_img_cache_match()
209 if(src_type != LV_IMG_SRC_FILE) in lv_img_cache_match()
Dlv_img_decoder.h111 lv_img_src_t src_type; member
/lvgl-latest/src/widgets/
Dlv_img.c76 lv_img_src_t src_type = lv_img_src_get_type(src); in lv_img_set_src() local
80 switch(src_type) { in lv_img_set_src()
96 if(src_type == LV_IMG_SRC_UNKNOWN) { in lv_img_set_src()
98 if(img->src_type == LV_IMG_SRC_SYMBOL || img->src_type == LV_IMG_SRC_FILE) { in lv_img_set_src()
102 img->src_type = LV_IMG_SRC_UNKNOWN; in lv_img_set_src()
110 if(src_type == LV_IMG_SRC_VARIABLE) { in lv_img_set_src()
112 if(img->src_type == LV_IMG_SRC_FILE || img->src_type == LV_IMG_SRC_SYMBOL) { in lv_img_set_src()
117 else if(src_type == LV_IMG_SRC_FILE || src_type == LV_IMG_SRC_SYMBOL) { in lv_img_set_src()
124 if(img->src_type == LV_IMG_SRC_FILE || img->src_type == LV_IMG_SRC_SYMBOL) { in lv_img_set_src()
137 if(src_type == LV_IMG_SRC_SYMBOL) { in lv_img_set_src()
[all …]
Dlv_img.h49 uint8_t src_type : 2; /*See: lv_img_src_t*/ member
/lvgl-latest/src/extra/libs/bmp/
Dlv_bmp.c76 lv_img_src_t src_type = lv_img_src_get_type(src); /*Get the source type*/ in decoder_info() local
79 if(src_type == LV_IMG_SRC_FILE) { in decoder_info()
109 else if(src_type == LV_IMG_SRC_VARIABLE) { in decoder_info()
127 if(dsc->src_type == LV_IMG_SRC_FILE) { in decoder_open()
184 else if(dsc->src_type == LV_IMG_SRC_VARIABLE) { in decoder_open()
/lvgl-latest/src/extra/libs/png/
Dlv_png.c68 lv_img_src_t src_type = lv_img_src_get_type(src); /*Get the source type*/ in decoder_info() local
71 if(src_type == LV_IMG_SRC_FILE) { in decoder_info()
103 else if(src_type == LV_IMG_SRC_VARIABLE) { in decoder_info()
154 if(dsc->src_type == LV_IMG_SRC_FILE) { in decoder_open()
190 else if(dsc->src_type == LV_IMG_SRC_VARIABLE) { in decoder_open()
/lvgl-latest/src/extra/libs/sjpg/
Dlv_sjpg.c154 lv_img_src_t src_type = lv_img_src_get_type(src); /*Get the source type*/ in decoder_info() local
158 if(src_type == LV_IMG_SRC_VARIABLE) { in decoder_info()
211 else if(src_type == LV_IMG_SRC_FILE) { in decoder_info()
348 if(dsc->src_type == LV_IMG_SRC_VARIABLE) { in decoder_open()
499 else if(dsc->src_type == LV_IMG_SRC_FILE) { in decoder_open()
720 if(dsc->src_type == LV_IMG_SRC_VARIABLE) { in decoder_read_line()
788 else if(dsc->src_type == LV_IMG_SRC_FILE) { in decoder_read_line()
869 switch(dsc->src_type) { in decoder_close()
/lvgl-latest/src/extra/libs/ffmpeg/
Dlv_ffmpeg.c264 lv_img_src_t src_type = lv_img_src_get_type(src); in decoder_info() local
266 if(src_type == LV_IMG_SRC_FILE) { in decoder_info()
283 if(dsc->src_type == LV_IMG_SRC_FILE) { in decoder_open()
/lvgl-latest/src/draw/sdl/
Dlv_draw_sdl_rect.c535 lv_img_src_t src_type = lv_img_src_get_type(dsc->bg_img_src); in draw_bg_img() local
536 if(src_type == LV_IMG_SRC_SYMBOL) { in draw_bg_img()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_rect.c337 lv_img_src_t src_type = lv_img_src_get_type(dsc->bg_img_src); in draw_bg_img() local
338 if(src_type == LV_IMG_SRC_SYMBOL) { in draw_bg_img()
/lvgl-latest/docs/overview/
Dimage.md252 …en the image source pointed by `dsc->src`. Its type is already in `dsc->src_type == LV_IMG_SRC_FIL…