Hi all,
I have a custom imx6 solo board which have one bt656 video source (not a camera, only 8bit data plus pixclk pin) conntect to IPU. 8bit data pin connect to imx6 CSI0_DAT12~CSI0_DAT19 and pixclk pin connect CSI0_PIXCLK. I want to capture this video source and display onto lvds panel. How to capture this video stream?
Do I need write a dummy camera driver to handle this bt656 video data? or have another simple method to handle it ? Any patch, article, guide or document is appreciatively, Thanks
HiQiang_FSL,
I searched your document "Patch to Support BT656 and BT1120 Output For i.MX6 BSP" (Patch to Support BT656 and BT1120 Output For i.MX6 BSP ), but this patch is for BT656 video output, Any suggestion about bt656 video stream input for i.MX6? Thanks
已解决! 转到解答。
The BT656 input was already supported by default BSP, you can reference to "drivers\media\video\mxc\capture\adv7180.c".
Since you only connected 8 data lines and the pixel clock, only one modification was needed:
in function ioctl_g_ifparm():
Change from
p->u.bt656.bt_sync_correct = 1;
To
p->u.bt656.bt_sync_correct = 0;
The BT656 input was already supported by default BSP, you can reference to "drivers\media\video\mxc\capture\adv7180.c".
Since you only connected 8 data lines and the pixel clock, only one modification was needed:
in function ioctl_g_ifparm():
Change from
p->u.bt656.bt_sync_correct = 1;
To
p->u.bt656.bt_sync_correct = 0;
HI, Qiang Li
when i set as you said. but it doesn't work. Did i need do anything else? (I have a custom imx6 solo board which have one bt656 video source (not a camera, only 8bit data plus pixclk pin) conntect to IPU)。
Or ,did you have any solution to deal with this case.
Your input is same as adv7180, BT656 with 1 pixel line and 8 data line.
You can reference to this document: https://community.nxp.com/docs/DOC-332679
你好。关于这个我有个疑问,可否帮我解答
mxc_v4l2_tvin.c
gettimeofday(&tv_current, 0);
total_time = (tv_current.tv_sec - tv_start.tv_sec) * 1000000L;
total_time += tv_current.tv_usec - tv_start.tv_usec;
printf("total time for %u frames = %u us = %lld fps\n", i, total_time, (i * 1000000ULL) / total_time);
这个打印lOG是"total time for 600 frames = 20032855 us = 29 fps". 我想知道怎么更改展示的fps。我这边bt565数据来的是60帧的。可这里只有29fps.不知道这个要怎么改?