The V4L2_BUF_TYPE_META_OUTPUT mirrors the V4L2_BUF_TYPE_META_CAPTURE with the exception that it is an OUTPUT type. The use case for this is to pass buffers to the device that are not image data but metadata. The formats, just as the metadata capture formats, are typically device specific and highly structured.
Showing the changes to include/uapi/linux (1 of 6 files). Show all
Unified · Split
| @@ -145,6 +145,7 @@ enum v4l2_buf_type { · 144 unmodified lines | |||
| 145 | V4L2_BUF_TYPE_SDR_CAPTURE = 11, | 145 | V4L2_BUF_TYPE_SDR_CAPTURE = 11, |
| 146 | V4L2_BUF_TYPE_SDR_OUTPUT = 12, | 146 | V4L2_BUF_TYPE_SDR_OUTPUT = 12, |
| 147 | V4L2_BUF_TYPE_META_CAPTURE = 13, | 147 | V4L2_BUF_TYPE_META_CAPTURE = 13, |
| 148 | V4L2_BUF_TYPE_META_OUTPUT = 14, | ||
| 148 | /* Deprecated, do not use */ | 149 | /* Deprecated, do not use */ |
| 149 | V4L2_BUF_TYPE_PRIVATE = 0x80, | 150 | V4L2_BUF_TYPE_PRIVATE = 0x80, |
| 150 | }; | 151 | }; |
| @@ -469,6 +470,7 @@ struct v4l2_capability { · 318 unmodified lines | |||
| 469 | #define V4L2_CAP_READWRITE 0x01000000 /* read/write systemcalls */ | 470 | #define V4L2_CAP_READWRITE 0x01000000 /* read/write systemcalls */ |
| 470 | #define V4L2_CAP_ASYNCIO 0x02000000 /* async I/O */ | 471 | #define V4L2_CAP_ASYNCIO 0x02000000 /* async I/O */ |
| 471 | #define V4L2_CAP_STREAMING 0x04000000 /* streaming I/O ioctls */ | 472 | #define V4L2_CAP_STREAMING 0x04000000 /* streaming I/O ioctls */ |
| 473 | #define V4L2_CAP_META_OUTPUT 0x08000000 /* Is a metadata output device */ | ||
| 472 | 474 | ||
| 473 | #define V4L2_CAP_TOUCH 0x10000000 /* Is a touch device */ | 475 | #define V4L2_CAP_TOUCH 0x10000000 /* Is a touch device */ |
| 474 | 476 | ||