cx18-ioctl.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * cx18 ioctl system call
  3. *
  4. * Derived from ivtv-ioctl.h
  5. *
  6. * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
  7. * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net>
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation; either version 2 of the License, or
  12. * (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program; if not, write to the Free Software
  21. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  22. * 02111-1307 USA
  23. */
  24. u16 cx18_service2vbi(int type);
  25. void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
  26. u16 cx18_get_service_set(struct v4l2_sliced_vbi_format *fmt);
  27. void cx18_set_funcs(struct video_device *vdev);
  28. int cx18_s_std(struct file *file, void *fh, v4l2_std_id *std);
  29. int cx18_s_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
  30. int cx18_s_input(struct file *file, void *fh, unsigned int inp);
  31. long cx18_v4l2_ioctl(struct file *filp, unsigned int cmd,
  32. unsigned long arg);