Resampling method of G2D downscaling and upscaling?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Resampling method of G2D downscaling and upscaling?

831 Views
brenhale
Contributor I

Hi,

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?

Thanks,

Labels (1)
Tags (1)
0 Kudos
2 Replies

697 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Brendon

It use Nearest Neighbour under a verisilicon propetary algoritm.

Regards

0 Kudos

697 Views
brenhale
Contributor I

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.

0 Kudos