Obtains the description of a video encoding channel. This API is synchronous.
The Ascend 910 AI Processor does not support this API in the current version.
aclError aclvencGetChannelDescParam(const aclvencChannelDesc *channelDesc, aclvencChannelDescParamType paramType, size_t length, size_t *paramRetSize, void *param)
Parameter |
Input/Output |
Description |
|---|---|---|
channelDesc |
Input |
Pointer to the description of a video encoding channel. Call aclvencCreateChannelDesc to create data of the aclvencChannelDesc type and call aclvencSetChannelDescParam to set the description of a video encoding channel in advance. |
paramType |
Input |
Attribute data type. |
length |
Input |
Attribute value length.
|
paramRetSize |
Output |
Pointer to the actual attribute value length. |
param |
Output |
Pointer to the attribute value. |
0 on success; else, failure.