Lines Matching refs:block
18 #define VIDEO_COMMON_FREE(block) shared_multi_heap_free(block) argument
23 #define VIDEO_COMMON_FREE(block) k_heap_free(&video_buffer_pool, block) argument
37 struct mem_block *block; in video_buffer_aligned_alloc() local
44 block = &video_block[i]; in video_buffer_aligned_alloc()
54 block->data = VIDEO_COMMON_HEAP_ALLOC(align, size, timeout); in video_buffer_aligned_alloc()
55 if (block->data == NULL) { in video_buffer_aligned_alloc()
59 vbuf->buffer = block->data; in video_buffer_aligned_alloc()
73 struct mem_block *block = NULL; in video_buffer_release() local
79 block = &video_block[i]; in video_buffer_release()
85 if (block) { in video_buffer_release()
86 VIDEO_COMMON_FREE(block->data); in video_buffer_release()