imx8dx linux driver v4l2 Support NV21 format

cancel
Showing results for 
Search instead for 
Did you mean: 

imx8dx linux driver v4l2 Support NV21 format

140 Views
songhongliang
Contributor II

HI

I now hope that the v4l2 driver of imx8dx can support the format of V4L2_PIX_FMT_NV21, how do I need to modify it to achieve this function. I see that the driver already supports the V4L2_PIX_FMT_NV12 format.

Thanks!

0 Kudos
5 Replies

135 Views
joanxie
NXP TechSupport
NXP TechSupport

I don't know capture or output you mean, I assume that you mean capture, so do you mean your input video is format NV21?

0 Kudos

131 Views
songhongliang
Contributor II

HI

Yes, it is capture, I am using AHD to mipi chip bridge, I see that 9 capture formats are already supported in the imx8-isi-cap.c file, but format NV21 is not supported. I hope that the video stream in NV21 format can be directly obtained in the application.

 

Thanks!

0 Kudos

124 Views
joanxie
NXP TechSupport
NXP TechSupport

the format from chip bridge is NV21 or you need to convert the input video to NV21?

0 Kudos

121 Views
songhongliang
Contributor II

need to convert the input video to NV21

0 Kudos

107 Views
joanxie
NXP TechSupport
NXP TechSupport

what is your real capture data? do you need convert raw data to NV12? if yes, you can use software ISP do this,

"https://www.nxp.com.cn/docs/en/application-note/AN12060.pdf"

0 Kudos