History

[media] v4l2-ctrls/videodev2.h: add u8 and u16 types

These are needed by the upcoming patches for the motion detection matrices.

Hans Verkuil committed 12 years ago

Commit dda4a4d1 parent 04d8b043 files · +49 −4Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/videodev2.h+4−0
@@ -1254,6 +1254,8 @@ struct v4l2_ext_control { · 1253 unmodified lines
12541254 __s32 value;
12551255 __s64 value64;
12561256 char *string;
1257+ __u8 *p_u8;
1258+ __u16 *p_u16;
12571259 void *ptr;
12581260 };
12591261 } __attribute__ ((packed));
@@ -1284,6 +1286,8 @@ enum v4l2_ctrl_type { · 24 unmodified lines
12841286
12851287 /* Compound types are >= 0x0100 */
12861288 V4L2_CTRL_COMPOUND_TYPES = 0x0100,
1289+ V4L2_CTRL_TYPE_U8 = 0x0100,
1290+ V4L2_CTRL_TYPE_U16 = 0x0101,
12871291 };
12881292
12891293 /* Used in the VIDIOC_QUERYCTRL ioctl for querying controls */