 
					
				
		
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
 b36401
		
			b36401
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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!
-----------------------------------------------------------------------------------------------------------------------
 
					
				
		
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
