Restrictions
- The width and height of all input and output resolutions must be 4-pixel aligned.
- The same internal hardware accelerator is used for video stabilization, distortion correction, and single fisheye correction. The overall specification of the accelerator is 4096 x 2160@45 FPS, which can be fully achieved when only single fisheye correction is enabled. If the video stabilization and distortion correction functions of VI are enabled at the same time, the specification is reduced by half.
- Only APIs related to channel stream obtaining (hi_mpi_vpss_get_chn_frame and hi_mpi_vpss_release_chn_frame) support multi-thread concurrent calling, but other VPSS APIs do not.
- The capabilities supported by VPSS groups vary according to the group ID ranges. The following table describes the related capabilities.
VPSS Group ID Range
Capabilities
[0, 256)
- The 3DNR function is not supported.
- The module can work with the region management module to support the Mosaic, Cover, and OSD functions.
- The module can be bound to the VDEC and VO modules, but cannot be bound to the VI module. (For details about how to bind the modules, see hi_mpi_sys_bind.)
- The minimum resolution of the input and output images is 64 x 64, and the maximum resolution is 4096 x 8192.
- When fisheye correction is enabled, the input image resolution must meet the following requirements: The width must be within the range [1920, 4096], and the height must be within the range [1080, 8192].
- When fisheye correction is disabled, the overall processing performance specification of VPSS groups is 1200 FPS@1080p. When the OverlayEx function is enabled, the overall performance specification is affected. The degree of impact depends on the output image resolution of this function.
- Applicable to the NVR scenario. This scenario supports multi-process calling.
[256, 268)
- The 3DNR function is supported.
- The module cannot be used together with the region management module.
- The module can be bound to the VI module but cannot be bound to the VDEC or VO module. (For details about how to bind the modules, see hi_mpi_sys_bind.)
- The valid width and height range of images is [64, 16384], which is also applicable to the width and height of cropped images in hi_mpi_vpss_set_grp_crop or the output width and height configured by hi_mpi_vpss_set_chn_attr. After 3DNR is enabled by calling hi_mpi_vpss_create_grp, the image width and height must meet the following requirements:
- 3DNR disabled: The width must be in the range [64, 16384], and the height must be in the range [64, 8192].
- 3DNR enabled: The width must be in the range [640, 16384], and the height must be in the range [480, 4096].
- When fisheye correction is enabled, the input image resolution must meet the following requirements: The width must be within the range [1920, 8192], and the height must be within the range [1080, 8192].
- The overall processing performance specification of the VPSS is 4096 x 2160@45 FPS.
- Applicable to the camera scenario. In this scenario, the VPSS must be used together with the VI APIs. The VPSS-related services and VI services must be implemented in the same process. That is, only one process instance is allowed to run.
Parent topic: VPSS