#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/videodev2.h>
#include <media/v4l2-ioctl.h>
#include <media/videobuf2-v4l2.h>
#include <media/videobuf2-vmalloc.h>
#include "uvcvideo.h"
static int uvc_meta_v4l2_querycap(struct file *file, void *fh,
struct v4l2_capability *cap)
{ … }
static int uvc_meta_v4l2_get_format(struct file *file, void *fh,
struct v4l2_format *format)
{ … }
static int uvc_meta_v4l2_try_format(struct file *file, void *fh,
struct v4l2_format *format)
{ … }
static int uvc_meta_v4l2_set_format(struct file *file, void *fh,
struct v4l2_format *format)
{ … }
static int uvc_meta_v4l2_enum_formats(struct file *file, void *fh,
struct v4l2_fmtdesc *fdesc)
{ … }
static const struct v4l2_ioctl_ops uvc_meta_ioctl_ops = …;
static const struct v4l2_file_operations uvc_meta_fops = …;
int uvc_meta_register(struct uvc_streaming *stream)
{ … }