diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2014-03-14 07:38:21 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-14 08:53:53 -0400 |
commit | 926977e0ae75567a87d95b245eea589a8bbb8682 (patch) | |
tree | af61928575958ee1366d9e467a508323719feced /Documentation/video4linux/v4l2-framework.txt | |
parent | b9e28d1f8301d6e393b8937282f325f13fb9cf6a (diff) |
[media] v4l2-pci-skeleton: add a V4L2 PCI skeleton driver
This example driver uses all the latest frameworks and can serve as a
starting point for a new V4L2 PCI driver.
Originally written for a presentation on how to use V4L2 frameworks
during FOSDEM 2014.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation/video4linux/v4l2-framework.txt')
-rw-r--r-- | Documentation/video4linux/v4l2-framework.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/video4linux/v4l2-framework.txt b/Documentation/video4linux/v4l2-framework.txt index ae3a2cc4f3ed..667a43361706 100644 --- a/Documentation/video4linux/v4l2-framework.txt +++ b/Documentation/video4linux/v4l2-framework.txt | |||
@@ -34,6 +34,10 @@ So this framework sets up the basic building blocks that all drivers | |||
34 | need and this same framework should make it much easier to refactor | 34 | need and this same framework should make it much easier to refactor |
35 | common code into utility functions shared by all drivers. | 35 | common code into utility functions shared by all drivers. |
36 | 36 | ||
37 | A good example to look at as a reference is the v4l2-pci-skeleton.c | ||
38 | source that is available in this directory. It is a skeleton driver for | ||
39 | a PCI capture card, and demonstrates how to use the V4L2 driver | ||
40 | framework. It can be used as a template for real PCI video capture driver. | ||
37 | 41 | ||
38 | Structure of a driver | 42 | Structure of a driver |
39 | --------------------- | 43 | --------------------- |