From d66f54ca157b5226398f54e1bb04554fc38715f7 Mon Sep 17 00:00:00 2001 From: Yudhistira Erlandinata Date: Wed, 16 Oct 2024 13:17:28 +0000 Subject: libcamera: reserve frame sequence reported from the hardware Originally libcamera resets the sequence to 0 on streamOn. However, However, there are occasions when the user needs the original hardware sequence to query processing information of the particular frame. The patch reserves the hwSequence in the FrameMetadata. Signed-off-by: Yudhistira Erlandinata Co-developed-by: Harvey Yang Signed-off-by: Harvey Yang --- include/libcamera/framebuffer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libcamera/framebuffer.h b/include/libcamera/framebuffer.h index ff839243..fccfaa82 100644 --- a/include/libcamera/framebuffer.h +++ b/include/libcamera/framebuffer.h @@ -34,6 +34,7 @@ struct FrameMetadata { Status status; unsigned int sequence; + unsigned int hwSequence; uint64_t timestamp; Span planes() { return planes_; } -- cgit v1.2.1