acl.himpi.pngd_get_image_data
C Prototype |
hi_s32 hi_mpi_pngd_get_image_data(hi_pngd_chn chn, hi_pic_info *png_pic_info, hi_img_stream *stream, hi_s32 milli_sec) |
|---|---|
Python Function |
png_pic_info, stream, ret = acl.himpi.pngd_get_image_data(chn, milli_sec) |
Function Usage |
Fetches the decoded images and input stream of a decoding channel. The Atlas 200/300/500 Inference Product does not support this API in the current version. The Atlas Training Series Product does not support this API in the current version. |
Input Description |
chn: int, decoding channel ID. The value range of this parameter is [0, 128). The maximum number of channels is 128. milli_sec: int, timeout interval (ms).
|
Return Value |
stream: dict, pointer to information dictionary of decoded input streams. For details, see hi_img_stream. png_pic_info: dict. Obtains the decoded picture information dictionary. For details, see hi_pic_info. The decode output is stored in the device memory. ret: int, error code.
|
Restrictions |
|