History

media: v4l: Add a UVC Metadata format

Add a pixel format, used by the UVC driver to stream metadata.

Guennadi Liakhovetski committed 9 years ago

Commit 563a01e1 parent 94c53e24 files · +54 −0Browse files

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

Unified · Split

include/uapi/linux/videodev2.h+1−0
@@ -694,6 +694,7 @@ struct v4l2_pix_format { · 693 unmodified lines
694/* Meta-data formats */694/* Meta-data formats */
695#define V4L2_META_FMT_VSP1_HGO v4l2_fourcc('V', 'S', 'P', 'H') /* R-Car VSP1 1-D Histogram */695#define V4L2_META_FMT_VSP1_HGO v4l2_fourcc('V', 'S', 'P', 'H') /* R-Car VSP1 1-D Histogram */
696#define V4L2_META_FMT_VSP1_HGT v4l2_fourcc('V', 'S', 'P', 'T') /* R-Car VSP1 2-D Histogram */696#define V4L2_META_FMT_VSP1_HGT v4l2_fourcc('V', 'S', 'P', 'T') /* R-Car VSP1 2-D Histogram */
697#define V4L2_META_FMT_UVC v4l2_fourcc('U', 'V', 'C', 'H') /* UVC Payload Header metadata */
697 698
698/* priv field value to indicates that subsequent fields are valid. */699/* priv field value to indicates that subsequent fields are valid. */
699#define V4L2_PIX_FMT_PRIV_MAGIC 0xfeedcafe700#define V4L2_PIX_FMT_PRIV_MAGIC 0xfeedcafe