From: Julian Seward Date: Thu, 5 Feb 2015 15:59:01 +0000 (+0000) Subject: Update to track v4l2 API for kernel version 3.19 changes. Patch from X-Git-Tag: svn/VALGRIND_3_11_0~683 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43d073531e16e185f918767a297013e3af7bc2de;p=thirdparty%2Fvalgrind.git Update to track v4l2 API for kernel version 3.19 changes. Patch from Hans Verkuil (hverkuil@xs4all.nl). Fixes #343069. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14909 --- diff --git a/include/vki/vki-linux.h b/include/vki/vki-linux.h index b7b3bab888..bf3ffeeb90 100644 --- a/include/vki/vki-linux.h +++ b/include/vki/vki-linux.h @@ -3681,6 +3681,8 @@ struct vki_v4l2_pix_format { __vki_u32 colorspace; /* enum vki_v4l2_colorspace */ __vki_u32 priv; /* private data, depends on pixelformat */ __vki_u32 flags; /* format flags (VKI_V4L2_PIX_FMT_FLAG_*) */ + __vki_u32 ycbcr_enc; + __vki_u32 quantization; }; struct vki_v4l2_fmtdesc { @@ -4207,7 +4209,9 @@ struct vki_v4l2_pix_format_mplane { struct vki_v4l2_plane_pix_format plane_fmt[VKI_VIDEO_MAX_PLANES]; __vki_u8 num_planes; __vki_u8 flags; - __vki_u8 reserved[10]; + __vki_u8 ycbcr_enc; + __vki_u8 quantization; + __vki_u8 reserved[8]; } __attribute__ ((packed)); struct vki_v4l2_sdr_format { @@ -4435,7 +4439,9 @@ struct vki_v4l2_mbus_framefmt { __vki_u32 code; __vki_u32 field; __vki_u32 colorspace; - __vki_u32 reserved[7]; + __vki_u16 ycbcr_enc; + __vki_u16 quantization; + __vki_u32 reserved[6]; }; struct vki_v4l2_subdev_format {