acldvppChannelDescParamType

enum acldvppChannelDescParamType {
    ACL_DVPP_CSC_MATRIX_UINT32 = 0,     //CSC matrix attribute. The value is of the uint32_t type.
    ACL_DVPP_MODE_UINT32,               //Channel mode in the channel description. The value is of the uint32_t type.
    ACL_DVPP_CHANNEL_ID_UINT64,         //Channel ID. The value is of the uint64_t type.
    ACL_DVPP_CHANNEL_HEIGHT_UINT32,     //Channel height. The value is of the uint32_t type.
    ACL_DVPP_CHANNEL_WIDTH_UINT32,      //Channel width. The 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. The 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 products do not support this option.

ACL_DVPP_MODE_UINT32

Channel mode in an image processing channel description, which specifies the purpose (selected from VPC, JPEGD, JPEGE, and PNGD) of the channel. For details about the attribute values, see acldvppChannelMode.

The Atlas training products do not support this option.

ACL_DVPP_CHANNEL_ID_UINT64

Channel ID.

ACL_DVPP_CHANNEL_HEIGHT_UINT32

Channel height. Currently, this attribute can be used only in the JPEGE function. Setting this attribute in other functions is invalid.

For the Atlas inference products, the default value and maximum value are both 8192.

For the Atlas A2 training products/Atlas A2 inference products, the default value and maximum value are both 8192.

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

For the Atlas inference products, the default value and maximum value are both 8192.

The Atlas training products do not support this option.

ACL_DVPP_CHANNEL_WIDTH_UINT32

Channel width. Currently, this attribute can be used only in the JPEGE function. Setting this attribute in other functions is invalid.

For the Atlas A3 training products/Atlas A3 inference products, the default value and maximum value are both 8192.

For the Atlas A2 training products/Atlas A2 inference products, the default value and maximum value are both 8192.

The default value is 8192, and the maximum value is 16384. If the width of the input image is greater than 8192, call acldvppSetChannelDescParam to set the channel width.

For the Atlas inference products, the default value and maximum value are both 8192.

The Atlas training products do 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. Setting this attribute in other functions is invalid.

The Atlas training products do not support this option.