acldvppGetChannelDescParam

Description

Obtains the description of an image processing channel.

Prototype

aclError acldvppGetChannelDescParam(const acldvppChannelDesc *channelDesc, acldvppChannelDescParamType paramType, size_t length, size_t *paramRetSize, void *param)

Parameters

Parameter

Input/Output

Description

channelDesc

Input

Pointer to the channel description.

You need to call acldvppCreateChannelDesc to create data of the acldvppChannelDesc type in advance and call acldvppSetChannelDescParam to set the channel attributes.

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 *_ENUM, set this parameter to 4.

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.