Home
last modified time | relevance | path

Searched refs:alloc_size (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gchips/gralloc4/src/libGralloc4Wrapper/
Dwrapper.cpp198 struct UnmapWork { void *base; size_t alloc_size; }; in freeImportedHandle() member
204 work[i].alloc_size = hnd->alloc_sizes[i]; in freeImportedHandle()
225 if (int ret = munmap(w.base, w.alloc_size); ret) in freeImportedHandle()
227 …pper: %s couldn't unmap address %p (size %zu): %s", __func__, w.base, w.alloc_size, strerror(ret)); in freeImportedHandle()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp6993 int alloc_size[MAX_NUM_INPUT_OUTPUT_BUFFERS] = {0}; in allocate_output_buffer() local
7012 alloc_size[idx] = drv_ctx.op_buf.buffer_size * cnt; in allocate_output_buffer()
7018 alloc_size[idx], in allocate_output_buffer()
7024 DEBUG_PRINT_LOW("Failed to allocate chunk %ul size = %d", idx, alloc_size[idx]); in allocate_output_buffer()
7028 … DEBUG_PRINT_LOW("Allocated chunk %ul fd = %ul size = %d", idx, pmem_fd[idx], alloc_size[idx]); in allocate_output_buffer()
7067 alloc_size[idx], in allocate_output_buffer()
7072 (unsigned int)alloc_size[idx], pmem_fd[idx]); in allocate_output_buffer()
7082 munmap(pmem_baseaddress_temp[idx], alloc_size[idx]); in allocate_output_buffer()
7178 drv_ctx.op_buf_map_info[i].map_size = alloc_size[block_idx]; in allocate_output_buffer()