Home
last modified time | relevance | path

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

/hardware/samsung_slsi/exynos5/gralloc/
Dgralloc.cpp112 ionfd: -1,
129 static int gralloc_alloc_rgb(int ionfd, int w, int h, int format, int usage, in gralloc_alloc_rgb() argument
191 err = ion_alloc_fd(ionfd, size, alignment, heap_mask, ion_flags, in gralloc_alloc_rgb()
199 static int gralloc_alloc_framework_yuv(int ionfd, int w, int h, int format, in gralloc_alloc_framework_yuv() argument
221 err = ion_alloc_fd(ionfd, size, 0, heap_mask, ion_flags, &fd); in gralloc_alloc_framework_yuv()
229 static int gralloc_alloc_yuv(int ionfd, int w, int h, int format, in gralloc_alloc_yuv() argument
273 return gralloc_alloc_framework_yuv(ionfd, w, h, format, usage, in gralloc_alloc_yuv()
291 err = ion_alloc_fd(ionfd, luma_size, 0, heap_mask, ion_flags, &fd); in gralloc_alloc_yuv()
298 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd1); in gralloc_alloc_yuv()
302 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd2); in gralloc_alloc_yuv()
[all …]
Dmapper.cpp78 if (m->ionfd == -1) in getIonFd()
79 m->ionfd = ion_open(); in getIonFd()
80 return m->ionfd; in getIonFd()
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_SharedMemory.c275 OMX_PTR Exynos_OSAL_SharedMemory_Map(OMX_HANDLETYPE handle, OMX_U32 size, unsigned int ionfd) in Exynos_OSAL_SharedMemory_Map() argument
290 IONBuffer = (OMX_PTR)ionfd; in Exynos_OSAL_SharedMemory_Map()
331 void Exynos_OSAL_SharedMemory_Unmap(OMX_HANDLETYPE handle, unsigned int ionfd) in Exynos_OSAL_SharedMemory_Unmap() argument
349 if (pSMList->IONBuffer == ionfd) { in Exynos_OSAL_SharedMemory_Unmap()
354 (((EXYNOS_SHAREDMEM_LIST *)(pCurrentElement->pNextMemory))->IONBuffer != ionfd)) in Exynos_OSAL_SharedMemory_Unmap()
358 (((EXYNOS_SHAREDMEM_LIST *)(pCurrentElement->pNextMemory))->IONBuffer == ionfd)) { in Exynos_OSAL_SharedMemory_Unmap()
DExynos_OSAL_Android.cpp67 return m->ionfd; in getIonFd()
/hardware/samsung_slsi/exynos5/include/
Dgralloc_priv.h48 int ionfd; member