参照元

説明

引数

返り値

参考

実装

/**
 * 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);
}
EXPORT_SYMBOL_GPL(vb2_core_querybuf);

コメント


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2016-02-09 (火) 10:27:11