acl.himpi.vdec_create_chn
C Prototype |
hi_s32 hi_mpi_vdec_create_chn(hi_vdec_chn chn, const hi_vdec_chn_attr *attr); |
|---|---|
Python Function |
ret = acl.himpi.vdec_create_chn(chn, attr) |
Function Usage |
Creates a decoding channel based on the configured channel attributes. 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.
attr: dict, dictionary of the decoding channel attributes. For details, see hi_vdec_chn_attr.
|
Return Value |
ret: int, error code.
|
Restrictions |
|
Parent topic: VDEC/JPEGD APIs