summaryrefslogtreecommitdiff
path: root/utests/utest_helper.hpp
diff options
context:
space:
mode:
authorChuanbo Weng <chuanbo.weng@intel.com>2014-03-06 00:08:15 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-03-10 14:53:30 +0800
commit15a1b5db83feec9e5e9484bdcd751b2fd0b9a079 (patch)
tree37a97ff5e4e05286e2afa6a0edcd6884c921227f /utests/utest_helper.hpp
parent081f98bc99eb5c37264e9f73f9633b6fd30248d1 (diff)
downloadbeignet-15a1b5db83feec9e5e9484bdcd751b2fd0b9a079.tar.gz
Add clGetMemObjectFdIntel() api
Use this api to share buffer between OpenCL and v4l2. After import the fd of OpenCL memory object to v4l2, v4l2 can directly read frame into this memory object by the way of DMABUF, without memory-copy. v2: Check return value of cl_buffer_get_fd Signed-off-by: Chuanbo Weng <chuanbo.weng@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'utests/utest_helper.hpp')
0 files changed, 0 insertions, 0 deletions