Home
last modified time | relevance | path

Searched refs:key_size (Results 1 – 7 of 7) sorted by relevance

/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_texture_cache.c125 size_t key_size; in lv_draw_sdl_texture_img_key_create() local
128 key_size = sizeof(header) + srclen; in lv_draw_sdl_texture_img_key_create()
129 key = SDL_malloc(key_size); in lv_draw_sdl_texture_img_key_create()
135 key_size = sizeof(header) + sizeof(void *); in lv_draw_sdl_texture_img_key_create()
136 key = SDL_malloc(key_size); in lv_draw_sdl_texture_img_key_create()
141 *size = key_size; in lv_draw_sdl_texture_img_key_create()
Dlv_draw_sdl_img.h72 …_img_load_texture(lv_draw_sdl_ctx_t * ctx, lv_draw_sdl_cache_key_head_img_t * key, size_t key_size,
Dlv_draw_sdl_img.c103 size_t key_size; in lv_draw_sdl_img_core() local
104 …ache_key_head_img_t * key = lv_draw_sdl_texture_img_key_create(src, draw_dsc->frame_id, &key_size); in lv_draw_sdl_img_core()
107 …SDL_Texture * texture = lv_draw_sdl_texture_cache_get_with_userdata(ctx, key, key_size, &texture_f… in lv_draw_sdl_img_core()
111 lv_draw_sdl_img_load_texture(ctx, key, key_size, src, draw_dsc->frame_id, &texture, &header, in lv_draw_sdl_img_core()
199 …_img_load_texture(lv_draw_sdl_ctx_t * ctx, lv_draw_sdl_cache_key_head_img_t * key, size_t key_size, in lv_draw_sdl_img_load_texture() argument
230 …*texture_in_cache = lv_draw_sdl_texture_cache_put_advanced(ctx, key, key_size, *texture, *header, … in lv_draw_sdl_img_load_texture()
235 *texture_in_cache = lv_draw_sdl_texture_cache_put(ctx, key, key_size, NULL); in lv_draw_sdl_img_load_texture()
Dlv_draw_sdl_rect.c554 size_t key_size; in draw_bg_img() local
555 …sdl_cache_key_head_img_t * key = lv_draw_sdl_texture_img_key_create(dsc->bg_img_src, 0, &key_size); in draw_bg_img()
558 …SDL_Texture * texture = lv_draw_sdl_texture_cache_get_with_userdata(ctx, key, key_size, &key_found, in draw_bg_img()
/lvgl-3.7.0/src/extra/libs/gif/
Dgifdec.c300 new_table(int key_size) in new_table() argument
303 int init_bulk = MAX(1 << (key_size + 1), 0x100); in new_table()
307 table->nentries = (1 << key_size) + 2; in new_table()
309 for (key = 0; key < (1 << key_size); key++) in new_table()
338 get_key(gd_GIF *gif, int key_size, uint8_t *sub_len, uint8_t *shift, uint8_t *byte) in get_key() argument
346 for (bits_read = 0; bits_read < key_size; bits_read += frag_size) { in get_key()
357 frag_size = MIN(key_size - bits_read, 8 - rpad); in get_key()
361 key &= (1 << key_size) - 1; in get_key()
362 *shift = (*shift + key_size) % 8; in get_key()
394 int init_key_size, key_size, table_is_full=0; in read_image_data() local
[all …]
/lvgl-3.7.0/src/misc/
Dlv_lru.h68 lv_lru_res_t lv_lru_get(lv_lru_t * cache, const void * key, size_t key_size, void ** value);
70 lv_lru_res_t lv_lru_remove(lv_lru_t * cache, const void * key, size_t key_size);
Dlv_lru.c189 lv_lru_res_t lv_lru_get(lv_lru_t * cache, const void * key, size_t key_size, void ** value) in lv_lru_get() argument
195 uint32_t hash_index = lv_lru_hash(cache, key, key_size); in lv_lru_get()
198 while(item && lv_lru_cmp_keys(item, key, key_size)) in lv_lru_get()
212 lv_lru_res_t lv_lru_remove(lv_lru_t * cache, const void * key, size_t key_size) in lv_lru_remove() argument
219 uint32_t hash_index = lv_lru_hash(cache, key, key_size); in lv_lru_remove()
222 while(item && lv_lru_cmp_keys(item, key, key_size)) { in lv_lru_remove()