- 追加された行はこの色です。
- 削除された行はこの色です。
*参照元 [#la67c622]
#backlinks
*説明 [#e2cdca50]
-パス: [[linux-4.4.1/drivers/media/v4l2-core/v4l2-mem2mem.c]]
-FIXME: これは何?
--説明
**引数 [#md258b49]
-struct file *file
--
--[[linux-4.4.1/file]]
-struct v4l2_m2m_ctx *m2m_ctx
--
--[[linux-4.4.1/v4l2_m2m2_ctx]]
--[[linux-4.4.1/v4l2_m2m_ctx]]
-struct v4l2_exportbuffer *eb
--
--[[linux-4.4.1/v4l2_exportbuffer]]
**返り値 [#yf84eb13]
-int
--
**参考 [#f37fc13f]
*実装 [#j3bee15c]
/**
* v4l2_m2m_expbuf() - export a source or destination buffer, depending on
* the type
*/
int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
struct v4l2_exportbuffer *eb)
{
struct vb2_queue *vq;
-
--[[linux-4.4.1/vb2_queue]]
vq = v4l2_m2m_get_vq(m2m_ctx, eb->type);
return vb2_expbuf(vq, eb);
-
--[[linux-4.4.1/v4l2_m2m_get_vq()]]
--[[linux-4.4.1/vb2_expbuf()]]
}
EXPORT_SYMBOL_GPL(v4l2_m2m_expbuf);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#v3012cf8]