From 8addae2583d68aaa4e904d7607b1d94ddc371860 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Sat, 4 Jul 2020 17:49:33 +0900 Subject: libcamera: StreamConfiguration: Add frameSize field In addition to the stride field, we want the pipeline handler to be able to declare the frame size for the configuration. Add a frameSize field to StreamConfiguration for this purpose. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- include/libcamera/stream.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h index 1a68bd23..f502b359 100644 --- a/include/libcamera/stream.h +++ b/include/libcamera/stream.h @@ -43,6 +43,7 @@ struct StreamConfiguration { PixelFormat pixelFormat; Size size; unsigned int stride; + unsigned int frameSize; unsigned int bufferCount; -- cgit v1.2.1