xref: /openbmc/linux/drivers/media/pci/ivtv/ivtv-vbi.h (revision 7effbd18)
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 
11 ssize_t
12 ivtv_write_vbi_from_user(struct ivtv *itv,
13 			 const struct v4l2_sliced_vbi_data __user *sliced,
14 			 size_t count);
15 void ivtv_process_vbi_data(struct ivtv *itv, struct ivtv_buffer *buf,
16 			   u64 pts_stamp, int streamtype);
17 int ivtv_used_line(struct ivtv *itv, int line, int field);
18 void ivtv_disable_cc(struct ivtv *itv);
19 void ivtv_set_vbi(unsigned long arg);
20 void ivtv_vbi_work_handler(struct ivtv *itv);
21 
22 #endif
23