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

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

Message

Harvey Yang Aug. 2, 2022, 10:29 a.m. UTC
Hello everyone,

Thanks to Umang's review and Han-lin's help on multiple sub-patches,
here's the fourth version of patches to use two imgus in ipu3
pipeline handler, mostly to better support StillCapture, which was
handled as video snapshot.

The patches are tested on soraka.
Please check again and give me more feedbacks. 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/internal/pipeline_handler.h |   5 +
 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-ipa-design-guide.rst        |   6 +-
 src/ipa/ipu3/ipu3.cpp                         |  25 +-
 src/libcamera/camera.cpp                      |  11 +
 src/libcamera/pipeline/ipu3/frames.cpp        |  23 +-
 src/libcamera/pipeline/ipu3/frames.h          |   8 +-
 src/libcamera/pipeline/ipu3/imgu.cpp          |  13 +
 src/libcamera/pipeline/ipu3/imgu.h            |   2 +
 src/libcamera/pipeline/ipu3/ipu3.cpp          | 392 ++++++++++++++----
 src/libcamera/pipeline_handler.cpp            |  26 ++
 14 files changed, 595 insertions(+), 194 deletions(-)