do not de-interlace when interlace to progressive

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

do not de-interlace when interlace to progressive

1,236 Views
runrunrun
Contributor I

Version:1.0 StartHTML:000000204 EndHTML:000037377 StartFragment:000037014 EndFragment:000037295 StartSelection:000037014 EndSelection:000037295 SourceURL:https://community.nxp.com/docs/DOC-334961do not de-interlace when interlace to progressive | NXP Community

i work with IMX6q,i find VDI is not work,And the video picture has聽Horizontal stripe.

i want to know how should i make VDI work?

FAE tell me enable g_vdi_enable in mxc_v4l2_tvin.c.but i do it already.The VDI don't聽 still work.

please help me, many thanks

0 Kudos
5 Replies

727 Views
runrunrun
Contributor I

I use SD camera,CVBS signal,output BT656 interlace data, and at cpu side,it need to change interlace to P,

but I find video is shaking,and has Horizontal stripes,I think it did not do deinterlace.

but in camerahal,I find it did not enter ipu_device.c, it enter mxc_v4l2_capture.c by ioctl function.

accord I understand,deinterlace is dealed in ipu_device.c.

Please help me, how should i make camerahal do deinterlace. 

0 Kudos

727 Views
joanxie
NXP TechSupport
NXP TechSupport

if you need to display the video from an interlaced source, one can use the unit test mxc_v4l2_tvin,

if you capture an interlaced video, the driver was not added on Freescale kernel. Need to port the driver created by Philip on the following document:

De-interlace Capture Device

0 Kudos

727 Views
runrunrun
Contributor I

when i use this patch,and use unit test mxc_v4l2_tvin.

video is black screen.

i find task_id is 1

[ 79.386847] imx-ipuv3 2400000.ipu: [0xd3340800]Do task no:0x10: id 1
[ 79.393458] imx-ipuv3 2400000.ipu: ERR[0xd3340800-no:0x10]ipu task_id:1 busy!
[ 79.400698] imx-ipuv3 2400000.ipu: ERR:[0xd3340800] no-0x10 state: ipu busy
[ 79.407805] imx-ipuv3 2400000.ipu: ERR: [0xd3340800] no-0x10,state 8: ipu busy
[ 79.416547] imx-ipuv3 2400000.ipu: ERR: no-0x10,ipu_queue_task err:-125
[ 79.423842] mxc_v4l2_output v4l2_out.33: display work fail ret = -125

0 Kudos

727 Views
runrunrun
Contributor I

De-interlace Capture Device

this patch i had already tried,but it did not work.i use imx6,kernel version is 3.10.53.

i need to make camerahal do de-interlace. don't use the unit test mxc_v4l2_tvin.

i neel to code in camerahal layer.can you provide a patch?

0 Kudos

727 Views
joanxie
NXP TechSupport
NXP TechSupport

yes, mxc_v4l2_tvin.out is used for de-interlacing work, if it failed, could you tell me what camera you use? and what format do you need? BT565? pls share with more detailed information for your issue

0 Kudos