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