Can IPU convert RGB stream to YUV?

cancel
Showing results for 
Search instead for 
Did you mean: 

Can IPU convert RGB stream to YUV?

Jump to solution
874 Views
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.

Labels (3)
Tags (4)
0 Kudos
1 Solution
237 Views
joanxie
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
4 Replies
237 Views
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 Kudos
237 Views
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 Kudos
238 Views
joanxie
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
237 Views
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 Kudos