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

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

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

619 次查看
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 回复数

459 次查看
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 项奖励

459 次查看
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 项奖励