[libcamera-devel,v3,0/3] Prepare IPU3 pipeline to pass BDS to IPA
mbox series

Message ID 20210316144711.40778-1-jeanmichel.hautbois@ideasonboard.com
Headers show
Series
  • Prepare IPU3 pipeline to pass BDS to IPA
Related show

Message

Jean-Michel Hautbois March 16, 2021, 2:47 p.m. UTC
As said in patch [1/2] the IPA will need to use the BDS configuration
because it configures a grid to get AWB statistics from the firmware.
Those statistics are then used to apply a bunch of parameters.

The IPU3 pipe configuration was done in validate(), so moved it to
configure(). And the ipa was configured at start(), configuring when all
the pipeline is configured sounds better.

Jean-Michel Hautbois (3):
  libcamera: ipu3: Move Imgu configuration to IPU3CameraData
  libcamera: ipu3: Move ipa configuration from start() to configure()
  libcamera: ipu3: Pass the BDS rectangle at IPA configure call

 include/libcamera/ipa/ipu3.mojom     |  2 +-
 src/ipa/ipu3/ipu3.cpp                |  7 +++--
 src/libcamera/pipeline/ipu3/ipu3.cpp | 46 +++++++++++++---------------
 3 files changed, 28 insertions(+), 27 deletions(-)