replacing yuv420 with yuv422?

cancel
Showing results for 
Search instead for 
Did you mean: 

replacing yuv420 with yuv422?

416 Views
gbiradar
Contributor IV

Hi Guys,

                 Well i'm trying to replace yuv420 with yuv422 for omnivision camera for imx6 board. well i have replaced where ever YUV420 with YUYV. but when i run mxc_v4l2_capture.out i get only yuv420.  we have to bypass isp to convert? correct me if i'm wrong. if so how?. if any other method you guys know just share with me.

regards,

Ganesh Biradar

Labels (4)
0 Kudos
3 Replies

46 Views
joanxie
NXP TechSupport
NXP TechSupport

maybe you can try to use gstreamer, which can support this function,

for example:gst-launch mfw_v4lsrc  num-buffers=100 fps-n=15 capture-width=640 capture-height=480 preview=true preview-width=320 preview-height=240 ! filesink location="video.yuv"

0 Kudos

46 Views
gbiradar
Contributor IV

Hi joanxie

thanks for your reply, well what you said i'm not looking in that side rather i want the change should be at driver code side. if you know anything about please let me know.

regards,

Ganesh Biradar

0 Kudos

46 Views
joanxie
NXP TechSupport
NXP TechSupport

in fact, IPU has hardware module named CSC(color space conversion), which can change data from different data format, so you don't need to care about this on driver level, if you want to change the source code of csc, you can find it in the bsp.

0 Kudos