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

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

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
Hans Verkuil
2014-06-10 07:30:04 -03:00
committed by Mauro Carvalho Chehab
parent 04d8b04e50
commit dda4a4d5ea
3 changed files with 49 additions and 4 deletions

View File

@@ -1254,6 +1254,8 @@ struct v4l2_ext_control {
__s32 value;
__s64 value64;
char *string;
__u8 *p_u8;
__u16 *p_u16;
void *ptr;
};
} __attribute__ ((packed));
@@ -1284,6 +1286,8 @@ enum v4l2_ctrl_type {
/* Compound types are >= 0x0100 */
V4L2_CTRL_COMPOUND_TYPES = 0x0100,
V4L2_CTRL_TYPE_U8 = 0x0100,
V4L2_CTRL_TYPE_U16 = 0x0101,
};
/* Used in the VIDIOC_QUERYCTRL ioctl for querying controls */