Home
last modified time | relevance | path

Searched refs:fd2 (Results 1 – 9 of 9) sorted by relevance

/hardware/samsung_slsi/exynos5/include/
Dgralloc_priv.h82 int fd2; member
113 fd(fd), fd1(-1), fd2(-1), magic(sMagic), flags(flags), size(size), in private_handle_t()
125 fd(fd), fd1(fd1), fd2(-1), magic(sMagic), flags(flags), size(size), in private_handle_t()
135 private_handle_t(int fd, int fd1, int fd2, int size, int flags, int w, in private_handle_t()
137 fd(fd), fd1(fd1), fd2(fd2), magic(sMagic), flags(flags), size(size), in private_handle_t()
/hardware/samsung_slsi/exynos5/gralloc/
Dmapper.cpp106 if (hnd->fd2 >= 0) { in gralloc_register_buffer()
107 ret = ion_import(getIonFd(module), hnd->fd2, &hnd->handle2); in gralloc_register_buffer()
109 ALOGE("error importing handle2 %d %x\n", hnd->fd2, hnd->format); in gralloc_register_buffer()
169 if (hnd->fd2 >= 0) in gralloc_unlock()
170 ion_sync_fd(getIonFd(module), hnd->fd2); in gralloc_unlock()
Dgralloc.cpp234 int err, planes, fd, fd1, fd2 = 0; in gralloc_alloc_yuv() local
302 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd2); in gralloc_alloc_yuv()
306 *hnd = new private_handle_t(fd, fd1, fd2, luma_size, usage, w, h, in gralloc_alloc_yuv()
373 if (hnd->fd2 >= 0) in gralloc_alloc()
374 close(hnd->fd2); in gralloc_alloc()
393 if (hnd->fd2 >= 0) in gralloc_free()
394 close(hnd->fd2); in gralloc_free()
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_camera/src/
Domx_proxy_camera.c409 int fd1 = -1, fd2 = -1; in CameraSetParam() local
448 ret = ion_share(pCompPrv->ion_fd, handle, &fd2); in CameraSetParam()
455 pVtcConfig->IonBufhdl[1] = (OMX_PTR)(fd2); in CameraSetParam()
464 close(fd2); in CameraSetParam()
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Android.cpp115 vplanes[2].fd = priv_hnd->fd2; in Exynos_OSAL_LockANBHandle()
363 if (priv_hnd->fd2 >= 0) { in Exynos_OSAL_RefANB_Increase()
364 ion_incRef(getIonFd(module), priv_hnd->fd2, &pIonHandle2); in Exynos_OSAL_RefANB_Increase()
379 phREF->SharedBuffer[i].BufferFd2 = priv_hnd->fd2; in Exynos_OSAL_RefANB_Increase()
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/include/
DExynosVideoApi.h116 int fd2; member
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp1141 src_cfg.uaddr = src_handle->fd2; in exynos5_config_gsc_m2m()
1145 src_cfg.vaddr = src_handle->fd2; in exynos5_config_gsc_m2m()
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
DExynos_OMX_Vdec.c1302 pBufferInfo->PDSB.dpbFD[i].fd2 = -1; in Exynos_OMX_VideoDecodeComponentInit()
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCameraHWInterface2.cpp2066 currentBuf.fd.extFd[2] = priv_handle->fd2; in registerStreamBuffers()
2144 v4l2_buf.m.planes[1].m.fd = priv_handle->fd2; in registerStreamBuffers()
2147 currentBuf.fd.extFd[1] = priv_handle->fd2; in registerStreamBuffers()
4020 v4l2_buf.m.planes[1].m.fd = priv_handle->fd2; in m_streamFunc_direct()