Home
last modified time | relevance | path

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

/AliOS-Things-master/components/littlevgl/src/lv_draw/
A Dlv_img_cache.c82 if(cache[i].dec_dsc.src == src) { in lv_img_cache_open()
105 if(cached_src->dec_dsc.src) { in lv_img_cache_open()
106 lv_img_decoder_close(&cached_src->dec_dsc); in lv_img_cache_open()
115 cached_src->dec_dsc.time_to_open = 0; in lv_img_cache_open()
119 lv_img_decoder_close(&cached_src->dec_dsc); in lv_img_cache_open()
129 if(cached_src->dec_dsc.time_to_open == 0) { in lv_img_cache_open()
130 cached_src->dec_dsc.time_to_open = lv_tick_elaps(t_start); in lv_img_cache_open()
133 if(cached_src->dec_dsc.time_to_open == 0) cached_src->dec_dsc.time_to_open = 1; in lv_img_cache_open()
182 if(cache[i].dec_dsc.src == src || src == NULL) { in lv_img_cache_invalidate_src()
183 if(cache[i].dec_dsc.src != NULL) { in lv_img_cache_invalidate_src()
[all …]
A Dlv_draw_img.c490 bool chroma_keyed = lv_img_color_format_is_chroma_keyed(cdsc->dec_dsc.header.cf); in lv_img_draw_core()
491 bool alpha_byte = lv_img_color_format_has_alpha(cdsc->dec_dsc.header.cf); in lv_img_draw_core()
493 if(cdsc->dec_dsc.error_msg != NULL) { in lv_img_draw_core()
496 …lv_draw_label(coords, mask, &lv_style_plain, LV_OPA_COVER, cdsc->dec_dsc.error_msg, LV_TXT_FLAG_NO… in lv_img_draw_core()
501 else if(cdsc->dec_dsc.img_data) { in lv_img_draw_core()
502 …lv_draw_map(coords, mask, cdsc->dec_dsc.img_data, opa, chroma_keyed, alpha_byte, style->image.colo… in lv_img_draw_core()
519 read_res = lv_img_decoder_read_line(&cdsc->dec_dsc, x, y, width, buf); in lv_img_draw_core()
521 lv_img_decoder_close(&cdsc->dec_dsc); in lv_img_draw_core()
A Dlv_img_cache.h33 lv_img_decoder_dsc_t dec_dsc; /**< Image information */ member

Completed in 8 milliseconds