Hi all,
I got a custom imx6q sabersd HW platform with ADV7441, the ADV7441 is HDMI ---> CSI encoder, support bt1120 interface. And I was able to received BT.1120 progressive data. But when tried to received BT.1120 interlaced data, the video was displayed but moving from the top side to the bottom side quickly. Were anyone able to capture any BT.1120 interlaced video on imx6q sabersd HW platform? If so, any other modification to the code for BT.1120 interlaced data is needed except for setting the clockmode to IPU_CSI_CLK_MODE_CCIR1120_INTERLACED_SDR?
Thank you in advance
Bell
Solved! Go to Solution.
Qiang Li wrote:
For the screen scroll issue, in kernel file "mxc_v4l2_capture.c", you can adjust the active_top value to fix it.
static video_fmt_t video_fmts[] = {
{ /*! NTSC */
.v4l2_id = V4L2_STD_NTSC,
.name = "NTSC",
.raw_width = 720, /* SENS_FRM_WIDTH */
.raw_height = 525, /* SENS_FRM_HEIGHT */
.active_width = 720, /* ACT_FRM_WIDTH */
.active_height = 480, /* ACT_FRM_HEIGHT */
.active_top = 13,
.active_left = 0,
},
The issue has been fixed. Thanks for your reply.
How did you fixed it ?
I follow the instruction here Re: 16bit BT1120 does not work on MX6Q
but neither
__raw_writel(0x40596, CSI_CCIR_CODE_1(csi));
__raw_writel(0xD07DF, CSI_CCIR_CODE_2(csi));
__raw_writel(0xFF0000, CSI_CCIR_CODE_3(csi));
nor
__raw_writel(0xD07DF, CSI_CCIR_CODE_1(csi));
__raw_writel(0x40596, CSI_CCIR_CODE_2(csi));
__raw_writel(0xFF0000, CSI_CCIR_CODE_3(csi));
works.
Thanks.