@@ -155,6 +155,12 @@ private:
Transform combinedTransform_;
};
+namespace {
+
+const unsigned int kPipelineDepth = 4;
+
+};
+
class PipelineHandlerRkISP1 : public PipelineHandler
{
public:
@@ -684,7 +690,7 @@ CameraConfiguration::Status RkISP1CameraConfiguration::validate()
*/
PipelineHandlerRkISP1::PipelineHandlerRkISP1(CameraManager *manager)
- : PipelineHandler(manager), hasSelfPath_(true), useDewarper_(false)
+ : PipelineHandler(manager, kPipelineDepth), hasSelfPath_(true), useDewarper_(false)
{
}
To keep the regulation of the algorithms as short as possible and to allow more buffers to be created than the v4l2 device allows to be queued, limit the amount of buffers that get queued into the device to the pipeline depth. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> --- Changes in v1: - Replaced function overload with constructor param --- src/libcamera/pipeline/rkisp1/rkisp1.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)