Home
last modified time | relevance | path

Searched refs:ionfd (Results 1 – 8 of 8) sorted by relevance

/hardware/samsung_slsi/exynos5/gralloc/
Dgralloc.cpp114 ionfd: -1,
131 static int gralloc_alloc_rgb(int ionfd, int w, int h, int format, int usage, in gralloc_alloc_rgb() argument
178 err = ion_alloc_fd(ionfd, size, alignment, heap_mask, ion_flags, in gralloc_alloc_rgb()
186 static int gralloc_alloc_framework_yuv(int ionfd, int w, int h, int format, in gralloc_alloc_framework_yuv() argument
207 err = ion_alloc_fd(ionfd, size, 0, 1 << ION_HEAP_TYPE_SYSTEM, in gralloc_alloc_framework_yuv()
216 static int gralloc_alloc_yuv(int ionfd, int w, int h, int format, in gralloc_alloc_yuv() argument
260 return gralloc_alloc_framework_yuv(ionfd, w, h, format, usage, in gralloc_alloc_yuv()
278 err = ion_alloc_fd(ionfd, luma_size, 0, heap_mask, ion_flags, &fd); in gralloc_alloc_yuv()
285 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd1); in gralloc_alloc_yuv()
289 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd2); in gralloc_alloc_yuv()
[all …]
Dmapper.cpp88 if (m->ionfd == -1) in getIonFd()
89 m->ionfd = ion_open(); in getIonFd()
90 return m->ionfd; in getIonFd()
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_SharedMemory.c276 OMX_PTR Exynos_OSAL_SharedMemory_Map(OMX_HANDLETYPE handle, OMX_U32 size, unsigned int ionfd) in Exynos_OSAL_SharedMemory_Map() argument
291 IONBuffer = (OMX_PTR)ionfd; in Exynos_OSAL_SharedMemory_Map()
332 void Exynos_OSAL_SharedMemory_Unmap(OMX_HANDLETYPE handle, unsigned int ionfd) in Exynos_OSAL_SharedMemory_Unmap() argument
350 if (pSMList->IONBuffer == ionfd) { in Exynos_OSAL_SharedMemory_Unmap()
355 (((EXYNOS_SHAREDMEM_LIST *)(pCurrentElement->pNextMemory))->IONBuffer != ionfd)) in Exynos_OSAL_SharedMemory_Unmap()
359 (((EXYNOS_SHAREDMEM_LIST *)(pCurrentElement->pNextMemory))->IONBuffer == ionfd)) { in Exynos_OSAL_SharedMemory_Unmap()
/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_preview.c238 … rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &(pme->preview_buf.frame[i].fd_data),
245 close(pme->ionfd);
285 pmem_addr = (unsigned long) my_cam_app.hal_lib.mm_camera_do_mmap_ion(pme->ionfd,
353 pme->ionfd = open("/dev/ion", O_RDONLY); in mm_stream_initbuf()
354 if (pme->ionfd < 0) { in mm_stream_initbuf()
377 bufs[i].buffer = mm_camera_do_mmap_ion(pme->ionfd, in mm_stream_initbuf()
489 rc = mm_camera_do_munmap_ion (pme->ionfd, &bufs[i].fd, in mm_stream_deinitbuf()
492 close(pme->ionfd); in mm_stream_deinitbuf()
Dmm_qcamera_video.c96 rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &(pme->video_buf.frame[i].fd_data),
142 pmem_addr = (unsigned long) my_cam_app.hal_lib.mm_camera_do_mmap_ion(pme->ionfd,
Dmm_qcamera_snapshot.c872 …rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &(pme->thumbnail_buf.frame[i].fd_data…
891 …rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &(pme->snapshot_buf.frame[i].fd_data),
943 pmem_addr = (unsigned long) my_cam_app.hal_lib.mm_camera_do_mmap_ion(pme->ionfd,
1017 pmem_addr = (unsigned long) my_cam_app.hal_lib.mm_camera_do_mmap_ion(pme->ionfd,
/hardware/samsung_slsi/exynos5/include/
Dgralloc_priv.h46 int ionfd; member
/hardware/qcom/camera/QCamera/stack/mm-camera-test/inc/
Dmm_qcamera_app.h100 int ionfd; member