[PATCH 1/3] libcamera: framebuffer: Add offset field to metadata

Paul Elder paul.elder at ideasonboard.com
Wed Mar 26 08:51:25 CET 2025


Add an offset field to the frame metadata so that it can be reported to
the application.

Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
---
 include/libcamera/framebuffer.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/libcamera/framebuffer.h b/include/libcamera/framebuffer.h
index ff83924300ac..f6fa1fd510a7 100644
--- a/include/libcamera/framebuffer.h
+++ b/include/libcamera/framebuffer.h
@@ -30,6 +30,7 @@ struct FrameMetadata {
 
 	struct Plane {
 		unsigned int bytesused;
+		unsigned int offset;
 	};
 
 	Status status;
-- 
2.47.2



More information about the libcamera-devel mailing list