ipa: ipu3: Update camera controls in configure()
When a new CameraConfiguration is applied to the Camera the IPA is configured as well, using the newly applied sensor configuration and its updated V4L2 controls. Also update the Camera controls at IPA::configure() time by re-computing the controls::ExposureTime and controls::FrameDurationLimits limits and update the controls on the pipeline handler side after having configured the IPA. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
@@ -45,7 +45,8 @@ interface IPAIPU3Interface {
|
||||
start() => (int32 ret);
|
||||
stop();
|
||||
|
||||
configure(IPAConfigInfo configInfo) => (int32 ret);
|
||||
configure(IPAConfigInfo configInfo)
|
||||
=> (int32 ret, libcamera.ControlInfoMap ipaControls);
|
||||
|
||||
mapBuffers(array<libcamera.IPABuffer> buffers);
|
||||
unmapBuffers(array<uint32> ids);
|
||||
|
||||
Reference in New Issue
Block a user