Home
last modified time | relevance | path

Searched refs:cdsc (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/src/draw/
Dlv_draw_img.c246 _lv_img_cache_entry_t * cdsc = _lv_img_cache_open(src, draw_dsc->recolor, draw_dsc->frame_id); local
248 if(cdsc == NULL) return LV_RES_INV;
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) {
[all …]
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_img.c203 _lv_img_cache_entry_t * cdsc = _lv_img_cache_open(src, lv_color_white(), frame_id); in lv_draw_sdl_img_load_texture() local
207 if(cdsc) { in lv_draw_sdl_img_load_texture()
208 lv_img_decoder_dsc_t * dsc = &cdsc->dec_dsc; in lv_draw_sdl_img_load_texture()
225 if(texture && cdsc) { 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()