Home
last modified time | relevance | path

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

/hardware/samsung_slsi/exynos5/include/
Dgralloc_priv.h81 int fd1; member
113 fd(fd), fd1(-1), fd2(-1), magic(sMagic), flags(flags), size(size), in private_handle_t()
123 private_handle_t(int fd, int fd1, int size, int flags, int w, 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.cpp101 if (hnd->fd1 >= 0) { in gralloc_register_buffer()
102 ret = ion_import(getIonFd(module), hnd->fd1, &hnd->handle1); in gralloc_register_buffer()
104 ALOGE("error importing handle1 %d %x\n", hnd->fd1, hnd->format); in gralloc_register_buffer()
167 if (hnd->fd1 >= 0) in gralloc_unlock()
168 ion_sync_fd(getIonFd(module), hnd->fd1); in gralloc_unlock()
Dgralloc.cpp234 int err, planes, fd, fd1, fd2 = 0; in gralloc_alloc_yuv() local
298 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd1); in gralloc_alloc_yuv()
306 *hnd = new private_handle_t(fd, fd1, fd2, luma_size, usage, w, h, in gralloc_alloc_yuv()
309 *hnd = new private_handle_t(fd, fd1, luma_size, usage, w, h, format, in gralloc_alloc_yuv()
326 close(fd1); in gralloc_alloc_yuv()
371 if (hnd->fd1 >= 0) in gralloc_alloc()
372 close(hnd->fd1); in gralloc_alloc()
391 if (hnd->fd1 >= 0) in gralloc_free()
392 close(hnd->fd1); 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
431 ret = ion_share(pCompPrv->ion_fd, handle, &fd1); in CameraSetParam()
438 pVtcConfig->IonBufhdl[0] = (OMX_PTR)(fd1); in CameraSetParam()
463 close(fd1); in CameraSetParam()
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Android.cpp112 vplanes[1].fd = priv_hnd->fd1; in Exynos_OSAL_LockANBHandle()
360 if (priv_hnd->fd1 >= 0) { in Exynos_OSAL_RefANB_Increase()
361 ion_incRef(getIonFd(module), priv_hnd->fd1, &pIonHandle1); in Exynos_OSAL_RefANB_Increase()
378 phREF->SharedBuffer[i].BufferFd1 = priv_hnd->fd1; in Exynos_OSAL_RefANB_Increase()
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/include/
DExynosVideoApi.h115 int fd1; member
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCameraHWInterface2.cpp2061 currentBuf.fd.extFd[1] = priv_handle->fd1; in registerStreamBuffers()
2065 currentBuf.fd.extFd[1] = priv_handle->fd1; in registerStreamBuffers()
2137 v4l2_buf.m.planes[1].m.fd = priv_handle->fd1; in registerStreamBuffers()
2139 currentBuf.fd.extFd[1] = priv_handle->fd1; in registerStreamBuffers()
2143 v4l2_buf.m.planes[2].m.fd = priv_handle->fd1; in registerStreamBuffers()
2146 currentBuf.fd.extFd[2] = priv_handle->fd1; in registerStreamBuffers()
4019 v4l2_buf.m.planes[2].m.fd = priv_handle->fd1; in m_streamFunc_direct()
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp1142 src_cfg.vaddr = src_handle->fd1; in exynos5_config_gsc_m2m()
1144 src_cfg.uaddr = src_handle->fd1; in exynos5_config_gsc_m2m()
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
DExynos_OMX_Vdec.c1301 pBufferInfo->PDSB.dpbFD[i].fd1 = -1; in Exynos_OMX_VideoDecodeComponentInit()