Can IPU convert RGB stream to YUV?

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

Can IPU convert RGB stream to YUV?

跳至解决方案
1,710 次查看
tetsuomaeda
Contributor III

Hi everyone!

We are thinking to connect a  RGB cmos camera module to iMX6.

Because VPU accepts only YUV format, we think we need to convert RGB data to YUV.

Can we use IPU module for this purpose?

In detail, does anyone know the possibility of the following data path?

Camera => (RGB) => CSI in IPU => (RGB) => IC in IPU => (YUV) => IDMAC => Memory.

I'm referring to Figure9-5. on page 464 of i.MX6Solo/DualLite Reference Manual.

If the above path is not possible, we think we need additional device outside iMX6 or we need to do the conversion (RGB => YUV) by software in iMX6

Thanks in advance for your advice.

Tetsuo.

标签 (3)
标记 (4)
0 项奖励
1 解答
1,073 次查看
joanxie
NXP TechSupport
NXP TechSupport

yes, DP and IC both have CSC module, you can use IC module if you capture video from camera.

在原帖中查看解决方案

0 项奖励
4 回复数
1,073 次查看
joanxie
NXP TechSupport
NXP TechSupport

yes, IPU can support it, IPU has one module named CSC, which can convert rgb to yuv, more detailed information, pls refer to the chapter 38.4.9.5 Color Space Conversion unit - CSC of Reference Manual.

0 项奖励
1,073 次查看
tetsuomaeda
Contributor III

Hi Guanqiong-san,

Thank you for the advice.

I understand that CSC, which is explained in Chapter 38.4.9.5, is applicable to display path only.

Do the functions of CSC work for the camera path as well?

If the answer is YES, is CSC included in IC (Image Converter) in Fig38-1?

I'd appreciate your reply.

Regards,

Tetsuo Maeda

0 项奖励
1,074 次查看
joanxie
NXP TechSupport
NXP TechSupport

yes, DP and IC both have CSC module, you can use IC module if you capture video from camera.

0 项奖励
1,073 次查看
tetsuomaeda
Contributor III

Hi Guanqiong-san,

Thank you for the clarification.

Actually, we are thinking to connect a RGB camera such as ov2710 directly to iMX6.

If someone had similar experiences, it could be a good help for us.

Thanks again for the information.

Regards,

Tetsuo Maeda

0 项奖励