Add and copy the new ycbcr_enc and quantization fields.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -22,6 +22,8 @@ · 21 unmodified lines | ||
| 22 | 22 | * @code: data format code (from enum v4l2_mbus_pixelcode) |
| 23 | 23 | * @field: used interlacing type (from enum v4l2_field) |
| 24 | 24 | * @colorspace: colorspace of the data (from enum v4l2_colorspace) |
| 25 | + * @ycbcr_enc: YCbCr encoding of the data (from enum v4l2_ycbcr_encoding) | |
| 26 | + * @quantization: quantization of the data (from enum v4l2_quantization) | |
| 25 | 27 | */ |
| 26 | 28 | struct v4l2_mbus_framefmt { |
| 27 | 29 | __u32 width; |
| @@ -29,7 +31,9 @@ struct v4l2_mbus_framefmt { · 1 unmodified line | ||
| 29 | 31 | __u32 code; |
| 30 | 32 | __u32 field; |
| 31 | 33 | __u32 colorspace; |
| 32 | − __u32 reserved[7]; | |
| 34 | + __u32 ycbcr_enc; | |
| 35 | + __u32 quantization; | |
| 36 | + __u32 reserved[5]; | |
| 33 | 37 | }; |
| 34 | 38 | |
| 35 | 39 | #ifndef __KERNEL__ |