How to adjust Contrast in IPU DP module for i.MX6Quad

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

How to adjust Contrast in IPU DP module for i.MX6Quad

1,191件の閲覧回数
yuuki
Senior Contributor II

Dear all,

We refer to the following document.

http://cache.freescale.com/files/training/doc/ftf/2014/FTF-CON-F0223.pdf
 - p24 IPUv3 Color Space Conversion

http://cache.freescale.com/files/training/doc/ftf/2014/FTF-CON-F0119.pdf
 - p49 DP (Display Processor)

We understand that we can coordinate Contrast by IPU DP module.

How to achieve  contrast adjustment under condition RGBA input and RGBA output using IPU DP module ?
Please provide sample code and  document of the code.

Best Regards,
Yuuki

ラベル(2)
タグ(2)
0 件の賞賛
返信
2 返答(返信)

1,031件の閲覧回数
b36401
NXP Employee
NXP Employee

It can be performed with IPU Image Converter color conversion:

Y’=Y*k + b
Cb’= (Cb-128)*k+128 = k*cb+128(1-k)
Cr’= (Cr-128)*k+128 = k*Cr+128(1-k)

here "k" is contrast factor and "b" is brightness level.

Have a great day,
Victor

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

0 件の賞賛
返信

1,031件の閲覧回数
yuuki
Senior Contributor II

b36401


Dear Victor-san,

Thank you for your response.

Would you tell me a procedure and the method to perform it in Image Converter?
Is there the sample code?

Is there the method to perform this in IPU Display Processor?
Is there the sample code?

Best Regards,
Yuuki

0 件の賞賛
返信