xref: /openbmc/linux/drivers/media/test-drivers/vivid/vivid-vbi-out.h (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
1*dacca5f0SHans Verkuil /* SPDX-License-Identifier: GPL-2.0-only */
2*dacca5f0SHans Verkuil /*
3*dacca5f0SHans Verkuil  * vivid-vbi-out.h - vbi output support functions.
4*dacca5f0SHans Verkuil  *
5*dacca5f0SHans Verkuil  * Copyright 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
6*dacca5f0SHans Verkuil  */
7*dacca5f0SHans Verkuil 
8*dacca5f0SHans Verkuil #ifndef _VIVID_VBI_OUT_H_
9*dacca5f0SHans Verkuil #define _VIVID_VBI_OUT_H_
10*dacca5f0SHans Verkuil 
11*dacca5f0SHans Verkuil void vivid_sliced_vbi_out_process(struct vivid_dev *dev, struct vivid_buffer *buf);
12*dacca5f0SHans Verkuil int vidioc_g_fmt_vbi_out(struct file *file, void *priv,
13*dacca5f0SHans Verkuil 					struct v4l2_format *f);
14*dacca5f0SHans Verkuil int vidioc_s_fmt_vbi_out(struct file *file, void *priv,
15*dacca5f0SHans Verkuil 					struct v4l2_format *f);
16*dacca5f0SHans Verkuil int vidioc_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
17*dacca5f0SHans Verkuil int vidioc_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
18*dacca5f0SHans Verkuil int vidioc_s_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
19*dacca5f0SHans Verkuil 
20*dacca5f0SHans Verkuil extern const struct vb2_ops vivid_vbi_out_qops;
21*dacca5f0SHans Verkuil 
22*dacca5f0SHans Verkuil #endif
23