| /**************************************************************************** |
| **************************************************************************** |
| *** |
| *** This header was automatically generated from a Linux kernel header |
| *** of the same name, to make information necessary for userspace to |
| *** call into the kernel available to libc. It contains only constants, |
| *** structures, and macros generated from the original header, and thus, |
| *** contains no copyrightable information. |
| *** |
| *** To edit the content of this header, modify the corresponding |
| *** source file (e.g. under external/kernel-headers/original/) then |
| *** run bionic/libc/kernel/tools/update_all.py |
| *** |
| *** Any manual change here will be lost the next time this script will |
| *** be run. You've been warned! |
| *** |
| **************************************************************************** |
| ****************************************************************************/ |
| #ifndef __LINUX_IVTV_H__ |
| #define __LINUX_IVTV_H__ |
| #include <linux/compiler.h> |
| #include <linux/types.h> |
| #include <linux/videodev2.h> |
| struct ivtv_dma_frame { |
| enum v4l2_buf_type type; |
| __u32 pixelformat; |
| void __user * y_source; |
| void __user * uv_source; |
| struct v4l2_rect src; |
| struct v4l2_rect dst; |
| __u32 src_width; |
| __u32 src_height; |
| }; |
| #define IVTV_IOC_DMA_FRAME _IOW('V', BASE_VIDIOC_PRIVATE + 0, struct ivtv_dma_frame) |
| #define IVTV_IOC_PASSTHROUGH_MODE _IOW('V', BASE_VIDIOC_PRIVATE + 1, int) |
| #define IVTV_SLICED_TYPE_TELETEXT_B V4L2_MPEG_VBI_IVTV_TELETEXT_B |
| #define IVTV_SLICED_TYPE_CAPTION_525 V4L2_MPEG_VBI_IVTV_CAPTION_525 |
| #define IVTV_SLICED_TYPE_WSS_625 V4L2_MPEG_VBI_IVTV_WSS_625 |
| #define IVTV_SLICED_TYPE_VPS V4L2_MPEG_VBI_IVTV_VPS |
| #endif |