Feeds the stream and decoding result buffer to a decoding channel.
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.
VDEC does not resize the decoded image if both width and height in hi_vdec_pic_info are set to 0.
hi_s32 hi_mpi_vdec_send_stream(hi_vdec_chn chn, const hi_vdec_stream *stream, hi_vdec_pic_info *vdec_pic_info, hi_s32 milli_sec)
Parameter |
Input/Output |
Description |
|---|---|---|
chn |
Input |
Decoding channel ID. The value range of this parameter is [0, 256). The maximum number of channels is 256. |
stream |
Input |
Pointer to the input stream information. The configured addr must be a buffer address on the device. |
vdec_pic_info |
Input |
Pointer to the output image information. |
milli_sec |
Input |
Timeout interval (ms).
|