summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2020-07-04 17:49:33 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2020-07-10 16:11:05 +0900
commit8addae2583d68aaa4e904d7607b1d94ddc371860 (patch)
tree358b6baa5f71da32048a01d2dca5b9a594756c5b /include
parentfad0314bc909cf74444ef97b74b2a933a194e986 (diff)
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 <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/stream.h1
1 files changed, 1 insertions, 0 deletions
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;