Function Description

For the Ascend 310 AI Processor, this function is reserved and is not supported currently.

For the Ascend 910 AI Processor, this function is reserved and is not supported currently.

Function Description

Vision Preprocessing Core (VPC) provides the following functions:

Function Diagram

Figure 1 VPC function diagram (cropping+resizing+pasting)
Figure 2 VPC function diagram (stitching)
Figure 3 Resizing with the aspect ratio preserved (paste ROI centered on the output image)
Figure 4 Resizing with the aspect ratio preserved (paste ROI vertically centered on the output image)
Figure 5 Resizing with the aspect ratio preserved (paste ROI horizontally centered on the output image)

Reference

The following figure shows the component layout of the RGB and YUV formats. Two YUV420SP images are used as examples for semi-planar format and an ARGB image is used as an example for Packed and RGB formats.