linux/drivers/media/test-drivers/vivid/vivid-meta-out.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * vivid-meta-out.c - meta output support functions.
 */

#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
#include <linux/usb/video.h>

#include "vivid-core.h"
#include "vivid-kthread-out.h"
#include "vivid-meta-out.h"

static int meta_out_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers,
				unsigned int *nplanes, unsigned int sizes[],
				struct device *alloc_devs[])
{}

static int meta_out_buf_prepare(struct vb2_buffer *vb)
{}

static void meta_out_buf_queue(struct vb2_buffer *vb)
{}

static int meta_out_start_streaming(struct vb2_queue *vq, unsigned int count)
{}

/* abort streaming and wait for last buffer */
static void meta_out_stop_streaming(struct vb2_queue *vq)
{}

static void meta_out_buf_request_complete(struct vb2_buffer *vb)
{}

const struct vb2_ops vivid_meta_out_qops =;

int vidioc_enum_fmt_meta_out(struct file *file, void  *priv,
			     struct v4l2_fmtdesc *f)
{}

int vidioc_g_fmt_meta_out(struct file *file, void *priv,
			  struct v4l2_format *f)
{}

void vivid_meta_out_process(struct vivid_dev *dev,
			    struct vivid_buffer *buf)
{}