Searched refs:life (Results 1 – 2 of 2) sorted by relevance
77 if(cache[i].life > INT32_MIN + LV_IMG_CACHE_AGING) { in _lv_img_cache_open()78 cache[i].life -= LV_IMG_CACHE_AGING; in _lv_img_cache_open()99 cached_src->life += cached_src->dec_dsc.time_to_open * LV_IMG_CACHE_LIFE_GAIN; in _lv_img_cache_open()100 … if(cached_src->life > LV_IMG_CACHE_LIFE_LIMIT) cached_src->life = LV_IMG_CACHE_LIFE_LIMIT; in _lv_img_cache_open()111 if(cache[i].life < cached_src->life) { in _lv_img_cache_open()135 cached_src->life = INT32_MIN; /*Make the empty entry very "weak" to force its use */ in _lv_img_cache_open()139 cached_src->life = 0; in _lv_img_cache_open()
37 int32_t life; member