The G2D (in the i.MX8MM in our case) supports downscaling and upscaling (ref I.MX Graphics User's Guide) but does not specify what technique is used (ie. nearest-neighbour, bilinear etc).
Can anyone advise of this please?
It use Nearest Neighbour under a verisilicon propetary algoritm.
Further testing on our part shows the scaling by the G2D API is *NOT* Nearest Neighbour, it is clearly a convolution of some sort, and results in a lot of distortion of any straightline content. It appears that the underlying hardware and galcore driver may support nearest neighbour but the G2D API implementation that is provided does not.
Retrieving data ...