Choosing a Proper Output Format for VPC to Reduce Buffer Allocation

On the Ascend 310P AI Processor, VPC supports YUV400 output images (grayscale images). If grayscale images are input for model inference, you can use the VPC function directly, with no need for AIPP CSC.

Principles

On the Ascend 310P AI Processor, VPC can be used to output YUV400 images (grayscale images). In this way, the AIPP CSC function is not required, reducing the load of the AI Core unit and improving performance.

Instructions

For details about the sample code of VPC functions, see VPC.