imx8dx linux driver v4l2 Support NV21 format

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

imx8dx linux driver v4l2 Support NV21 format

634 次查看
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 项奖励
5 回复数

629 次查看
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 项奖励

625 次查看
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 项奖励

618 次查看
joanxie
NXP TechSupport
NXP TechSupport

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

0 项奖励

615 次查看
songhongliang
Contributor II

need to convert the input video to NV21

0 项奖励

601 次查看
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 项奖励