acldvppChannelDescParamType

1
2
3
4
5
6
7
8
enum acldvppChannelDescParamType {
    ACL_DVPP_CSC_MATRIX_UINT32 = 0,     //CSC matrix attribute. Its value is of the uint32_t type.
    ACL_DVPP_MODE_UINT32,               //Channel mode in the channel description. Its value is of the uint32_t type.
    ACL_DVPP_CHANNEL_ID_UINT64,         //Channel ID. Its value is of the uint64_t type.
    ACL_DVPP_CHANNEL_HEIGHT_UINT32,     //Channel height. Its value is of the uint32_t type.
    ACL_DVPP_CHANNEL_WIDTH_UINT32,      //Channel width. Its value is of the uint32_t type.
    ACL_DVPP_JPEGD_PRECISION_MODE_ENUM  //Alignment mode of the width and height of the JPEGD output image. Its value is of the int32_t type.
}
Table 1 Attribute settings

Attribute

Description

ACL_DVPP_CSC_MATRIX_UINT32

CSC matrix attribute. For details about the attribute values, see acldvppCscMatrix.

The Atlas training product does not support this option.

ACL_DVPP_MODE_UINT32

Channel mode in the channel description, which specifies the function to be implemented by the image data processing channel. Currently, the VPC, JPEGD, JPEGE, and PNGD functions are supported. For details about the attribute values, see acldvppChannelMode.

The Atlas training product does not support this option.

ACL_DVPP_CHANNEL_ID_UINT64

Indicates the channel ID.

ACL_DVPP_CHANNEL_HEIGHT_UINT32

Channel height. Currently, this attribute can be used only in the JPEGE function.

The default value and maximum value of Atlas A3 training product/Atlas A3 inference product are 8192.

The default value and maximum value of Atlas A2 training product/Atlas A2 inference product are 8192.

For Atlas 200I/500 A2 inference product, the default value is 8192 and the maximum value is 16384. If the input image height is greater than 8192, you need to call the acldvppSetChannelDescParam API to set the channel height.

The default value and maximum value of Atlas inference product are 8192.

The Atlas training product does not support this option.

ACL_DVPP_CHANNEL_WIDTH_UINT32

Channel width. Currently, this attribute can be used only in the JPEGE function.

The default value and maximum value of Atlas A3 training product/Atlas A3 inference product are 8192.

The default value and maximum value of Atlas A2 training product/Atlas A2 inference product are 8192.

For Atlas 200I/500 A2 inference product, the default value is 8192 and the maximum value is 16384. If the input image width is greater than 8192, call the acldvppSetChannelDescParam API to set the channel width.

The default value and maximum value of Atlas inference product are 8192.

The Atlas training product does not support this option.

ACL_DVPP_JPEGD_PRECISION_MODE_ENUM

Alignment mode of the width and height of the JPEGD output image. For details about the mode options, see acldvppJpegdPrecisionMode.

Currently, this attribute can be used only in the JPEGD function.

The Atlas training product does not support this option.