YUV to RGB conversion using IPU

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

YUV to RGB conversion using IPU

4,189 次查看
johnturnur
Contributor III

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?

标签 (2)
0 项奖励
回复
10 回复数

2,678 次查看
rogerio_silva
NXP Employee
NXP Employee

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

0 项奖励
回复

2,678 次查看
johnturnur
Contributor III

Thanks for your reply.

I am using IMX35.

0 项奖励
回复

2,678 次查看
johnturnur
Contributor III

Any update on this will be appreciated

0 项奖励
回复

2,678 次查看
rogerio_silva
NXP Employee
NXP Employee

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

0 项奖励
回复

2,678 次查看
johnturnur
Contributor III

Hi,

Rogerio

I am using IMX35. Does IMX53 IPU code works on IMX35?


0 项奖励
回复

2,678 次查看
rogerio_silva
NXP Employee
NXP Employee

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

0 项奖励
回复

2,678 次查看
johnturnur
Contributor III

Hi

Rogeriopimentel

Can  you send me IPU test for YUV to RGB for IMX35?

Thanks

John

0 项奖励
回复

2,678 次查看
rogerio_silva
NXP Employee
NXP Employee

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

2,678 次查看
johnturnur
Contributor III

Hi,

but mxc_ipudev_test is not build.

What chagnes is requied to bulid?

0 项奖励
回复

2,678 次查看
admin
Specialist II

John, do you still have a build problem?

0 项奖励
回复