NvSIPLPipelineConfiguration to crop on ISP level, cropping input

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
Linux
QNX
other

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
1.7.1.8928
other

Host Machine Version
native Ubuntu 18.04
other

Dear Support!
This is a follow up topic of: Using NvSIPLPipelineConfiguration to crop on ISP level
Input crop is not working as expected. Could you clarify the other dependencies?

Blockquote
We have tried some crops and it is still not working as expected. For example:
Setting up ispInputCrop.y0 (OR ispInputCrop.y1 to maxheight-256), the driver gives back the following error:
Module_id 30 Severity 2 : src/control/common/camrangecheck.cpp 33
Module_id 30 Severity 2 : parameter is too large 1702 1620
Module_id 30 Severity 2 : src/control/common/camrangecheck.cpp 681
Module_id 30 Severity 2 : Bad input parameter : Rectangular Mask y1
Module_id 30 Severity 2 : src/control/isp/settings/camstats.cpp 54
Module_id 30 Severity 2 : Bad parameter : rect Mask
Module_id 30 Severity 2 : src/control/isp/settings/camstats.cpp 72
Module_id 30 Severity 2 : Bad parameter: Rect Mask
Module_id 30 Severity 2 : src/control/isp/settings/camstats.cpp 154
Module_id 30 Severity 2 : Bad parameter: set LAC window
In this case the region of the cropped image should be: [0, 0, 2896, 1620] (or [0, 256, 2896, 1876])
The other crop values are set as described:
x0 = 0
x1 = maxwidth
y0 = 256 (or 0)
y1 = maxheight (or maxheight - 256)

Dear @mark.baranyi,
We are checking internally on this issue and update you. May I know the camera module and if any code snippet can be shared for checking with engineering team.

crop_src_snippet.c (1.2 KB)
Dear Siva,
I attached a code snippet, we are using IMX390 camera for testing.

Dear @mark.baranyi,
It looks some changes are needed in NITO. Is it Sony IMX390 camera module?

Dear Siva,
Yes, its an IMX390 camera.
(IMX390RGGBMP_200FOV_RGGB_CPHY_x4)

Dear @mark.baranyi,
Could you please confirm if keeping ispInputCrop.y1 - ispInputCrop.y0 >= 974 works. This is requirement for Sony IMX390 module.

Dear Siva,
Yes, I can confirm,this is the current case according to the test results with this camera.

Dear @mark.baranyi,
Thanks for confirming. ispInputCrop.y1 - ispInputCrop.y0 >= 974 is required for Sony IMX390 module.