/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 66 mMemInfo[i].main_ion_fd = 0; in QCamera3Memory() 130 mMemInfo[index].main_ion_fd); in cacheOpsInternal() 131 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal() 354 int main_ion_fd = 0; in allocOneBuffer() local 356 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer() 357 if (main_ion_fd < 0) { in allocOneBuffer() 369 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in allocOneBuffer() 378 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 384 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer() 393 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() [all …]
|
D | QCamera3Mem.h | 70 int main_ion_fd; member
|
/device/lge/bullhead/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 66 mMemInfo[i].main_ion_fd = -1; in QCamera3Memory() 131 mMemInfo[index].main_ion_fd); in cacheOpsInternal() 132 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal() 304 int main_ion_fd = -1; in allocOneBuffer() local 306 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer() 307 if (main_ion_fd < 0) { in allocOneBuffer() 319 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &allocData); in allocOneBuffer() 328 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 334 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer() 343 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() [all …]
|
D | QCamera3Mem.h | 82 int main_ion_fd; member
|
/device/huawei/angler/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 66 mMemInfo[i].main_ion_fd = -1; in QCamera3Memory() 131 mMemInfo[index].main_ion_fd); in cacheOpsInternal() 132 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal() 304 int main_ion_fd = -1; in allocOneBuffer() local 306 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer() 307 if (main_ion_fd < 0) { in allocOneBuffer() 319 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &allocData); in allocOneBuffer() 328 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 334 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer() 343 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() [all …]
|
D | QCamera3Mem.h | 82 int main_ion_fd; member
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 128 mMemInfo[index].main_ion_fd); in cacheOpsInternal() 129 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal() 333 int main_ion_fd = 0; in allocOneBuffer() local 335 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer() 336 if (main_ion_fd < 0) { in allocOneBuffer() 358 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in allocOneBuffer() 366 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 372 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer() 386 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() 388 close(main_ion_fd); in allocOneBuffer() [all …]
|
D | QCameraMem.h | 82 int main_ion_fd; member
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 135 mMemInfo[index].main_ion_fd); in cacheOpsInternal() 136 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal() 211 mMemInfo[i].main_ion_fd = -1; in reset() 473 int main_ion_fd = -1; in allocOneBuffer() local 475 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer() 476 if (main_ion_fd < 0) { in allocOneBuffer() 498 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in allocOneBuffer() 506 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 512 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer() 526 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() [all …]
|
D | QCameraMem.h | 102 int main_ion_fd; member
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 135 mMemInfo[index].main_ion_fd); in cacheOpsInternal() 136 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal() 211 mMemInfo[i].main_ion_fd = -1; in reset() 473 int main_ion_fd = -1; in allocOneBuffer() local 475 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer() 476 if (main_ion_fd < 0) { in allocOneBuffer() 498 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in allocOneBuffer() 506 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 512 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer() 526 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() [all …]
|
D | QCameraMem.h | 102 int main_ion_fd; member
|
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 913 camHal->previewMem.mem_info[cnt].main_ion_fd = in initDisplayBuffers() 915 if (camHal->previewMem.mem_info[cnt].main_ion_fd < 0) { in initDisplayBuffers() 921 if (ioctl(camHal->previewMem.mem_info[cnt].main_ion_fd, in initDisplayBuffers() 1013 if (ioctl(camHal->previewMem.mem_info[cnt].main_ion_fd, in deInitDisplayBuffers() 1017 close(camHal->previewMem.mem_info[cnt].main_ion_fd); in deInitDisplayBuffers() 1661 mem_info->main_ion_fd); in cache_ops() 1662 if(mem_info->main_ion_fd > 0) { in cache_ops() 1663 if(ioctl(mem_info->main_ion_fd, ION_IOC_CUSTOM, &custom_data) < 0) { in cache_ops() 2674 int main_ion_fd = 0; in allocate_ion_memory() local 2676 main_ion_fd = open("/dev/ion", O_RDONLY); in allocate_ion_memory() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 118 int main_ion_fd = -1; in mm_app_allocate_ion_memory() local 121 main_ion_fd = open("/dev/ion", O_RDONLY); in mm_app_allocate_ion_memory() 122 if (main_ion_fd <= 0) { in mm_app_allocate_ion_memory() 134 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in mm_app_allocate_ion_memory() 142 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() 159 buf->mem_info.main_ion_fd = main_ion_fd; in mm_app_allocate_ion_memory() 169 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_allocate_ion_memory() 171 close(main_ion_fd); in mm_app_allocate_ion_memory() 188 if (buf->mem_info.main_ion_fd >= 0) { in mm_app_deallocate_ion_memory() 191 ioctl(buf->mem_info.main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_deallocate_ion_memory() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 118 int main_ion_fd = -1; in mm_app_allocate_ion_memory() local 121 main_ion_fd = open("/dev/ion", O_RDONLY); in mm_app_allocate_ion_memory() 122 if (main_ion_fd <= 0) { in mm_app_allocate_ion_memory() 134 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in mm_app_allocate_ion_memory() 142 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() 159 buf->mem_info.main_ion_fd = main_ion_fd; in mm_app_allocate_ion_memory() 169 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_allocate_ion_memory() 171 close(main_ion_fd); in mm_app_allocate_ion_memory() 188 if (buf->mem_info.main_ion_fd >= 0) { in mm_app_deallocate_ion_memory() 191 ioctl(buf->mem_info.main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_deallocate_ion_memory() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 118 int main_ion_fd = 0; in mm_app_allocate_ion_memory() local 121 main_ion_fd = open("/dev/ion", O_RDONLY); in mm_app_allocate_ion_memory() 122 if (main_ion_fd <= 0) { in mm_app_allocate_ion_memory() 134 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in mm_app_allocate_ion_memory() 142 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() 159 buf->mem_info.main_ion_fd = main_ion_fd; in mm_app_allocate_ion_memory() 169 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_allocate_ion_memory() 171 close(main_ion_fd); in mm_app_allocate_ion_memory() 188 if (buf->mem_info.main_ion_fd > 0) { in mm_app_deallocate_ion_memory() 191 ioctl(buf->mem_info.main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_deallocate_ion_memory() [all …]
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI.cpp | 2857 int main_ion_fd = 0; in allocate_ion_memory() local 2859 main_ion_fd = open("/dev/ion", O_RDONLY); in allocate_ion_memory() 2860 if (main_ion_fd <= 0) { in allocate_ion_memory() 2872 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in allocate_ion_memory() 2880 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocate_ion_memory() 2886 mem_info->main_ion_fd = main_ion_fd; in allocate_ion_memory() 2895 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocate_ion_memory() 2897 close(main_ion_fd); in allocate_ion_memory() 2912 if (mem_info->main_ion_fd > 0) { in deallocate_ion_memory() 2915 ioctl(mem_info->main_ion_fd, ION_IOC_FREE, &handle_data); in deallocate_ion_memory() [all …]
|
D | QCameraHWI_Preview.cpp | 155 mHalCamCtrl->mPreviewMemory.mem_info[cnt].main_ion_fd = open("/dev/ion", O_RDONLY); in getBufferFromSurface() 156 if (mHalCamCtrl->mPreviewMemory.mem_info[cnt].main_ion_fd < 0) { in getBufferFromSurface() 161 if (ioctl(mHalCamCtrl->mPreviewMemory.mem_info[cnt].main_ion_fd, in getBufferFromSurface() 207 … if (ioctl(mHalCamCtrl->mPreviewMemory.mem_info[cnt].main_ion_fd, ION_IOC_FREE, &ion_handle) < 0) { in putBufferToSurface() 210 close(mHalCamCtrl->mPreviewMemory.mem_info[cnt].main_ion_fd); in putBufferToSurface()
|
/device/moto/shamu/camera/QCamera/HAL2/core/inc/ |
D | QCameraStream.h | 74 int main_ion_fd[MM_CAMERA_MAX_NUM_FRAMES]; member
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 162 int main_ion_fd; member
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 162 int main_ion_fd; member
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 162 int main_ion_fd; member
|
/device/moto/shamu/camera/QCamera/HAL/core/inc/ |
D | QCameraHWI.h | 147 int main_ion_fd; member
|