 
					
				
		
Hi,
I want to run my custom application.
In which i want to do YUV to RGB color conversion using IPU, and display that output.
What code change does it required?
 
					
				
		
 rogerio_silva
		
			rogerio_silva
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		What processor are you using?
If you're using i.MX6, you can use this code to test CSC.
https://github.com/rogeriorps/ipu-examples/blob/master/mx6/csc/example1/csc_ex1.c
It will read 4 files from different color formats and transform to RGB565 to be shown on lcd.
Rgds
Rogerio
 
					
				
		
Thanks for your reply.
I am using IMX35.
 
					
				
		
Any update on this will be appreciated
 
					
				
		
 rogerio_silva
		
			rogerio_silva
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi John,
If you're using i.MX53 you have 2 options. You can use IOCTLs as made on example I mentioned or you can use the ipulib. (see the imx5x_IPU_LIB_UG.pdf, located at linux documentation package.
You can check the ipu unit test, located at your rootfs /unit_tests/mxc_ipudev_test.out
The source code can be extracted using LTIB using the command:
./ltib -p imx-test -m prep
The source code will be located at ltib/rpm/BUILD/imx-test-12.09.01/test
Rgds
Rogerio
 
					
				
		
Hi,
Rogerio
I am using IMX35. Does IMX53 IPU code works on IMX35?
 
 
					
				
		
 rogerio_silva
		
			rogerio_silva
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I'm not sure if the same source code will work because they use different drivers. i.MX35 uses IPUv1 instead IPUv3.
You can check and use as programming reference the /unit_tests built on your rootfs/unit_tests/
Rgds
Rogerio
 
					
				
		
Hi
Rogeriopimentel
Can you send me IPU test for YUV to RGB for IMX35?
Thanks
John
 
					
				
		
 rogerio_silva
		
			rogerio_silva
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		You can extract the unit test using the command: ./ltib -p imx-test -m prep
It will be extracted to <your ltib folder>/rpm/BUILD/imx-test-09.12.01/........
You can build and install this package using:
./ltib -p imx-test -m scbuild
./ltib -p imx-test -m scdeploy
Rgds
Rogerio
 
					
				
		
Hi,
but mxc_ipudev_test is not build.
What chagnes is requied to bulid?
 
					
				
		
John, do you still have a build problem?
