Lines Matching refs:cdsc
246 _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) {
292 draw_cleanup(cdsc);
298 lv_draw_img_decoded(draw_ctx, draw_dsc, coords, cdsc->dec_dsc.img_data, cf);
308 draw_cleanup(cdsc);
330 read_res = lv_img_decoder_read_line(&cdsc->dec_dsc, x, y, width, buf);
332 lv_img_decoder_close(&cdsc->dec_dsc);
335 draw_cleanup(cdsc);
350 draw_cleanup(cdsc);