Searched refs:dec_dsc (Results 1 – 4 of 4) sorted by relevance
/lvgl-3.7.0/src/draw/ |
D | lv_img_cache.c | 85 if(color.full == cache[i].dec_dsc.color.full && in _lv_img_cache_open() 86 frame_id == cache[i].dec_dsc.frame_id && in _lv_img_cache_open() 87 lv_img_cache_match(src, cache[i].dec_dsc.src)) { in _lv_img_cache_open() 92 cached_src->life += cached_src->dec_dsc.time_to_open * LV_IMG_CACHE_LIFE_GAIN; in _lv_img_cache_open() 111 if(cached_src->dec_dsc.src) { in _lv_img_cache_open() 112 lv_img_decoder_close(&cached_src->dec_dsc); in _lv_img_cache_open() 123 lv_res_t open_res = lv_img_decoder_open(&cached_src->dec_dsc, src, color, frame_id); in _lv_img_cache_open() 134 if(cached_src->dec_dsc.time_to_open == 0) { in _lv_img_cache_open() 135 cached_src->dec_dsc.time_to_open = lv_tick_elaps(t_start); in _lv_img_cache_open() 138 if(cached_src->dec_dsc.time_to_open == 0) cached_src->dec_dsc.time_to_open = 1; in _lv_img_cache_open() [all …]
|
D | lv_draw_img.c | 251 if(lv_img_cf_is_chroma_keyed(cdsc->dec_dsc.header.cf)) cf = LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED; 252 else if(LV_IMG_CF_ALPHA_8BIT == cdsc->dec_dsc.header.cf) cf = LV_IMG_CF_ALPHA_8BIT; 253 else if(LV_IMG_CF_RGB565A8 == cdsc->dec_dsc.header.cf) cf = LV_IMG_CF_RGB565A8; 254 else if(lv_img_cf_has_alpha(cdsc->dec_dsc.header.cf)) cf = LV_IMG_CF_TRUE_COLOR_ALPHA; 261 cdsc->dec_dsc.img_data = NULL; 265 if(cdsc->dec_dsc.error_msg != NULL) { 268 show_error(draw_ctx, coords, cdsc->dec_dsc.error_msg); 272 else if(cdsc->dec_dsc.img_data) { 298 lv_draw_img_decoded(draw_ctx, draw_dsc, coords, cdsc->dec_dsc.img_data, cf); 330 read_res = lv_img_decoder_read_line(&cdsc->dec_dsc, x, y, width, buf); [all …]
|
D | lv_img_cache.h | 32 lv_img_decoder_dsc_t dec_dsc; /**< Image information*/ member
|
/lvgl-3.7.0/src/draw/sdl/ |
D | lv_draw_sdl_img.c | 208 lv_img_decoder_dsc_t * dsc = &cdsc->dec_dsc; in lv_draw_sdl_img_load_texture() 227 SDL_memcpy(&(*header)->base, &cdsc->dec_dsc.header, sizeof(lv_img_header_t)); in lv_draw_sdl_img_load_texture()
|