*参照元 [#ud0298aa]
#backlinks

*説明 [#ud6eb154]
-パス: [[linux-4.4.1/drivers/media/v4l2-core/videobuf2-core.c]]

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


**引数 [#v7cc73a3]
-struct vb2_queue *q
--
--[[linux-4.4.1/vb2_queue]]
-unsigned int index
--
-void *pb
--


**返り値 [#vd18d3aa]
-int
--


**参考 [#p8087cab]


*実装 [#f89186e4]
 /**
  * vb2_core_querybuf() - query video buffer information
  * @q:          videobuf queue
  * @index:      id number of the buffer
  * @pb:         buffer struct passed from userspace
  *
  * Should be called from vidioc_querybuf ioctl handler in driver.
  * The passed buffer should have been verified.
  * This function fills the relevant information for the userspace.
  *
  * The return values from this function are intended to be directly returned
  * from vidioc_querybuf handler in driver.
  */
 int vb2_core_querybuf(struct vb2_queue *q, unsigned int index, void *pb)
 {
         return call_bufop(q, fill_user_buffer, q->bufs[index], pb);
-
--q->buf_ops->fill_user_buffer を呼び出す。
---q->buf_ops は const struct vb2_buf_ops * 型
---[[linux-4.4.1/vb2_buf_ops]]
--[[linux-4.4.1/call_bufop()]]

 }
 EXPORT_SYMBOL_GPL(vb2_core_querybuf);
-
--[[linux-4.4.1/]]


*コメント [#ube9dca1]


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