mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-23 16:45:07 +03:00
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:
parent
2a938efc8c
commit
4ed22985a8
3 changed files with 62 additions and 31 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue