ipa: rpi: Provide the camera helper with the hardware configuration
Add a CamHelper::setHwConfig() helper used by the IPA to set the hardware configuration in use by the pipeline. This will be needed by the IMX500 camera helper in a future commit to determine if the metadata buffer is strided. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
cd3dfa1f03
commit
18c9ff46ef
3 changed files with 8 additions and 0 deletions
|
@ -151,6 +151,7 @@ int32_t IpaBase::init(const IPASettings &settings, const InitParams ¶ms, Ini
|
|||
lensPresent_ = params.lensPresent;
|
||||
|
||||
controller_.initialise();
|
||||
helper_->setHwConfig(controller_.getHardwareConfig());
|
||||
|
||||
/* Return the controls handled by the IPA */
|
||||
ControlInfoMap::Map ctrlMap = ipaControls;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue