aclvencCreateChannel

Description

Creates a video encoding channel, which is reusable. After being destroyed, the channel is no longer available. This API is synchronous.

The Ascend 910 AI Processor does not support this API.

Restrictions

Prototype

aclError aclvencCreateChannel(aclvencChannelDesc *channelDesc)

Parameters

Parameter

Input/Output

Description

channelDesc

Input/Output

Pointer to the channel description.

Call aclvencCreateChannelDesc to create data of the aclvencChannelDesc type as a channel description and then call the aclvencSetChannelDesc series to set the channel description in advance.

Returns

0 on success; else, failure.

See Also

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