Пример #1
0
int v4l2_m2m_ioctl_expbuf(struct file *file, void *priv,
                          struct v4l2_exportbuffer *eb)
{
    struct v4l2_fh *fh = file->private_data;

    return v4l2_m2m_expbuf(file, fh->m2m_ctx, eb);
}
Пример #2
0
static int gsc_m2m_expbuf(struct file *file, void *fh,
				struct v4l2_exportbuffer *eb)
{
	struct gsc_ctx *ctx = fh_to_ctx(fh);
	return v4l2_m2m_expbuf(file, ctx->m2m_ctx, eb);
}