iMX6 Video capture into NV12 pixel format

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6 Video capture into NV12 pixel format

1,537 Views
erezsteinberg
Contributor IV

Hello experts,

I was wondering if the following is possible on iMX6DL (Under Linux 3.14) -

We have a camera input coming in through MIPI-CSI in YUYV422 format.   Is it possible to have the IPU store it in memory in a different format (E.g. NV12 or NV16)?

Regards,

Erez

Labels (3)
0 Kudos
3 Replies

825 Views
joanxie
NXP TechSupport
NXP TechSupport

MX6 IPU can support nv12 format, but for nv16, as I known, hardware can support it, but software couldn't .

0 Kudos

825 Views
erezsteinberg
Contributor IV

Hello Guanqiong -

If the video that is received on the MIPI interface is in V4L2_PIX_FMT_YUYV, can the IPU reorder the data on-the-fly to NV12?

Can you give any guidelines how to do that?

Erez

0 Kudos

825 Views
joanxie
NXP TechSupport
NXP TechSupport

refer to the mxc_v4l2_capture, you can find the format named V4L2_PIX_FMT_NV12, you can choose this,

0 Kudos