aclvencGetChannelDescParam

The Atlas Training Series Product does not support this API.

Description

Obtains the description of a video encoding channel.

Prototype

aclError aclvencGetChannelDescParam(const aclvencChannelDesc *channelDesc, aclvencChannelDescParamType paramType, size_t length, size_t *paramRetSize, void *param)

Parameters

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.

  • If the attribute is of type *_UINT64, set this parameter to 8.
  • If the attribute is of type *_UINT32, set this parameter to 4.
  • If the attribute is of type *_PTR, set this parameter to 4 for 32-bit OS or 8 for 64-bit OS.

paramRetSize

Output

Pointer to the actual attribute value length.

param

Output

Pointer to the attribute value.

Returns

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