1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef __LINUX_IVTV_H__ 7 #define __LINUX_IVTV_H__ 8 #include <linux/compiler.h> 9 #include <linux/types.h> 10 #include <linux/videodev2.h> 11 struct ivtv_dma_frame { 12 enum v4l2_buf_type type; 13 __u32 pixelformat; 14 void __user *y_source; 15 void __user *uv_source; 16 struct v4l2_rect src; 17 struct v4l2_rect dst; 18 __u32 src_width; 19 __u32 src_height; 20 }; 21 #define IVTV_IOC_DMA_FRAME _IOW ('V', BASE_VIDIOC_PRIVATE+0, struct ivtv_dma_frame) 22 #define IVTV_IOC_PASSTHROUGH_MODE _IOW ('V', BASE_VIDIOC_PRIVATE+1, int) 23 #define IVTV_SLICED_TYPE_TELETEXT_B V4L2_MPEG_VBI_IVTV_TELETEXT_B 24 #define IVTV_SLICED_TYPE_CAPTION_525 V4L2_MPEG_VBI_IVTV_CAPTION_525 25 #define IVTV_SLICED_TYPE_WSS_625 V4L2_MPEG_VBI_IVTV_WSS_625 26 #define IVTV_SLICED_TYPE_VPS V4L2_MPEG_VBI_IVTV_VPS 27 #endif 28