libcamera: rkisp1: Allow upscaling when the dewarper is present

When the dewarper is present, there is no need to forbid upscaling of
the image data.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Stefan Klug
2025-11-25 17:28:25 +01:00
parent ca20801aa1
commit d5c6e78a60
+5
View File
@@ -609,6 +609,11 @@ CameraConfiguration::Status RkISP1CameraConfiguration::validate()
return false;
if (useDewarper) {
/*
* The dewarper output is independent of the ISP path.
* Reset to the originally requested size.
*/
tryCfg.size = cfg.size;
bool adjusted;
pipe->dewarper_->validateOutput(&tryCfg, &adjusted,