aclvdecCreateChannel

Description

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

Restrictions

Prototype

aclError aclvdecCreateChannel(aclvdecChannelDesc *channelDesc)

Parameters

Parameter

Input/Output

Description

channelDesc

Input/Output

Pointer to the channel description.

Call aclvdecCreateChannelDesc to create data of the aclvdecChannelDesc type as a channel description and then call the aclvdecSetChannelDesc series to set the channel description in advance.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.

See Also

For details about the API call sequence and example, see DVPP Image/video Processing (Media Data Processing V1).