Hi.
I'd like to set VDI mode motion 0 on the Android BSP with below source.
How could I do it???
According to Doc :
i.MX6 IPU TVIN Application Note
4.3 On The Fly De-interlace
Except for the memory to memory de-interlace, the IPU can also support on the fly de-interlace
with CSI->VDI->MEM (g_input = 3 with VIDIOC_S_INPUT) and CSI->VDI->IC->MEM (g_input = 2
with VIDIOC_S_INPUT) capture path: https://community.nxp.com/docs/DOC-330441
Limitations:
1. Since the IC can only output resolution up to 1024*1024, so this is the limitation on output for
CSI->VDI->IC->MEM path.
2. Since the VDI can only output resolution up to 968*1024, so CSI->VDI->MEM can’t work for
1080i capture.
3. Only VDI motion mode 2 was supported. To avoid dithering, the driver should set one field
data for CSI->VDI->xxx path, set VDI_SKIP and VDI_MAX_RATIO_SKIP to 1 in register
IPU_SKIP.
Note: The reason to set VDI_SKIP to skip one field data, ODD field starts from line 1 and EVEN
field starts from line2, so they are one line shift, if the VDI using both field data, the output video will
dithering between switching ODD and EVEN field.