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