imx8dx linux driver v4l2 Support NV21 format

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8dx linux driver v4l2 Support NV21 format

671件の閲覧回数
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!

ラベル(1)
0 件の賞賛
5 返答(返信)

666件の閲覧回数
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 件の賞賛

662件の閲覧回数
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 件の賞賛

655件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

0 件の賞賛

652件の閲覧回数
songhongliang
Contributor II

need to convert the input video to NV21

0 件の賞賛

638件の閲覧回数
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 件の賞賛