hi_mpi_vpss_set_grp_crop
Applicability
|
Product |
Supported |
|---|---|
|
|
☓ |
|
|
☓ |
|
|
√ |
|
|
☓ |
|
|
☓ |
Description
Sets the cropping parameters of a VPSS group.
Prototype
hi_s32 hi_mpi_vpss_set_grp_crop(hi_vpss_grp grp, const hi_vpss_crop_info *crop_info)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
grp |
Input |
VPSS group ID. The value range is [0, 264). If the 3DNR function is enabled by setting the hi_vpss_grp_attr.nr_en parameter of the hi_mpi_vpss_create_grp API, the value range of the VPSS group ID is [256, 268). |
|
crop_info |
Input |
Pointer to the information about the cropped region. |
Returns
- 0: success
- Other values: failure. For details, see VPSS Return Codes.
Restrictions
A VPSS group must have been created. For details, see hi_mpi_vpss_create_grp.