Add buffer size field to struct v4l2_sdr_format. It is used for negotiate streaming buffer size between application and driver.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -1783,10 +1783,12 @@ struct v4l2_pix_format_mplane { · 1782 unmodified lines | |||
| 1783 | /** | 1783 | /** |
| 1784 | * struct v4l2_sdr_format - SDR format definition | 1784 | * struct v4l2_sdr_format - SDR format definition |
| 1785 | * @pixelformat: little endian four character code (fourcc) | 1785 | * @pixelformat: little endian four character code (fourcc) |
| 1786 | * @buffersize: maximum size in bytes required for data | ||
| 1786 | */ | 1787 | */ |
| 1787 | struct v4l2_sdr_format { | 1788 | struct v4l2_sdr_format { |
| 1788 | __u32 pixelformat; | 1789 | __u32 pixelformat; |
| 1789 | __u8 reserved[28]; | 1790 | __u32 buffersize; |
| 1791 | __u8 reserved[24]; | ||
| 1790 | } __attribute__ ((packed)); | 1792 | } __attribute__ ((packed)); |
| 1791 | 1793 | ||
| 1792 | /** | 1794 | /** |