diff options
Diffstat (limited to 'include/libcamera/buffer.h')
-rw-r--r-- | include/libcamera/buffer.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/libcamera/buffer.h b/include/libcamera/buffer.h index 80602124..0b95e41a 100644 --- a/include/libcamera/buffer.h +++ b/include/libcamera/buffer.h @@ -16,6 +16,23 @@ namespace libcamera { class Request; class Stream; +struct FrameMetadata { + enum Status { + FrameSuccess, + FrameError, + FrameCancelled, + }; + + struct Plane { + unsigned int bytesused; + }; + + Status status; + unsigned int sequence; + uint64_t timestamp; + std::vector<Plane> planes; +}; + class Plane final { public: |