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

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

Message

Cheng-Hao Yang June 29, 2022, 10:30 a.m. UTC
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(-)