How to compensate the Effect of Non-square Pixcel LCD

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to compensate the Effect of Non-square Pixcel LCD

660件の閲覧回数
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 返信

519件の閲覧回数
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 件の賞賛
返信