Qiang Li - Mpu Se

1080i de-interlance support for iMX53, based on L2.6.35_11.09.01 BSP -blog archive

Discussion created by Qiang Li - Mpu Se Employee on Jun 25, 2012
Latest reply on Dec 1, 2016 by Philip Martin

    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

Outcomes