Disp Q&A
Q1: How to scale and rotate the output image?
Use DIVP module to complete.
Code process: YUV422/NV12 → DIVP CHN0(scaling down/up) → DIVP CHN1(rotate) → DISP
The DIVP module supports time-sharing multiplexing. To achieve scaling + rotation, you need to create two channels, one for scaling, one for rotation, and the two channels are linked by sys bind interface. For example, see divp_init.c
Q2: Modifying the fps setting of mi_module does not work
Under normal circumstances, the fps setting of our mi_modules input and output is the same.
However, in the case of the problem, we fixed the exposure time and shutter, so that the input of the VIF module is always 120fps. If the input fps is not set correctly when we enable VIF, the output of the following modules (VPE/DIVP) will be 120fps.
So it seems that the fps setting does not work. So when the fps setting does not work, please make sure that the input/output fps setting of each mi_module is consistent with the actual setting.