Function: vdec_create_channel

C Prototype

aclError aclvdecCreateChannel(aclvdecChannelDesc *channelDesc)

Python Function

ret = acl.media.vdec_create_channel(vdec_channel_desc)

Function Usage

Creates a video processing channel, which is reusable. After being destroyed, the channel is no longer available.

Input Description

vdec_channel_desc: int, pointer address of the channel description.

Use the acl.media.vdec_create_channel_desc call to create data of the vdec_channel_desc type, and use the acl.media.vdec_set_channel_desc APIs to set the attributes of the channel description.

Return Value

ret: int, error code.

Restrictions

Reference

For details about the API call sequence and example, see Media Data Processing V1.