Does i.MX 8X support V4L2_FIELD_ALTERNATE with MIPI CSI-2?

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

Does i.MX 8X support V4L2_FIELD_ALTERNATE with MIPI CSI-2?

1,105件の閲覧回数
petero5
Contributor IV

Hi, we are using i.MX 8QuadXPlus with ADV7280A-M over MIPI CSI-2. And the i2c adv7180 driver.

Using VIDIOC_S_FMT with fmt.fmt.pix_mp.field = V4L2_FIELD_ALTERNATE

Following VIDIOC_DQBUF:

buf.field is 1 V4L2_FIELD_NONE...

and buf.sequence increments each time (contrary to "In V4L2_FIELD_ALTERNATE mode the top and bottom field have the same sequence number.") - https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/buffer.html#struct-v4l2-buffer

We are getting 50fps, 720 x 288, so we are receiving interlaced frames.

But the meta data in the v4l2_buffer isn't as expected for V4L2_FIELD_ALTERNATE.

Is there something more we need to do to enable V4L2_FIELD_ALTERNATE support in the drivers?

Thank you
-- Peter

タグ(2)
0 件の賞賛
返信
5 返答(返信)

1,082件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

I sent a patch to you for reference, this is just an example, not official released version, so I couldn't share it on the public community, pls check your mail

0 件の賞賛
返信

832件の閲覧回数
ToarteFretter
Senior Contributor I

Hi @joanxie,

We're using the same ADV7280 chip and worked closely quite some time ago with NXP on this de-interlacing issue on the i.MX8QM, and basically came to the conclusion it's impossible to get the odd/even detection to work properly or to get automatically right in case the odd/even cadence is wrong.

So we're very interested in this patch!

Can you share this please?

Thank you very much.

Hi @petero5, were you able to properly de-interlace the odd/even fields from the ADV7280?

Best regards.

0 件の賞賛
返信

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

pls submit a ticket, otherwise I couldn't mail to you direclty

https://www.nxp.com/support/support:SUPPORTHOME?tid=sbmenu

0 件の賞賛
返信

790件の閲覧回数
ToarteFretter
Senior Contributor I

Hi @joanxie,

I just submitted a ticket, Case Number 00715976.

Thanks!

Best regards.

0 件の賞賛
返信

1,092件の閲覧回数
petero5
Contributor IV
0 件の賞賛
返信