ivtv-vbi.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. Vertical Blank Interval support functions
  3. Copyright (C) 2004-2007 Hans Verkuil <hverkuil@xs4all.nl>
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  15. */
  16. #ifndef IVTV_VBI_H
  17. #define IVTV_VBI_H
  18. ssize_t
  19. ivtv_write_vbi_from_user(struct ivtv *itv,
  20. const struct v4l2_sliced_vbi_data __user *sliced,
  21. size_t count);
  22. void ivtv_process_vbi_data(struct ivtv *itv, struct ivtv_buffer *buf,
  23. u64 pts_stamp, int streamtype);
  24. int ivtv_used_line(struct ivtv *itv, int line, int field);
  25. void ivtv_disable_cc(struct ivtv *itv);
  26. void ivtv_set_vbi(unsigned long arg);
  27. void ivtv_vbi_work_handler(struct ivtv *itv);
  28. #endif