[libcamera-devel] [PATCH 0/3] libcamera: pipeline: Add internal request queue

Nícolas F. R. A. Prado nfraprado at collabora.com
Mon Jul 19 21:14:35 CEST 2021


This series adds an internal request queue for the rkisp1, uvcvideo and vimc
pipeline handlers. Each patch is independent of the others, but I've grouped
them in this series because they're very similar, so it should ease the review.

The patches here are based on these patches that added the same functionality
for the ipu3 pipeline handler: 5a9d19210fad ("libcamera: pipeline: ipu3: Try
queuing pending requests if a buffer is available") and 89dae5844964
("libcamera: pipeline: ipu3: Store requests in the case a buffer shortage").

With these patches applied, the lc-compliance test from [1] passes in all three
pipeline handlers.

[1] https://lists.libcamera.org/pipermail/libcamera-devel/2021-July/022356.html

Previous standalone versions of the patches: uvcvideo [2] and rkisp1 [3]

[2] https://lists.libcamera.org/pipermail/libcamera-devel/2021-July/022029.html
[3] https://lists.libcamera.org/pipermail/libcamera-devel/2021-July/022135.html

Nícolas F. R. A. Prado (3):
  libcamera: pipeline: vimc: Add internal request queue
  libcamera: pipeline: uvcvideo: Add internal request queue
  libcamera: pipeline: rkisp1: Add internal request queue

 src/libcamera/pipeline/rkisp1/rkisp1.cpp     | 73 ++++++++++++++++----
 src/libcamera/pipeline/uvcvideo/uvcvideo.cpp | 66 +++++++++++++++---
 src/libcamera/pipeline/vimc/vimc.cpp         | 65 ++++++++++++++---
 3 files changed, 170 insertions(+), 34 deletions(-)

-- 
2.32.0



More information about the libcamera-devel mailing list