Searched refs:block_size (Results 1 – 2 of 2) sorted by relevance
/lvgl-latest/scripts/ |
D | jpg_to_sjpg.py | 40 block_size = JPEG_SPLIT_HEIGHT; variable 41 spilts = math.ceil(height/block_size) 51 if row_remaining < block_size: 52 crop = im.crop((0, i*block_size, width, row_remaining + i*block_size)) 54 crop = im.crop((0, i*block_size, width, block_size + i*block_size)) 56 row_remaining = row_remaining - block_size;
|
/lvgl-latest/src/misc/ |
D | lv_tlsf.c | 381 static size_t block_size(const block_header_t * block) in block_size() function 394 return block_size(block) == 0; in block_is_last() 456 block_size(block) - block_header_overhead); in block_next() 635 mapping_insert(block_size(block), &fl, &sl); in block_remove() 643 mapping_insert(block_size(block), &fl, &sl); in block_insert() 649 return block_size(block) >= sizeof(block_header_t) + size; in block_can_split() 659 const size_t remain_size = block_size(block) - (size + block_header_overhead); in block_split() 664 tlsf_assert(block_size(block) == remain_size + size + block_header_overhead); in block_split() 666 tlsf_assert(block_size(remaining) >= block_size_min && "block split with invalid size"); in block_split() 679 prev->size += block_size(block) + block_header_overhead; in block_absorb() [all …]
|