Home
last modified time | relevance | path

Searched refs:dec_dsc (Results 1 – 3 of 3) sorted by relevance

/lvgl-2.7.6/src/lv_draw/
Dlv_img_cache.c86 lv_img_src_t src_type = lv_img_src_get_type(cache[i].dec_dsc.src); in _lv_img_cache_open()
88 … if(cache[i].dec_dsc.src == src && cache[i].dec_dsc.color.full == color.full) match = true; in _lv_img_cache_open()
91 if(strcmp(cache[i].dec_dsc.src, src) == 0) match = true; in _lv_img_cache_open()
99 cached_src->life += cached_src->dec_dsc.time_to_open * LV_IMG_CACHE_LIFE_GAIN; in _lv_img_cache_open()
117 if(cached_src->dec_dsc.src) { in _lv_img_cache_open()
118 lv_img_decoder_close(&cached_src->dec_dsc); in _lv_img_cache_open()
128 cached_src->dec_dsc.time_to_open = 0; in _lv_img_cache_open()
129 lv_res_t open_res = lv_img_decoder_open(&cached_src->dec_dsc, src, color); in _lv_img_cache_open()
132 lv_img_decoder_close(&cached_src->dec_dsc); in _lv_img_cache_open()
133 _lv_memset_00(&cached_src->dec_dsc, sizeof(lv_img_decoder_dsc_t)); in _lv_img_cache_open()
[all …]
Dlv_draw_img.c239 bool chroma_keyed = lv_img_cf_is_chroma_keyed(cdsc->dec_dsc.header.cf); in lv_img_draw_core()
240 bool alpha_byte = lv_img_cf_has_alpha(cdsc->dec_dsc.header.cf); in lv_img_draw_core()
242 if(cdsc->dec_dsc.error_msg != NULL) { in lv_img_draw_core()
245 show_error(coords, clip_area, cdsc->dec_dsc.error_msg); in lv_img_draw_core()
249 else if(cdsc->dec_dsc.img_data) { in lv_img_draw_core()
272 lv_draw_map(coords, &mask_com, cdsc->dec_dsc.img_data, draw_dsc, chroma_keyed, alpha_byte); in lv_img_draw_core()
301 read_res = lv_img_decoder_read_line(&cdsc->dec_dsc, x, y, width, buf); in lv_img_draw_core()
303 lv_img_decoder_close(&cdsc->dec_dsc); in lv_img_draw_core()
Dlv_img_cache.h32 lv_img_decoder_dsc_t dec_dsc; /**< Image information */ member