媒体加速库
本节中的${install_path}请替换为CANN软件安装路径。如下以安装Ascend-cann-toolkit举例。
废弃特性
以下功能、算子计划在2026.12.30之后的版本删除。
- 如下算子IR废弃使用的DVPP加速功能:Crop、CropAndResize、DecodeAndCropJpeg、DecodeJpeg、PadV3D、Resize、ResizeV2、ResizeBicubic、ResizeBilinearV2、ResizeNearestNeighborV2、ReverseV2、WarpPerspective 、WarpAffineV2、AdjustContrast、AdjustHue、AdjustSaturation。
- 下表所示的通过IR调用的DVPP算子不再演进,替换成DVPP算子接口:
表1 废弃特性及其替换方案 废弃的目录、文件和接口
替换的目录、文件和接口
AdjustBrightness算子IR将从${install_path}/ascend-toolkit/latest/opp/built-in/op_proto/inc/image.h中废弃
acldvppAdjustBrightness接口
AdjustBrightnessV2算子IR将从${install_path}/ascend-toolkit/latest/opp/built-in/op_proto/inc/image.h中废弃
acldvppAdjustBrightness接口
AdjustContrastWithMean算子IR将从${install_path}/ascend-toolkit/latest/opp/built-in/op_proto/inc/image.h中废弃
acldvppAdjustContrast接口
AdjustSaturationV2算子IR将从${install_path}/ascend-toolkit/latest/opp/built-in/op_proto/inc/image.h中废弃
acldvppAdjustSaturation接口
GaussianBlur算子IR将从${install_path}/ascend-toolkit/latest/opp/built-in/op_proto/inc/image.h中废弃
acldvppGaussianBlur接口
ImgCrop算子IR将从${install_path}/ascend-toolkit/latest/opp/built-in/op_proto/inc/image.h中废弃
acldvppCrop接口
RgbToGrayscale算子IR将从${install_path}/ascend-toolkit/latest/opp/built-in/op_proto/inc/image.h中废弃
acldvppRgbToGrayscale接口
Rotate算子IR将从${install_path}/ascend-toolkit/latest/opp/built-in/op_proto/inc/image.h中废弃
acldvppRotate接口
CropAndResizeV2算子IR将从${install_path}/ascend-toolkit/latest/opp/built-in/op_proto/inc/image_ops.h中废弃
acldvppCropAndResize接口
ImgToTensor算子IR将从${install_path}/ascend-toolkit/latest/opp/built-in/op_proto/inc/image_ops.h中废弃
acldvppImgToTensor接口
NormalizeV2算子IR将从${install_path}/ascend-toolkit/latest/opp/built-in/op_proto/inc/image_ops.h中废弃
acldvppNormalize接口