History

[media] v4l: Add input and output capability flags for native size setting

Add input and output capability flags for setting native size of the device, and document them.

Sakari Ailus committed 11 years ago

Commit 8af03451 parent 0b4bc763 files · +18 −0Browse files

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

Unified · Split

include/uapi/linux/videodev2.h+2−0
@@ -1324,6 +1324,7 @@ struct v4l2_input { · 1323 unmodified lines
13241324 #define V4L2_IN_CAP_DV_TIMINGS 0x00000002 /* Supports S_DV_TIMINGS */
13251325 #define V4L2_IN_CAP_CUSTOM_TIMINGS V4L2_IN_CAP_DV_TIMINGS /* For compatibility */
13261326 #define V4L2_IN_CAP_STD 0x00000004 /* Supports S_STD */
1327+#define V4L2_IN_CAP_NATIVE_SIZE 0x00000008 /* Supports setting native size */
13271328
13281329 /*
13291330 * V I D E O O U T P U T S
@@ -1347,6 +1348,7 @@ struct v4l2_output { · 17 unmodified lines
13471348 #define V4L2_OUT_CAP_DV_TIMINGS 0x00000002 /* Supports S_DV_TIMINGS */
13481349 #define V4L2_OUT_CAP_CUSTOM_TIMINGS V4L2_OUT_CAP_DV_TIMINGS /* For compatibility */
13491350 #define V4L2_OUT_CAP_STD 0x00000004 /* Supports S_STD */
1351+#define V4L2_OUT_CAP_NATIVE_SIZE 0x00000008 /* Supports setting native size */
13501352
13511353 /*
13521354 * C O N T R O L S