acl.himpi.venc_create_chn
C Prototype |
hi_s32 hi_mpi_venc_create_chn(hi_venc_chn chn, const hi_venc_chn_attr *attr); |
|---|---|
Python Function |
ret = acl.himpi.venc_create_chn(chn, attr) |
Function Usage |
Creates an encoding 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, encoding channel ID.
attr: dict, dictionary of the encoding channel attributes. For details, see hi_venc_chn_attr. |
Return Value |
ret: int, error code.
|
Restrictions |
|
References
Encode Protocol |
Encode Mode |
Stream Buffer Depth |
Stream Fetching Mode |
Encode Profile |
|---|---|---|---|---|
H.264 |
Frame |
|
Frame/Slice |
Baseline Main Profile High Profile |
JPEG |
Frame |
|
Frame/Ecs |
Baseline |
H.265 |
Frame |
|
Frame/Slice |
Main Profile Main 10 Profile (not supported currently) |
|
Frame/Slice |
Main 10 profile (not supported currently) |