History

[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.

Antti Palosaari committed 12 years ago

Commit aaa968b1 parent 11405401 file · +3 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/videodev2.h+3−1
@@ -1783,10 +1783,12 @@ struct v4l2_pix_format_mplane { · 1782 unmodified lines
17831783 /**
17841784 * struct v4l2_sdr_format - SDR format definition
17851785 * @pixelformat: little endian four character code (fourcc)
1786+ * @buffersize: maximum size in bytes required for data
17861787 */
17871788 struct v4l2_sdr_format {
17881789 __u32 pixelformat;
1789− __u8 reserved[28];
1790+ __u32 buffersize;
1791+ __u8 reserved[24];
17901792 } __attribute__ ((packed));
17911793
17921794 /**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t