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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user