Define video buffer flag for the COPY timestamp. In this case the timestamp value is copied from the OUTPUT to the corresponding CAPTURE buffer.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -705,6 +705,7 @@ struct v4l2_buffer { · 704 unmodified lines | |||
| 705 | #define V4L2_BUF_FLAG_TIMESTAMP_MASK 0xe000 | 705 | #define V4L2_BUF_FLAG_TIMESTAMP_MASK 0xe000 |
| 706 | #define V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN 0x0000 | 706 | #define V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN 0x0000 |
| 707 | #define V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC 0x2000 | 707 | #define V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC 0x2000 |
| 708 | #define V4L2_BUF_FLAG_TIMESTAMP_COPY 0x4000 | ||
| 708 | 709 | ||
| 709 | /** | 710 | /** |
| 710 | * struct v4l2_exportbuffer - export of video buffer as DMABUF file descriptor | 711 | * struct v4l2_exportbuffer - export of video buffer as DMABUF file descriptor |