Enables an encoding channel to start receiving source images. The encoding channel automatically stops receiving images when the specified receive limit is reached.
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.
hi_s32 hi_mpi_venc_start_chn (hi_venc_chn chn, const hi_venc_start_param *recv_param)
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. |
recv_param |
Input |
Pointer to the received image parameters, for specifying the number of frames to be received. |