iMX6 camera patch to support CSI->VDI->IC->MEM and CSI->VDI->MEM capture

Document created by Qiang Li - Mpu Se Employee on Apr 12, 2016Last modified by Qiang Li - Mpu Se Employee on Feb 21, 2020
Version 7Show Document
  • View in full screen mode

The patches are based on iMX6 L3.10.53 and 3.14.52 GA BSP.


In default linux BSP, the followed two pathes were supported in kernel driver mxc_v4l2_capture.c:


After appied these patches, it can support the followed path:

In this mode, the VDI de-interlace will be handled on the fly, so the whole system bandwidth will be reduced.


1. Since the IC can only output resolution up to 1024*1024, so this is the limation on output.
2. Only VDI motion mode 2 was supported.
It is the test aplication,
test command for CSI->VDI->IC->MEM ("-i 2" means CSI->VDI->IC->MEM path.):
./mxc_v4l2_tvin.out -ol 0 -ot 0 -ow 800 -oh 480 -i 2 -g2d"


test command for CSI->VDI->MEM ("-i 3" means CSI->VDI->MEM path.):
./mxc_v4l2_tvin.out -ol 0 -ot 0 -ow 800 -oh 480 -i 3 -g2d"



5 people found this helpful