hi_mpi_vpss_release_chn_frame
The
The
Description
Releases a frame of image from a channel.
Restrictions
After obtaining image data by calling hi_mpi_vpss_get_chn_frame, call this API to release resources in a timely manner.
Prototype
hi_s32 hi_mpi_vpss_release_chn_frame(hi_vpss_grp grp, hi_vpss_chn chn, const hi_video_frame_info *frame_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). |
chn |
Input |
VPSS channel ID. Value range: [0, 2) |
frame_info |
Input |
Image information. |
Returns
- 0: success
- Other values: failure. For details, see VPSS Return Codes.
Parent topic: VPSS