Due to IM53 IPU VDIC hardware limitation, the input and output size for VDIC is 968*1024, so for 1080i, it can't be supported ditectly, we need use split mode to support 1080i de-interlance.
IPU lib to support VDI split mode:
ER1109_ipu_lib_vdi_split_support.zip
Updated ipu lib source code: imx-lib-11.09.01\ipu\mxc_ipu_hl_lib.c;
Updated vpu unit test code: imx-test-11.09.01\test\mxc_vpu_test
Test command (d1.mp2 is the interlanced MPEG2 RAW video; 1080i.mp4 is the interlanced H.264 RAW video):
./mxc_vpu_test.out -D "-i /d1.mp2 -x 1 -f 4 -v h -w 1920 -h 1080"
./mxc_vpu_test.out -D "-i /1080i.264 -x 1 -f 2 -v h -w 1920 -h 1080"
Kernel V4L2 driver to support VDI split mode:
ER1109_v4l2_VDI_Split_patch.zip
vdi_split.patch is the kernel patch;
mxc_v4l2_output.c is the patched kernel source code file "linux-2.6.35.3\drivers\media\video\mxc\output\mxc_v4l2_output.c".
Test command (d1.mp2 is the interlanced MPEG2 RAW video; 1080i.mp4 is the interlanced H.264 RAW video):
./mxc_vpu_test.out -D "-i /d1.mp2 -x 0 -f 4 -v h -w 1920 -h 1080"
./mxc_vpu_test.out -D "-i /1080i.264 -x 0 -f 2 -v h -w 1920 -h 1080"
Original Attachment has been moved to: 22-ER1109_ipu_lib_vdi_split_support.zip
Original Attachment has been moved to: 23-ER1109_v4l2_VDI_Split_patch.zip
Can this be made to support the imx6?
- i'm really interested in 1080i->1080p @ 60Hz on the imx6
Thanks
The default iMX6 BSP supports it.
Thanks for your reply Qiang Li
So, just to confirm, this patch supports 1080i -> 1080p / 60 on the imx6?
- can you provide a link to the correct BSP?
Thanks
Could I know what's device we can test your codes? I'd like to test video input with 720p or 1080i on i.mx53, but I could not find the device to test. Thanks.
You can test it on iMX53 QSB board with VGA output.