Is bt.656 the only timing mode when using V4L2 Capture

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is bt.656 the only timing mode when using V4L2 Capture

752 Views
axellagrange
Contributor II

Hello,

In media/platform/mxc/capture/v4l2-int-device.h, there is only one input format defined : V4L2_IF_TYPE_BT656.

Does this means that the only timing mode for CSI is BT.656 mode when using the imx6q-v4l2-capture IPU driver?

How to deal with a  sensor camera connected to CSI in gated mode ie with HSync VSync?

Note : I use the terms BT.656 mode and gated mode as described into the IMX6DQRM

Thank you

Labels (2)
0 Kudos
3 Replies

566 Views
axellagrange
Contributor II

 I found my answer : into mxc_v4l2_capture.c,  bt656.clock_curr != 0 configures CSI in gated mode.

0 Kudos

566 Views
joanxie
NXP TechSupport
NXP TechSupport

yes, if you want to use gated mode, you can modify this source code, if you want to use bt656 progressive mode, you can change the "INTERLACED" to "PROGRESSIVE"

if (ifparm.u.bt656.clock_curr == 0)

  csi_param.clk_mode = IPU_CSI_CLK_MODE_CCIR656_INTERLACED;

else

  csi_param.clk_mode = IPU_CSI_CLK_MODE_GATED_CLK;

0 Kudos

566 Views
joanxie
NXP TechSupport
NXP TechSupport

"How to deal with a  sensor camera connected to CSI in gated mode ie with HSync VSync?" what mode do you need? bt656 mode or gated mode? do you need to capture bt656 in gated mode?? de-interlacing?

0 Kudos