mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
[media] v4l2-mediabus: improve colorspace support
Add and copy the new ycbcr_enc and quantization fields. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
d5735d64e1
commit
11ff030c73
2 changed files with 9 additions and 1 deletions
|
@ -22,6 +22,8 @@
|
|||
* @code: data format code (from enum v4l2_mbus_pixelcode)
|
||||
* @field: used interlacing type (from enum v4l2_field)
|
||||
* @colorspace: colorspace of the data (from enum v4l2_colorspace)
|
||||
* @ycbcr_enc: YCbCr encoding of the data (from enum v4l2_ycbcr_encoding)
|
||||
* @quantization: quantization of the data (from enum v4l2_quantization)
|
||||
*/
|
||||
struct v4l2_mbus_framefmt {
|
||||
__u32 width;
|
||||
|
@ -29,7 +31,9 @@ struct v4l2_mbus_framefmt {
|
|||
__u32 code;
|
||||
__u32 field;
|
||||
__u32 colorspace;
|
||||
__u32 reserved[7];
|
||||
__u32 ycbcr_enc;
|
||||
__u32 quantization;
|
||||
__u32 reserved[5];
|
||||
};
|
||||
|
||||
#ifndef __KERNEL__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue