1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef __LINUX_IVTV_H__
20 #define __LINUX_IVTV_H__
21 #include <linux/compiler.h>
22 #include <linux/types.h>
23 #include <linux/videodev2.h>
24 struct ivtv_dma_frame {
25   enum v4l2_buf_type type;
26   __u32 pixelformat;
27   void __user * y_source;
28   void __user * uv_source;
29   struct v4l2_rect src;
30   struct v4l2_rect dst;
31   __u32 src_width;
32   __u32 src_height;
33 };
34 #define IVTV_IOC_DMA_FRAME _IOW('V', BASE_VIDIOC_PRIVATE + 0, struct ivtv_dma_frame)
35 #define IVTV_IOC_PASSTHROUGH_MODE _IOW('V', BASE_VIDIOC_PRIVATE + 1, int)
36 #define IVTV_SLICED_TYPE_TELETEXT_B V4L2_MPEG_VBI_IVTV_TELETEXT_B
37 #define IVTV_SLICED_TYPE_CAPTION_525 V4L2_MPEG_VBI_IVTV_CAPTION_525
38 #define IVTV_SLICED_TYPE_WSS_625 V4L2_MPEG_VBI_IVTV_WSS_625
39 #define IVTV_SLICED_TYPE_VPS V4L2_MPEG_VBI_IVTV_VPS
40 #endif
41