Interlace Capturing Modes Via Parallel CSI (IPU1CSI0)

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

Interlace Capturing Modes Via Parallel CSI (IPU1CSI0)

ソリューションへジャンプ
1,537件の閲覧回数
tengri
Contributor IV

Hi All,

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

Anuradha

ラベル(3)
0 件の賞賛
返信
1 解決策
1,251件の閲覧回数
tengri
Contributor IV

Hi, I solved the issue by myself, for the INTERLACE_SDR mode, correct CCIR codes have to specified for CODE1 and CODE2 registers with respect to the EAV/SAV codes !

Anuradha 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,252件の閲覧回数
tengri
Contributor IV

Hi, I solved the issue by myself, for the INTERLACE_SDR mode, correct CCIR codes have to specified for CODE1 and CODE2 registers with respect to the EAV/SAV codes !

Anuradha 

0 件の賞賛
返信
1,252件の閲覧回数
tengri
Contributor IV

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 ?

https://community.nxp.com/docs/DOC-332679 

Anuradha

0 件の賞賛
返信