lv_image_cache.h
Functions
-
void lv_image_cache_drop(const void *src)
Invalidate image cache. Use NULL to invalidate all images.
- Parameters:
src -- pointer to an image source.
-
void lv_image_cache_resize(uint32_t new_size, bool evict_now)
Resize image cache.
- Parameters:
new_size -- new size of the cache in bytes.
evict_now -- true: evict the images should be removed by the eviction policy, false: wait for the next cache cleanup.
-
void lv_image_header_cache_drop(const void *src)
Invalidate image header cache. Use NULL to invalidate all image headers. It's also automatically called when an image is invalidated.
- Parameters:
src -- pointer to an image source.
-
void lv_image_header_cache_resize(uint32_t new_size, bool evict_now)
Resize image header cache.
- Parameters:
new_size -- new size of the cache in count of image headers.
evict_now -- true: evict the image headers should be removed by the eviction policy, false: wait for the next cache cleanup.