[libcamera-devel,0/8] Use two imgus in ipu3 pipeline handler
mbox series

Message ID 20220512103258.324339-1-chenghaoyang@google.com
Headers show
Series
  • Use two imgus in ipu3 pipeline handler
Related show

Message

Harvey Yang May 12, 2022, 10:32 a.m. UTC
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(-)