libcamera: streams: extend stream configuration with buffer count
The camera needs to be configured with the number of buffers required to satisfy the applications use case. While the application can request any number of buffers, the pipeline must take the constraints of the Linux driver into consideration. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
@@ -17,6 +17,8 @@ struct StreamConfiguration {
|
||||
unsigned int width;
|
||||
unsigned int height;
|
||||
unsigned int pixelFormat;
|
||||
|
||||
unsigned int bufferCount;
|
||||
};
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
||||
Reference in New Issue
Block a user