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.
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?
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!
-----------------------------------------------------------------------------------------------------------------------