Function: dvpp_set_channel_desc_param

Description

Sets the description of an image processing channel.

Prototype

  • C Prototype
    1
    aclError acldvppSetChannelDescParam(acldvppChannelDesc *channelDesc, acldvppChannelDescParamType paramType, size_t length, const void *param)
    
  • Python Function
    1
    channelDesc, ret=acl.media.dvpp_set_channel_desc_param(channelDesc, paramType, param)
    

Parameters

Parameter

Description

channelDesc

Int, pointer address of the channel description.

Call acl.media.dvpp_create_channel_desc to create data of the acldvppChannelDesc type in advance.

paramType

Int, attribute parameter type. For details, see acldvppChannelDescParamType.

param

Int, attribute parameter value.

Return Value

Return Value

Description

channelDesc

Int, pointer address of the channel description.

Call acl.media.dvpp_create_channel_desc to create data of the acldvppChannelDesc type in advance.

ret

Int, error code. 0 on success; else, failure.