feat(cache): image cache supports dynamic setting of cache size (#5926)

This commit is contained in:
Benign X
2024-03-22 10:51:03 +08:00
committed by GitHub
parent 9fe9cf6368
commit 213cb5971e
16 changed files with 128 additions and 115 deletions

View File

@@ -200,7 +200,7 @@ void lv_init(void)
_lv_sysmon_builtin_init();
#endif
_lv_image_decoder_init();
_lv_image_decoder_init(LV_CACHE_DEF_SIZE, LV_IMAGE_HEADER_CACHE_DEF_CNT);
lv_bin_decoder_init(); /*LVGL built-in binary image decoder*/
#if LV_USE_DRAW_VG_LITE