acl.himpi.venc_send_frame
C Prototype |
hi_s32 hi_mpi_venc_send_frame(hi_venc_chn chn, const hi_video_frame_info *frame, hi_s32 milli_sec) |
|---|---|
Python Function |
ret = acl.himpi.venc_send_frame(chn, frame, milli_sec) |
Function Usage |
Sends source images for video or image encoding. The Atlas 200/300/500 Inference Product does not support this API. The Atlas Training Series Product does not support this API. |
Input Description |
chn: int, encoding channel ID.
frame: dict, original image information dictionary. For details, see hi_video_frame_info. milli_sec: int, timeout interval (ms).
|
Return Value |
ret: int, error code.
|
Restrictions |
|
Parent topic: VENC/JPEGE APIs