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

Document created by Qiang Li Employee on Apr 12, 2016Last modified by Qiang Li Employee on Apr 12, 2016
Version 2Show 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:
CSI->IC->MEM
CSI->MEM

 

After appied these patches, it can support the followed path:
CSI->VDI->IC->MEM
CSI->VDI->MEM

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

 

Limitations:
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.

 

mxc_v4l2_tvin.zip:
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"

2 people found this helpful

Outcomes