Home
last modified time | relevance | path

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

/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c81 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle; in buffer_allocate()
83 &p_buffer->ion_info_fd); in buffer_allocate()
89 p_buffer->p_pmem_fd = p_buffer->ion_info_fd.fd; in buffer_allocate()
103 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_allocate()
131 close(p_buffer->ion_info_fd.fd); in buffer_deallocate()
133 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_deallocate()
161 cache_inv_data.fd = p_buffer->ion_info_fd.fd; in buffer_invalidate()
162 cache_inv_data.handle = p_buffer->ion_info_fd.handle; in buffer_invalidate()
Dmm_jpeg.c2367 p_session->work_buffer.ion_info_fd.fd = p_jobparams->work_buf.fd; in mm_jpeg_start_job()
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Mem.cpp309 struct ion_fd_data ion_info_fd; in allocOneBuffer() local
330 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocOneBuffer()
331 ion_info_fd.handle = allocData.handle; in allocOneBuffer()
332 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer()
338 memInfo.fd = ion_info_fd.fd; in allocOneBuffer()
339 memInfo.handle = ion_info_fd.handle; in allocOneBuffer()
345 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
780 struct ion_fd_data ion_info_fd; in registerBuffer() local
787 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in registerBuffer()
817 ion_info_fd.fd = mPrivateHandle[idx]->fd; in registerBuffer()
[all …]
/device/google/marlin/camera/QCamera2/HAL/
DQCameraMem.cpp466 struct ion_fd_data ion_info_fd; in allocOneBuffer() local
498 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocOneBuffer()
499 ion_info_fd.handle = alloc.handle; in allocOneBuffer()
500 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer()
507 memInfo.fd = ion_info_fd.fd; in allocOneBuffer()
508 memInfo.handle = ion_info_fd.handle; in allocOneBuffer()
519 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
1880 struct ion_fd_data ion_info_fd; in displayBuffer() local
1881 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in displayBuffer()
1882 ion_info_fd.fd = mPrivateHandle[dequeuedIdx]->fd; in displayBuffer()
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_ionbuf.h40 struct ion_fd_data ion_info_fd; member
/device/google/marlin/camera/usbcamcore/src/
DQualcommUsbCamera.cpp758 struct ion_fd_data ion_info_fd; in initDisplayBuffers() local
918 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in initDisplayBuffers()
919 ion_info_fd.fd = in initDisplayBuffers()
922 ION_IOC_IMPORT, &ion_info_fd) < 0) { in initDisplayBuffers()
930 camHal->previewMem.mem_info[cnt].handle = ion_info_fd.handle; in initDisplayBuffers()
2673 struct ion_fd_data ion_info_fd; in allocate_ion_memory() local
2695 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocate_ion_memory()
2696 ion_info_fd.handle = alloc.handle; in allocate_ion_memory()
2697 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocate_ion_memory()
2704 mem_info->fd = ion_info_fd.fd; in allocate_ion_memory()
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c126 struct ion_fd_data ion_info_fd; in mm_app_allocate_ion_memory() local
149 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in mm_app_allocate_ion_memory()
150 ion_info_fd.handle = alloc.handle; in mm_app_allocate_ion_memory()
151 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory()
161 ion_info_fd.fd, in mm_app_allocate_ion_memory()
169 buf->mem_info.fd = ion_info_fd.fd; in mm_app_allocate_ion_memory()
170 buf->mem_info.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()
177 handle_data.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()