i.MX6 Solo CSI progressive mode

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

i.MX6 Solo CSI progressive mode

762件の閲覧回数
m_c
Senior Contributor I

Customer use ADV7283 connect to i.MX6 CSI port. It is fine in interlaced mode but with some gray distortion issue. So customer would like to change to progressive mode to see any improve. After modify below, only first frame can be capture and also in wrong resolution. If there anything miss for changing CSI to progressive mode?

Path: kernel/drivers/media/video/mxc/capture/mxc_v4l2_capture.c

static int mxc_v4l2_s_param(cam_data *cam, struct v4l2_streamparm *parm)

{

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

- csi_param.clk_mode = IPU_CSI_CLK_MODE_CCIR656_INTERLACED;

+ csi_param.clk_mode = IPU_CSI_CLK_MODE_CCIR656_PROGRESSIVE;

else

csi_param.clk_mode = IPU_CSI_CLK_MODE_GATED_CLK;

}

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

472件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi m.c,

   I checked ADV7283 datasheet, there is an interlace-to-progressive mode in ADV7283, so you don't need to modify source code in mxc_v4l2_capture.c, at the time, you should regard video output of ADV7283 as that of digital camera, like ov5640/ov5642 etc.

Regards,

Weidong