revert "feat(decoder): add image header cache" (#5418)

This commit is contained in:
Gabor Kiss-Vamosi
2024-01-22 12:57:06 +01:00
committed by GitHub
parent 59c624aa38
commit 2297338c0d
20 changed files with 149 additions and 258 deletions

View File

@@ -271,10 +271,6 @@
*If size is 0, the cache function is not enabled and the decoded mem will be released immediately after use.*/
#define LV_CACHE_DEF_SIZE 0
/*Default number of image header cache entries. The cache is used to store the headers of images
*The main logic is like `LV_CACHE_DEF_SIZE` but for image headers.*/
#define LV_IMAGE_HEADER_CACHE_DEF_CNT 0
/*Number of stops allowed per gradient. Increase this to allow more stops.
*This adds (sizeof(lv_color_t) + 1) bytes per additional stop*/
#define LV_GRADIENT_MAX_STOPS 2