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

Message ID 20210316101842.18674-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, 10:18 a.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 (2):
  libcamera: ipu3: Move Imgu configuration to IPU3CameraData
  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, 27 insertions(+), 28 deletions(-)