I am trying to capture interlace HDMI formats from the ADV7611 Encoder via IPU1CSI0 parallel camera interface. The encoder uses the 16-bit parallel camera bus. I was successfully able to capture 1080p and 720p video formats, but have no luck in capturing 1080i and some other interlace formats.
This encoder also inherits the CSI capturing sensor routines, so for interlace capturing support I switched the sensor data type to :
p->if_type = V4L2_IF_TYPE_BT1120_INTERLACE_SDR;
And I notice the CSI0 of IPU1 makes the use of CSI->IC->MEM path for capturing in mxc_v4l2_capture.c.
But I only see the captured frames moving very fast vertically for 1080i input as shown in attached picture. So what else should be in my checklist to get this work from IPU side ? Is there any patches available to make this work ? I am using kernel 4.1.15_1.0 with yocto Krogoth on MX6Q !
Thanks in Advance
I made some improvements in driver side to correct the sizes of the frames it sends to IPU. Now I have 1080i resolution, but the frames move vertically quite faster and I suspect may be CCIR codes are not correct for the interlace mode.
However I can verify that the IPU settings are in accordance with Interlace SDR specification given in following TVIN application note. Only difference I see is the CCIR code 1-2 and 3 values for the given interlace mode. How should I achieve this ? Can anyone show me an insight to this ?