1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3    Vertical Blank Interval support functions
4    Copyright (C) 2004-2007  Hans Verkuil <hverkuil@xs4all.nl>
5
6 */
7
8#ifndef IVTV_VBI_H
9#define IVTV_VBI_H
10
11ssize_t
12ivtv_write_vbi_from_user(struct ivtv *itv,
13			 const struct v4l2_sliced_vbi_data __user *sliced,
14			 size_t count);
15void ivtv_process_vbi_data(struct ivtv *itv, struct ivtv_buffer *buf,
16			   u64 pts_stamp, int streamtype);
17int ivtv_used_line(struct ivtv *itv, int line, int field);
18void ivtv_disable_cc(struct ivtv *itv);
19void ivtv_set_vbi(unsigned long arg);
20void ivtv_vbi_work_handler(struct ivtv *itv);
21
22#endif
23