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>
This commit is contained in:
Paul Elder 2020-07-04 17:49:33 +09:00
parent fad0314bc9
commit 8addae2583
2 changed files with 15 additions and 3 deletions

View file

@ -43,6 +43,7 @@ struct StreamConfiguration {
PixelFormat pixelFormat;
Size size;
unsigned int stride;
unsigned int frameSize;
unsigned int bufferCount;