Lines Matching +full:allow +full:- +full:set +full:- +full:time
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 DMX_EXPBUF - Export a buffer as a DMABUF file descriptor.
37 It can be used to export a buffer as a DMABUF file at any time after
41 Applications must set the ``index`` field. Valid index numbers
47 All other fields must be set to zero. In the
48 case of multi-planar API, every plane is exported separately using
51 After calling :ref:`DMX_EXPBUF` the ``fd`` field will be set by a
53 pass it to other DMABUF-aware devices. It is recommended to close a DMABUF
54 file when it is no longer used to allow the associated memory to be reclaimed.
59 .. code-block:: c
68 if (ioctl(v4lfd, DMX_EXPBUF, &expbuf) == -1) {
70 return -1;
81 On success 0 is returned, on error -1 and the ``errno`` variable is set
83 :ref:`Generic Error Codes <gen-errors>` chapter.