How to compensate the Effect of Non-square Pixcel LCD

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

How to compensate the Effect of Non-square Pixcel LCD

526 Views
ivanhsu
Contributor I

Hi Developers,

We are developing Android 5.11 on i.MX6 platform. Unfortunately, The size of pixel is not square. Please reference the following picture. The left size is square pixel while the right size is non-square pixel. If we draw a circle on a non-square pixel LCD, it will be oval instead of circle.
non-square pixels.png

It seems that Android framework has no support for non-square pixel. Maybe we can do some tricks to compensate the effect of non-square pixel issue. For example, LCD resolution is 1024x600. We can report 1077x600 to android and resize it  to 1024 before we send the frame to framebuffer.  Is it workable? Can it be done by hardware composer?

Labels (2)
0 Kudos
1 Reply

385 Views
b36401
NXP Employee
NXP Employee

You can use Image Converter block of IPU unit for image resizing.

Please note that each image resizing reduces the quality a bit.

However IPU uses bilinear interpolation for resizing and quality reduce should not be critical.

Have a great day,

Victor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos