/hardware/qcom/sdm845/display/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/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/sm8150/display/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 37 static void free_ion_cookie(int ion_fd, int cookie) in free_ion_cookie() argument 40 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &cookie)) { in free_ion_cookie() 42 ALOGE("ION_IOC_FREE failed: ion_fd = %d, cookie = %d", ion_fd, cookie); in free_ion_cookie() 47 static int get_ion_cookie(int ion_fd, int fd) in get_ion_cookie() argument 56 if (ion_fd && !ioctl(ion_fd, ION_IOC_IMPORT, &fdData)) { in get_ion_cookie() 59 ALOGE("ION_IOC_IMPORT failed: ion_fd = %d, fd = %d", ion_fd, fd); in get_ion_cookie() 94 free_ion_cookie(ion_fd, buffInt /* cookie */); in operator ()() 116 ion_fd = open("/dev/ion", O_RDONLY); in EGLImageWrapper() 117 callback->ion_fd = ion_fd; in EGLImageWrapper() 141 if (ion_fd > 0) { in ~EGLImageWrapper() [all …]
|
D | EGLImageWrapper.h | 41 int ion_fd = -1; variable 49 int ion_fd = -1; 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/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/sdm845/media/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 516 int venc_get_index_from_fd(OMX_U32 ion_fd, OMX_U32 buffer_fd);
|
/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/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 4598 int venc_dev::venc_get_index_from_fd(OMX_U32 ion_fd, OMX_U32 buffer_fd) in venc_get_index_from_fd() argument 4605 if (ion_fd && !ioctl(ion_fd, ION_IOC_IMPORT, &fdData)) { in venc_get_index_from_fd() 4613 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &fdData.handle)) { in venc_get_index_from_fd()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 4537 int venc_dev::venc_get_index_from_fd(OMX_U32 ion_fd, OMX_U32 buffer_fd) in venc_get_index_from_fd() argument 4544 if (ion_fd && !ioctl(ion_fd, ION_IOC_IMPORT, &fdData)) { in venc_get_index_from_fd() 4552 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &fdData.handle)) { in venc_get_index_from_fd()
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 13010 int rc, ion_fd = ion_open(); in prefetch_buffers() local 13011 if (ion_fd < 0) { in prefetch_buffers() 13012 DEBUG_PRINT_ERROR("%s: Ion fd open failed : %d", __func__, ion_fd); in prefetch_buffers() 13038 rc = ioctl(ion_fd, ioctl_code, &prefetch_data); in prefetch_buffers() 13047 close(ion_fd); in prefetch_buffers()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 12378 int ion_fd = open(MEM_DEVICE, O_RDONLY); in prefetchNewBuffers() local 12379 if (ion_fd < 0) { in prefetchNewBuffers() 12380 DEBUG_PRINT_ERROR("Ion fd open failed : %d\n", ion_fd); in prefetchNewBuffers() 12409 rc = ioctl(ion_fd, ION_IOC_CUSTOM, custom_data); in prefetchNewBuffers() 12415 close(ion_fd); in prefetchNewBuffers()
|