Does i.MX 8X support V4L2_FIELD_ALTERNATE with MIPI CSI-2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
