Function: venc_set_channel_desc_buf_size
C Prototype |
aclError aclvencSetChannelDescBufSize(aclvencChannelDesc *channelDesc, uint32_t bufSize) |
|---|---|
Python Function |
ret = acl.media.venc_set_channel_desc_buf_size(venc_channel_desc, buf_size) |
Function Usage |
Sets the encoding channel description attribute: size of the encoding output buffer. The Atlas Training Series Product does not support this API. |
Input Description |
venc_channel_desc: int, pointer address of the description of a video encoding channel. Call acl.media.venc_create_channel_desc to create data of the aclvencChannelDesc type in advance. buf_size: int, size of the encoding output buffer, in bytes. NOTE:
For the Atlas 200/300/500 Inference Product, it is not allowed to set this parameter in the current version. It defaults to 3686400Bytes. |
Return Value |
ret: int, error code.
|