/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
enum v4l2_colorspace {
V4L2_COLORSPACE_SMPTE170M = 1,
V4L2_COLORSPACE_SMPTE240M = 2,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
V4L2_COLORSPACE_REC709 = 3,
V4L2_COLORSPACE_BT878 = 4,
V4L2_COLORSPACE_470_SYSTEM_M = 5,
V4L2_COLORSPACE_470_SYSTEM_BG = 6,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
V4L2_COLORSPACE_JPEG = 7,
V4L2_COLORSPACE_SRGB = 8,
};
enum v4l2_priority {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
V4L2_PRIORITY_UNSET = 0,
V4L2_PRIORITY_BACKGROUND = 1,
V4L2_PRIORITY_INTERACTIVE = 2,
V4L2_PRIORITY_RECORD = 3,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
V4L2_PRIORITY_DEFAULT = V4L2_PRIORITY_INTERACTIVE,
};
struct v4l2_rect {
__s32 left;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__s32 top;
__u32 width;
__u32 height;
};
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
struct v4l2_fract {
__u32 numerator;
__u32 denominator;
};
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
struct v4l2_capability {
__u8 driver[16];
__u8 card[32];
__u8 bus_info[32];
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__u32 version;
__u32 capabilities;
__u32 device_caps;
__u32 reserved[3];
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
#define V4L2_CAP_VIDEO_CAPTURE 0x00000001
#define V4L2_CAP_VIDEO_OUTPUT 0x00000002
#define V4L2_CAP_VIDEO_OVERLAY 0x00000004
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_CAP_VBI_CAPTURE 0x00000010
#define V4L2_CAP_VBI_OUTPUT 0x00000020
#define V4L2_CAP_SLICED_VBI_CAPTURE 0x00000040
#define V4L2_CAP_SLICED_VBI_OUTPUT 0x00000080
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_CAP_RDS_CAPTURE 0x00000100
#define V4L2_CAP_VIDEO_OUTPUT_OVERLAY 0x00000200
#define V4L2_CAP_HW_FREQ_SEEK 0x00000400
#define V4L2_CAP_RDS_OUTPUT 0x00000800
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_CAP_VIDEO_CAPTURE_MPLANE 0x00001000
#define V4L2_CAP_VIDEO_OUTPUT_MPLANE 0x00002000
#define V4L2_CAP_VIDEO_M2M_MPLANE 0x00004000
#define V4L2_CAP_VIDEO_M2M 0x00008000
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_CAP_TUNER 0x00010000
#define V4L2_CAP_AUDIO 0x00020000
#define V4L2_CAP_RADIO 0x00040000
#define V4L2_CAP_MODULATOR 0x00080000
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_CAP_SDR_CAPTURE 0x00100000
#define V4L2_CAP_EXT_PIX_FORMAT 0x00200000
#define V4L2_CAP_READWRITE 0x01000000
#define V4L2_CAP_ASYNCIO 0x02000000
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_CAP_STREAMING 0x04000000
#define V4L2_CAP_DEVICE_CAPS 0x80000000
struct v4l2_pix_format {
__u32 width;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__u32 height;
__u32 pixelformat;
__u32 field;
__u32 bytesperline;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__u32 sizeimage;
__u32 colorspace;
__u32 priv;
__u32 flags;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
#define V4L2_PIX_FMT_RGB332 v4l2_fourcc(‘R’, ‘G’, ‘B’, ‘1’)
#define V4L2_PIX_FMT_RGB444 v4l2_fourcc(‘R’, ‘4’, ‘4’, ‘4’)
#define V4L2_PIX_FMT_ARGB444 v4l2_fourcc(‘A’, ‘R’, ‘1’, ‘2’)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_PIX_FMT_XRGB444 v4l2_fourcc(‘X’, ‘R’, ‘1’, ‘2’)
#define V4L2_PIX_FMT_RGB555 v4l2_fourcc(‘R’, ‘G’, ‘B’, ‘O’)
#define V4L2_PIX_FMT_ARGB555 v4l2_fourcc(‘A’, ‘R’, ‘1’, ‘5’)
#define V4L2_PIX_FMT_XRGB555 v4l2_fourcc(‘X’, ‘R’, ‘1’, ‘5’)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_PIX_FMT_RGB565 v4l2_fourcc(‘R’, ‘G’, ‘B’, ‘P’)
#define V4L2_PIX_FMT_RGB555X v4l2_fourcc(‘R’, ‘G’, ‘B’, ‘Q’)
#define V4L2_PIX_FMT_ARGB555X v4l2_fourcc_be(‘A’, ‘R’, ‘1’, ‘5’)
#define V4L2_PIX_FMT_XRGB555X v4l2_fourcc_be(‘X’, ‘R’, ‘1’, ‘5’)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_PIX_FMT_RGB565X v4l2_fourcc(‘R’, ‘G’, ‘B’, ‘R’)
#define V4L2_PIX_FMT_BGR666 v4l2_fourcc(‘B’, ‘G’, ‘R’, ‘H’)
#define V4L2_PIX_FMT_BGR24 v4l2_fourcc(‘B’, ‘G’, ‘R’, ‘3’)
#define V4L2_PIX_FMT_RGB24 v4l2_fourcc(‘R’, ‘G’, ‘B’, ‘3’)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_PIX_FMT_BGR32 v4l2_fourcc(‘B’, ‘G’, ‘R’, ‘4’)
#define V4L2_PIX_FMT_ABGR32 v4l2_fourcc(‘A’, ‘R’, ‘2’, ‘4’)
#define V4L2_PIX_FMT_XBGR32 v4l2_fourcc(‘X’, ‘R’, ‘2’, ‘4’)
#define V4L2_PIX_FMT_RGB32 v4l2_fourcc(‘R’, ‘G’, ‘B’, ‘4’)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_PIX_FMT_ARGB32 v4l2_fourcc(‘B’, ‘A’, ‘2’, ‘4’)
#define V4L2_PIX_FMT_XRGB32 v4l2_fourcc(‘B’, ‘X’, ‘2’, ‘4’)
#define V4L2_PIX_FMT_GREY v4l2_fourcc(‘G’, ‘R’, ‘E’, ‘Y’)
#define V4L2_PIX_FMT_Y4 v4l2_fourcc(‘Y’, ‘0’, ‘4’, ’ ')
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_PIX_FMT_Y6 v4l2_fourcc(‘Y’, ‘0’, ‘6’, ’ ')
#define V4L2_PIX_FMT_Y10 v4l2_fourcc(‘Y’, ‘1’, ‘0’, ’ ')
#define V4L2_PIX_FMT_Y12 v4l2_fourcc(‘Y’, ‘1’, ‘2’, ’ ')
#define V4L2_PIX_FMT_Y16 v4l2_fourcc(‘Y’, ‘1’, ‘6’, ’ ')
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_PIX_FMT_Y10BPACK v4l2_fourcc(‘Y’, ‘1’, ‘0’, ‘B’)
#define V4L2_PIX_FMT_PAL8 v4l2_fourcc(‘P’, ‘A’, ‘L’, ‘8’)
#define V4L2_PIX_FMT_UV8 v4l2_fourcc(‘U’, ‘V’, ‘8’, ’ ')
#define V4L2_PIX_FMT_YVU410 v4l2_fourcc(‘Y’, ‘V’, ‘U’, ‘9’)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_PIX_FMT_YVU420 v4l2_fourcc(‘Y’, ‘V’, ‘1’, ‘2’)
#define V4L2_PIX_FMT_YUYV v4l2_fourcc(‘Y’, ‘U’, ‘Y’, ‘V’)
#define V4L2_PIX_FMT_YYUV v4l2_fourcc(‘Y’, ‘Y’, ‘U’, ‘V’)
#define V4L2_PIX_FMT_YVYU v4l2_fourcc(‘Y’, ‘V’, ‘Y’, ‘U’)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_PIX_FMT_UYVY v4l2_fourcc(‘U’, ‘Y’, ‘V’, ‘Y’)
#define V4L2_PIX_FMT_VYUY v4l2_fourcc(‘V’, ‘Y’, ‘U’, ‘Y’)
#define V4L2_PIX_FMT_YUV422P v4l2_fourcc(‘4’, ‘2’, ‘2’, ‘P’)
#define V4L2_PIX_FMT_YUV411P v4l2_fourcc(‘4’, ‘1’, ‘1’, ‘P’)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_PIX_FMT_Y41P v4l2_fourcc(‘Y’, ‘4’, ‘1’, ‘P’)
#define V4L2_PIX_FMT_YUV444 v4l2_fourcc(‘Y’, ‘4’, ‘4’, ‘4’)
#define V4L2_PIX_FMT_YUV555 v4l2_fourcc(‘Y’, ‘U’, ‘V’, ‘O’)
#define V4L2_PIX_FMT_YUV565 v4l2_fourcc(‘Y’, ‘U’, ‘V’, ‘P’)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_PIX_FMT_YUV32 v4l2_fourcc(‘Y’, ‘U’, ‘V’, ‘4’)
#define V4L2_PIX_FMT_YUV410 v4l2_fourcc(‘Y’, ‘U’, ‘V’, ‘9’)
#define V4L2_PIX_FMT_YUV420 v4l2_fourcc(‘Y’, ‘U’, ‘1’, ‘2’)
#define V4L2_PIX_FMT_HI240 v4l2_fourcc(‘H’, ‘I’, ‘2’, ‘4’)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_PIX_FMT_HM12 v4l2_fourcc(‘H’, ‘M’, ‘1’, ‘2’)
#define V4L2_PIX_FMT_M420 v4l2_fourcc(‘M’, ‘4’, ‘2’, ‘0’)
#define V4L2_PIX_FMT_NV12 v4l2_fourcc(‘N’, ‘V’, ‘1’, ‘2’)
#define V4L2_PIX_FMT_NV21 v4l2_fourcc(‘N’, ‘V’, ‘2’, ‘1’)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR