1. Add a mutex between the Preview.Show() and the QWidget.update().
2. Speed up the Preview.Show() -- change the floating point to integer,
merge some plus and multiplying operation and remove some data copy.
Signed-off-by: zejian.su <zejian.su@starfivetech.com>
1. Use the atomic drm mode.
2. Find a mode in the connector with most closed area with the input image.
3. Set the plane property to scale the input image.
Signed-off-by: zejian.su <zejian.su@starfivetech.com>
1. Fill the NV12 data into the QT buffer.
2. For the low performance of QWidget, reduce the FPS to 15.
3. Remove the EGL preview option because its code can't work well.
The qt supported patch has been verified on the VF2 with qt5 (linuxfb plugin).
Signed-off-by: zejian.su <zejian.su@starfivetech.com>