Function: vdec_set_channel_desc_channel_id

C Prototype

aclError aclvdecSetChannelDescChannelId(aclvdecChannelDesc *channelDesc, uint32_t channelId)

Python Function

ret = acl.media.vdec_set_channel_desc_channel_id(vdec_channel_desc, channel_id)

Function Usage

Sets the decoding channel description attribute: decoding channel ID.

Input Description

vdec_channel_desc: int, pointer address of the description of a video decoding channel.

Call acl.media.vdec_create_channel_desc to create data of the aclvdecChannelDesc type in advance.

channel_id: int, channel ID.

Atlas 200/300/500 Inference Product: Must be in the range of [0, 31].

Atlas Training Series Product: Must be in the range of [0, 31].

Return Value

ret: int, error code.