[libcamera-devel] [RFC PATCH 0/2] Enable handling a number of capture requests
Hirokazu Honda
hiroh at chromium.org
Mon Mar 29 04:26:02 CEST 2021
Originally PipelineHandler discards capture requests if queueing
fails with any reason. If a client queues a number of capture
requests for short time, queueing tends to fail due to a buffer
shortage. In the case PipelineHandler should rather retry to
queue capture requests later.
This patch series enables PipelineHandler to handle a number of
capture requests by storing them on a buffer shortage failure and
retrying to queue later.
Hirokazu Honda (2):
libcamera: CameraData: Change queuedRequests_ type to std::dequeue
libcamera: PipelineHandler: Retry queuing a capture request
include/libcamera/internal/pipeline_handler.h | 6 +-
src/libcamera/pipeline_handler.cpp | 61 ++++++++++++++++---
2 files changed, 58 insertions(+), 9 deletions(-)
--
2.31.0.291.g576ba9dcdaf-goog
More information about the libcamera-devel
mailing list