Obtains the ROI attributes of an H.264/H.265 channel. For details about the ROI encoding function, see ROI Encoding Function.
The Ascend 310 AI Processor does not support this API in the current version.
The Ascend 910 AI Processor does not support this API in the current version.
The Ascend 310P AI Processor does not support this API in the current version.
hi_s32 hi_mpi_venc_get_roi_attr(hi_venc_chn chn, hi_u32 idx, hi_venc_roi_attr *roi_attr)
Parameter |
Input/Output |
Description |
|---|---|---|
chn |
Input |
Encoding channel ID. The value range of the encoding channel ID is [0, 256). The maximum number of channels is 256. |
idx |
Input |
Index of the ROI for an H.264/H.265 encoding channel. |
roi_attr |
Output |
Pointer to the ROI parameters. |