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.
}
Attribute |
Description |
|---|---|
ACL_DVPP_CSC_MATRIX_UINT32 |
CSC matrix attribute. For details about the attribute values, see acldvppCscMatrix. The Ascend 310 AI Processor does not support this option. The Ascend 910 AI Processor does not support this option. |
ACL_DVPP_MODE_UINT32 |
Sets the channel mode in an image processing channel description to specify the purpose (selected from VPC, JPEGD, JPEGE, and PNGD) of the channel. For details about the attribute values, see acldvppChannelMode. The Ascend 310 AI Processor does not support this option. The Ascend 910 AI Processor does not support this option. |
ACL_DVPP_CHANNEL_ID_UINT64 |
Channel ID. |
ACL_DVPP_CHANNEL_HEIGHT_UINT32 |
Channel height. The default value and maximum value are 8192. Currently, this attribute can be used only in the JPEGE function. Setting this attribute in other functions is invalid. The Ascend 310 AI Processor does not support this option. The Ascend 910 AI Processor does not support this option. |
ACL_DVPP_CHANNEL_WIDTH_UINT32 |
Channel width. The default value and maximum value are 8192. Currently, this attribute can be used only in the JPEGE function. Setting this attribute in other functions is invalid. The Ascend 310 AI Processor does not support this option. The Ascend 910 AI Processor 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. Setting this attribute in other functions is invalid. The Ascend 310 AI Processor does not support this option. The Ascend 910 AI Processor does not support this option. |