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

Harvey Yang chenghaoyang at chromium.org
Thu May 12 12:32:50 CEST 2022


Hello everyone,

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

There's a TODO to tackle the delay one frame issue in the ipu3 HW/FW
design. Patches will be updated when we have a clear solution.

Please take a loop and give me your thoughts. Thanks!

BR,
Harvey

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

 include/libcamera/ipa/ipu3.mojom       |   2 +-
 include/libcamera/stream.h             |  20 +-
 src/android/camera_device.cpp          | 214 ++++++++--------
 src/android/camera_device.h            |  21 ++
 src/ipa/ipu3/ipu3.cpp                  |  19 +-
 src/libcamera/pipeline/ipu3/frames.cpp |  23 +-
 src/libcamera/pipeline/ipu3/frames.h   |   8 +-
 src/libcamera/pipeline/ipu3/ipu3.cpp   | 328 ++++++++++++++++++++-----
 8 files changed, 455 insertions(+), 180 deletions(-)

-- 
2.36.0.512.ge40c2bad7a-goog



More information about the libcamera-devel mailing list