diff options
author | Antti Palosaari <crope@iki.fi> | 2014-07-18 15:28:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-21 21:38:04 -0300 |
commit | aaa968b636550042023bffa075adcdb01e6d257c (patch) | |
tree | c31a78e99eb3fe69b3d45a51d049b0002ebd1ce4 /include/uapi/linux/videodev2.h | |
parent | 1140540da0e4b00978607244b58f06a528b819c7 (diff) | |
download | op-kernel-dev-aaa968b636550042023bffa075adcdb01e6d257c.zip op-kernel-dev-aaa968b636550042023bffa075adcdb01e6d257c.tar.gz |
[media] v4l: videodev2: add buffer size to SDR format
Add buffer size field to struct v4l2_sdr_format. It is used for
negotiate streaming buffer size between application and driver.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/uapi/linux/videodev2.h')
-rw-r--r-- | include/uapi/linux/videodev2.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 6da302d..8fc4822 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -1783,10 +1783,12 @@ struct v4l2_pix_format_mplane { /** * struct v4l2_sdr_format - SDR format definition * @pixelformat: little endian four character code (fourcc) + * @buffersize: maximum size in bytes required for data */ struct v4l2_sdr_format { __u32 pixelformat; - __u8 reserved[28]; + __u32 buffersize; + __u8 reserved[24]; } __attribute__ ((packed)); /** |