diff options
author | Guennadi Liakhovetski <guennadi.liakhovetski@intel.com> | 2017-11-08 11:00:12 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-01-04 06:39:18 -0500 |
commit | 563a01e1012dddbe120d1e1e1c466ea0639a098b (patch) | |
tree | bd7130c3a3bf6d3b8314844e9c9477a026224bf8 /include/uapi/linux/videodev2.h | |
parent | 94c53e26dc74744cc4f9a8ddc593b7aef96ba764 (diff) | |
download | lwn-563a01e1012dddbe120d1e1e1c466ea0639a098b.tar.gz lwn-563a01e1012dddbe120d1e1e1c466ea0639a098b.zip |
media: v4l: Add a UVC Metadata format
Add a pixel format, used by the UVC driver to stream metadata.
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi/linux/videodev2.h')
-rw-r--r-- | include/uapi/linux/videodev2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index b26160e0b483..faa97fda588a 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -694,6 +694,7 @@ struct v4l2_pix_format { /* Meta-data formats */ #define V4L2_META_FMT_VSP1_HGO v4l2_fourcc('V', 'S', 'P', 'H') /* R-Car VSP1 1-D Histogram */ #define V4L2_META_FMT_VSP1_HGT v4l2_fourcc('V', 'S', 'P', 'T') /* R-Car VSP1 2-D Histogram */ +#define V4L2_META_FMT_UVC v4l2_fourcc('U', 'V', 'C', 'H') /* UVC Payload Header metadata */ /* priv field value to indicates that subsequent fields are valid. */ #define V4L2_PIX_FMT_PRIV_MAGIC 0xfeedcafe |