How to compensate the Effect of Non-square Pixcel LCD

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to compensate the Effect of Non-square Pixcel LCD

1,122 次查看
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?

标签 (2)
0 项奖励
回复
1 回复

981 次查看
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 项奖励
回复