Add input and output capability flags for setting native size of the device, and document them.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -1324,6 +1324,7 @@ struct v4l2_input { · 1323 unmodified lines | ||
| 1324 | 1324 | #define V4L2_IN_CAP_DV_TIMINGS 0x00000002 /* Supports S_DV_TIMINGS */ |
| 1325 | 1325 | #define V4L2_IN_CAP_CUSTOM_TIMINGS V4L2_IN_CAP_DV_TIMINGS /* For compatibility */ |
| 1326 | 1326 | #define V4L2_IN_CAP_STD 0x00000004 /* Supports S_STD */ |
| 1327 | +#define V4L2_IN_CAP_NATIVE_SIZE 0x00000008 /* Supports setting native size */ | |
| 1327 | 1328 | |
| 1328 | 1329 | /* |
| 1329 | 1330 | * V I D E O O U T P U T S |
| @@ -1347,6 +1348,7 @@ struct v4l2_output { · 17 unmodified lines | ||
| 1347 | 1348 | #define V4L2_OUT_CAP_DV_TIMINGS 0x00000002 /* Supports S_DV_TIMINGS */ |
| 1348 | 1349 | #define V4L2_OUT_CAP_CUSTOM_TIMINGS V4L2_OUT_CAP_DV_TIMINGS /* For compatibility */ |
| 1349 | 1350 | #define V4L2_OUT_CAP_STD 0x00000004 /* Supports S_STD */ |
| 1351 | +#define V4L2_OUT_CAP_NATIVE_SIZE 0x00000008 /* Supports setting native size */ | |
| 1350 | 1352 | |
| 1351 | 1353 | /* |
| 1352 | 1354 | * C O N T R O L S |