aclvencSetChannelDescParam

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

x

Atlas A2 training products/Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

x

Description

Sets the description of a video encoding channel.

Prototype

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

Parameters

Parameter

Input/Output

Description

channelDesc

Input

Pointer to the description of a video encoding channel.

Call the aclvencCreateChannelDesc API to create data of the aclvencChannelDesc type 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.

param

Input

Pointer to the attribute value.

Returns

0 on success; else, failure. For details, see aclError.