Function: venc_set_channel_desc_buf_addr

C Prototype

aclError aclvencSetChannelDescBufAddr(aclvencChannelDesc *channelDesc, void *bufAddr)

Python Function

ret = acl.media.venc_set_channel_desc_buf_addr(venc_channel_desc, buf_addr)

Function Usage

Sets the encoding channel description attribute: address 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_addr: int, address of the encoding output buffer.

NOTE:

For the Atlas 200/300/500 Inference Product, this parameter is not configurable in the current version. VENC manages the buffer address internally.

Return Value

ret: int, error code.