/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 28 void free_ion_cookie(int ion_fd, int cookie) in free_ion_cookie() argument 31 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &cookie)) { in free_ion_cookie() 33 ALOGE("ION_IOC_FREE failed: ion_fd = %d, cookie = %d", ion_fd, cookie); in free_ion_cookie() 38 int get_ion_cookie(int ion_fd, int fd) in get_ion_cookie() argument 47 if (ion_fd && !ioctl(ion_fd, ION_IOC_IMPORT, &fdData)) { in get_ion_cookie() 50 ALOGE("ION_IOC_IMPORT failed: ion_fd = %d, fd = %d", ion_fd, fd); in get_ion_cookie() 60 ion_fd = fd; in DeleteEGLImageCallback() 67 free_ion_cookie(ion_fd, k); in operator ()() 79 ion_fd = open("/dev/ion", O_RDONLY); in EGLImageWrapper() 80 callback = new DeleteEGLImageCallback(ion_fd); in EGLImageWrapper() [all …]
|
D | EGLImageWrapper.h | 31 int ion_fd; 33 DeleteEGLImageCallback(int ion_fd); 39 int ion_fd; variable
|
/hardware/qcom/display/msm8909/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 28 void free_ion_cookie(int ion_fd, int cookie) in free_ion_cookie() argument 31 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &cookie)) { in free_ion_cookie() 33 ALOGE("ION_IOC_FREE failed: ion_fd = %d, cookie = %d", ion_fd, cookie); in free_ion_cookie() 38 int get_ion_cookie(int ion_fd, int fd) in get_ion_cookie() argument 47 if (ion_fd && !ioctl(ion_fd, ION_IOC_IMPORT, &fdData)) { in get_ion_cookie() 50 ALOGE("ION_IOC_IMPORT failed: ion_fd = %d, fd = %d", ion_fd, fd); in get_ion_cookie() 60 ion_fd = fd; in DeleteEGLImageCallback() 67 free_ion_cookie(ion_fd, k); in operator ()() 79 ion_fd = open("/dev/ion", O_RDONLY); in EGLImageWrapper() 80 callback = new DeleteEGLImageCallback(ion_fd); in EGLImageWrapper() [all …]
|
D | EGLImageWrapper.h | 31 int ion_fd; 33 DeleteEGLImageCallback(int ion_fd); 39 int ion_fd; variable
|
/hardware/qcom/display/msm8998/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 28 void free_ion_cookie(int ion_fd, int cookie) in free_ion_cookie() argument 31 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &cookie)) { in free_ion_cookie() 33 ALOGE("ION_IOC_FREE failed: ion_fd = %d, cookie = %d", ion_fd, cookie); in free_ion_cookie() 38 int get_ion_cookie(int ion_fd, int fd) in get_ion_cookie() argument 47 if (ion_fd && !ioctl(ion_fd, ION_IOC_IMPORT, &fdData)) { in get_ion_cookie() 50 ALOGE("ION_IOC_IMPORT failed: ion_fd = %d, fd = %d", ion_fd, fd); in get_ion_cookie() 60 ion_fd = fd; in DeleteEGLImageCallback() 67 free_ion_cookie(ion_fd, k); in operator ()() 79 ion_fd = open("/dev/ion", O_RDONLY); in EGLImageWrapper() 80 callback = new DeleteEGLImageCallback(ion_fd); in EGLImageWrapper() [all …]
|
D | EGLImageWrapper.h | 31 int ion_fd; 33 DeleteEGLImageCallback(int ion_fd); 39 int ion_fd; variable
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_ionbuf.c | 66 p_buffer->ion_fd = open("/dev/ion", O_RDONLY); in buffer_allocate() 67 if(p_buffer->ion_fd < 0) { in buffer_allocate() 74 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); in buffer_allocate() 82 lrc = ioctl(p_buffer->ion_fd, ION_IOC_SHARE, in buffer_allocate() 104 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); in buffer_allocate() 134 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); in buffer_deallocate() 136 close(p_buffer->ion_fd); in buffer_deallocate() 167 lrc = ioctl(p_buffer->ion_fd, ION_IOC_CUSTOM, &custom_data); in buffer_invalidate() 201 lrc = ioctl(p_buffer->ion_fd, ION_IOC_CUSTOM, &custom_data); in buffer_clean()
|
/hardware/qcom/keymaster/ |
D | keymaster_qcom.cpp | 56 int32_t ion_fd; member 200 int32_t ion_fd; in qcom_km_ION_memalloc() local 212 ion_fd = open("/dev/ion", O_RDONLY | O_DSYNC); in qcom_km_ION_memalloc() 213 if (ion_fd < 0) { in qcom_km_ION_memalloc() 233 rc = ioctl(ion_fd, ION_IOC_ALLOC, &ion_alloc_data); in qcom_km_ION_memalloc() 246 rc = ioctl(ion_fd, ION_IOC_MAP, &ifd_data); in qcom_km_ION_memalloc() 261 handle->ion_fd = ion_fd; in qcom_km_ION_memalloc() 279 iret = ioctl(ion_fd, ION_IOC_FREE, &handle_data); in qcom_km_ION_memalloc() 285 if (ion_fd > 0) in qcom_km_ION_memalloc() 286 close(ion_fd); in qcom_km_ION_memalloc() [all …]
|
/hardware/intel/img/psb_video/src/ |
D | psb_surface_attrib.c | 655 int ion_fd = 0; in psb_CreateSurfaceFromION() local 669 ion_fd = open("/dev/ion", O_RDWR); in psb_CreateSurfaceFromION() 670 if (ion_fd < 0) { in psb_CreateSurfaceFromION() 678 ion_ret = ioctl(ion_fd, ION_IOC_IMPORT, &ion_source_share); in psb_CreateSurfaceFromION() 680 close(ion_fd); in psb_CreateSurfaceFromION() 692 close(ion_fd); in psb_CreateSurfaceFromION() 700 close(ion_fd); in psb_CreateSurfaceFromION() 720 close(ion_fd); in psb_CreateSurfaceFromION() 734 close(ion_fd); in psb_CreateSurfaceFromION() 748 close(ion_fd); in psb_CreateSurfaceFromION() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_ionbuf.h | 44 int ion_fd; member
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
D | QCameraHAL3VideoTest.cpp | 191 ioctl(mVideoMeminfo.ion_fd, ION_IOC_FREE, &mVideoMeminfo.ion_handle); in videoTestEnd() 192 close(mVideoMeminfo.ion_fd); in videoTestEnd() 193 mVideoMeminfo.ion_fd = -1; in videoTestEnd()
|
D | QCameraHAL3PreviewTest.cpp | 212 ioctl(mPreviewMeminfo.ion_fd, ION_IOC_FREE, &mPreviewMeminfo.ion_handle); in previewTestEnd() 213 close(mPreviewMeminfo.ion_fd); in previewTestEnd() 214 mPreviewMeminfo.ion_fd = -1; in previewTestEnd()
|
D | QCameraHAL3SnapshotTest.cpp | 157 ioctl(mCaptureMemInfo.ion_fd, ION_IOC_FREE, &mCaptureMemInfo.ion_handle); in snapshotTestEnd() 158 close(mCaptureMemInfo.ion_fd); in snapshotTestEnd() 159 mCaptureMemInfo.ion_fd = -1; in snapshotTestEnd()
|
D | QCameraHAL3RawSnapshotTest.cpp | 158 ioctl(mRawCaptureMemInfo.ion_fd, ION_IOC_FREE, &mRawCaptureMemInfo.ion_handle); in rawTestEnd() 159 close(mRawCaptureMemInfo.ion_fd); in rawTestEnd() 160 mRawCaptureMemInfo.ion_fd = -1; in rawTestEnd()
|
D | QCameraHAL3Base.h | 98 int ion_fd; member
|
D | QCameraHAL3Test.cpp | 127 req_meminfo->ion_fd = main_ion_fd; in allocateBuffers()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 564 int venc_get_index_from_fd(OMX_U32 ion_fd, OMX_U32 buffer_fd);
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 13572 int ion_fd = open(MEM_DEVICE, O_RDONLY); in prefetchNewBuffers() local 13573 if (ion_fd < 0) { in prefetchNewBuffers() 13574 DEBUG_PRINT_ERROR("Ion fd open failed : %d\n", ion_fd); in prefetchNewBuffers() 13603 rc = ioctl(ion_fd, ION_IOC_CUSTOM, custom_data); in prefetchNewBuffers() 13609 close(ion_fd); in prefetchNewBuffers()
|