Lines Matching refs:decoded
199 lv_draw_buf_t * decoded = (void *)dsc->decoded; in decoder_get_area() local
205 … lv_draw_buf_t * reshaped = lv_draw_buf_reshape(decoded, dsc->header.cf, w_px, 1, LV_STRIDE_AUTO); in decoder_get_area()
207 if(decoded != NULL) { in decoder_get_area()
208 lv_draw_buf_destroy(decoded); in decoder_get_area()
209 decoded = NULL; in decoder_get_area()
210 dsc->decoded = NULL; in decoder_get_area()
212 …decoded = lv_draw_buf_create_ex(image_cache_draw_buf_handlers, w_px, 1, dsc->header.cf, LV_STRIDE_… in decoder_get_area()
213 if(decoded == NULL) return LV_RESULT_INVALID; in decoder_get_area()
216 decoded = reshaped; in decoder_get_area()
218 dsc->decoded = decoded; in decoder_get_area()
234 lv_fs_read(&b->f, decoded->data, line_width_byte, NULL); in decoder_get_area()
249 if(dsc->decoded) lv_draw_buf_destroy((void *)dsc->decoded); in decoder_close()