Lines Matching +full:enum +full:- +full:as +full:- +full:flags
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
44 Additional flags may be posted in the ``flags`` field. Refer to a manual
48 case of multi-planar API, every plane is exported separately using
53 pass it to other DMABUF-aware devices. It is recommended to close a DMABUF
59 .. code-block:: c
61 int buffer_export(int v4lfd, enum dmx_buf_type bt, int index, int *dmafd)
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.
87 ``flags`` or ``index`` fields are invalid.