libcamera: pipeline: raspberrypi: Increase the number of RAW buffers
Increase the number of expected RAW buffers in the stream configuration to 2. This will avoid dropping Unicam frames when exporting RAW streams. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: David Plowman <david.plowman@raspberrypi.com> Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
dd0a9cf2b1
commit
addd343b96
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ CameraConfiguration *PipelineHandlerRPi::generateConfiguration(Camera *camera,
|
||||||
sensorFormat = findBestMode(fmts, size);
|
sensorFormat = findBestMode(fmts, size);
|
||||||
pixelFormat = sensorFormat.fourcc.toPixelFormat();
|
pixelFormat = sensorFormat.fourcc.toPixelFormat();
|
||||||
ASSERT(pixelFormat.isValid());
|
ASSERT(pixelFormat.isValid());
|
||||||
bufferCount = 1;
|
bufferCount = 2;
|
||||||
rawCount++;
|
rawCount++;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue