*参照元 [#d74b43ff]
#backlinks

*説明 [#uefc2575]
-パス: [[linux-4.4.1/include/uapi/linux/videodev2.h]]

-FIXME: これは何?
--説明


**参考 [#l67059f1]


*実装 [#hf071831]
 /**
  * struct v4l2_exportbuffer - export of video buffer as DMABUF file descriptor
  *
  * @index:      id number of the buffer
  * @type:       enum v4l2_buf_type; buffer type (type == *_MPLANE for
  *              multiplanar buffers);
  * @plane:      index of the plane to be exported, 0 for single plane queues
  * @flags:      flags for newly created file, currently only O_CLOEXEC is
  *              supported, refer to manual of open syscall for more details
  * @fd:         file descriptor associated with DMABUF (set by driver)
  *
  * Contains data used for exporting a video buffer as DMABUF file descriptor.
  * The buffer is identified by a 'cookie' returned by VIDIOC_QUERYBUF
  * (identical to the cookie used to mmap() the buffer to userspace). All
  * reserved fields must be set to zero. The field reserved0 is expected to
  * become a structure 'type' allowing an alternative layout of the structure
  * content. Therefore this field should not be used for any other extensions.
  */
 struct v4l2_exportbuffer {
         __u32           type; /* enum v4l2_buf_type */
-
--[[linux-4.4.1/v4l2_buf_type]]

         __u32           index;
         __u32           plane;
         __u32           flags;
         __s32           fd;
         __u32           reserved[11];
 };


*コメント [#h6030b17]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS