29.04.2015 Views

DevKit8500D/A User Manual - DMCS Pages for Students

DevKit8500D/A User Manual - DMCS Pages for Students

DevKit8500D/A User Manual - DMCS Pages for Students

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.5.4 Video capture<br />

Video capture application<br />

Use<br />

r<br />

V4L2 LAYER<br />

CAMERA DRIVER<br />

Kernel<br />

CCDC DRIVER<br />

DECODER DRIVER<br />

HARDWARE<br />

Hardware<br />

Figure 3.5.4 Modular structure <strong>for</strong> video capture<br />

V4L2 Subsystem:<br />

The Linux V4L2 subsystem is used as an infrastructure to support the operation of the Camera<br />

Driver. Camera applications mainly use the V4L2 API to access the Camera Driver functionality. A<br />

Linux 2.6 V4L2 implementation is used in order to support the standard features that are defined in<br />

the V4L2 specification.<br />

Video Buffer Library:<br />

This library comes with V4L2. It provides helper functions to cleanly manage the video buffers<br />

through a video buffer queue object.<br />

Camera Driver:<br />

The Camera Driver allows capturing video through an external decoder. The camera driver is<br />

registered to the V4L2 layer as a master device driver. Any slave decoder driver added to the<br />

V4L2 layer will be attached to this driver through the new V4L2 master-slave interface layer. The<br />

current implementation supports only one slave device.<br />

42

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!