[libcamera-devel] [PATCH v3 0/9] Use two imgus in ipu3 pipeline handler

Harvey Yang chenghaoyang at chromium.org
Wed Jun 29 12:30:09 CEST 2022


Hello everyone,

This is the third version of patches to use two imgus in ipu3 pipeline
handler, mostly to better support StillCapture, which was handled as
video snapshot.

The 8th patch is updated to fall back to the original logic when the
StillCapture stream is rejected in the pipeline handler.

The patches are tested on soraka.
Please take a look and give me your thoughts. Thanks!

BR,
Harvey

Harvey Yang (9):
  Add StreamRole in StreamConfiguration
  ipu3: Allow only one camera being started
  ipu3: Use imgu0 as default
  ipu3: Add StillCapture stream and imgu1 param buffers
  ipu3: Update IPAIPU3Interface::fillParamsBuffer with captureBufferId
  ipu3: Configure imgu1 when necessary
  ipu3: Assign |outCaptureStream| to StillCapture configuration
  Request StillCapture stream as default in Android adapter
  ipu3: Fixes frame delay

 include/libcamera/ipa/ipu3.mojom       |   2 +-
 include/libcamera/stream.h             |  20 +-
 src/android/camera_device.cpp          | 235 ++++++++-------
 src/android/camera_device.h            |  21 ++
 src/ipa/ipu3/ipu3.cpp                  |  21 +-
 src/libcamera/pipeline/ipu3/frames.cpp |  23 +-
 src/libcamera/pipeline/ipu3/frames.h   |   8 +-
 src/libcamera/pipeline/ipu3/ipu3.cpp   | 377 +++++++++++++++++++++----
 8 files changed, 528 insertions(+), 179 deletions(-)

-- 
2.37.0.rc0.161.g10f37bed90-goog



More information about the libcamera-devel mailing list