hi_mpi_vpss_enable_chn
The
The
Description
Enables a VPSS channel.
Restrictions
- Call hi_mpi_vpss_set_chn_attr to set channel attributes before calling this API to enable a channel.
- When this API is called repeatedly to enable the same channel, a success message is returned.
- A VPSS group must have been created. For details, see hi_mpi_vpss_create_grp.
Prototype
hi_s32 hi_mpi_vpss_enable_chn(hi_vpss_grp grp, hi_vpss_chn chn);
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). |
chn |
Input |
VPSS channel ID. Value range: [0, 2) |
Returns
- 0: success
- Other values: failure. For details, see VPSS Return Codes.
Parent topic: VPSS