The VP module mainly works in the preprocessing and postprocessing phases of the model in the NN-centered computing scheme.
In the horizon UCP, various hardware have been equipped with picture processing operators, and the VP module encapsulates the hardware calling related to image processing, and selects different hardware solutions by setting the backend (if you don't specify the backend, the UCP will automatically adapt the processing unit with a lower load), which balances the load of the development board, fully exploits the board's computing power, and avoids the trouble of the difference between the different hardware calling, so that you can pay more attention to the software functions.
The architecture is shown as below:
As shown in the above picture, through the task constructor functions of the operators provided by the VP module, such as hbVPResize, hbVPRotate, etc., the application generates the task handle of the corresponding operator. The UCP provides the Service which contains the modules of task scheduling, session management, engine management, etc. After the task handles of the corresponding operators are generated, the operator tasks will be committed to the task queue through the UCP task scheduling interface, and assigned to the different underlying hardware to realize the functional logic of the operators. The bottom layer is the function of the operator encapsulated and implemented in different processing units, for example, the remap operator is implemented in both DSP and GDC, at this time, the remap operator in VP can be flexibly deployed on these two types of hardware.
Before reading this section, please make clear the following basic concepts, which may be mentioned several times in the following sections:
Vision Digital Signal Processing, which means the visual digital signal processing.Vision Process, which means the visual processing module in the UCP.