diff options
Diffstat (limited to 'Documentation/video4linux/v4l2-framework.txt')
-rw-r--r-- | Documentation/video4linux/v4l2-framework.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/video4linux/v4l2-framework.txt b/Documentation/video4linux/v4l2-framework.txt index 6c4866b49eb5..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 | --------------------- |
@@ -768,6 +772,7 @@ types exist: | |||
768 | VFL_TYPE_GRABBER: videoX for video input/output devices | 772 | VFL_TYPE_GRABBER: videoX for video input/output devices |
769 | VFL_TYPE_VBI: vbiX for vertical blank data (i.e. closed captions, teletext) | 773 | VFL_TYPE_VBI: vbiX for vertical blank data (i.e. closed captions, teletext) |
770 | VFL_TYPE_RADIO: radioX for radio tuners | 774 | VFL_TYPE_RADIO: radioX for radio tuners |
775 | VFL_TYPE_SDR: swradioX for Software Defined Radio tuners | ||
771 | 776 | ||
772 | The last argument gives you a certain amount of control over the device | 777 | The last argument gives you a certain amount of control over the device |
773 | device node number used (i.e. the X in videoX). Normally you will pass -1 | 778 | device node number used (i.e. the X in videoX). Normally you will pass -1 |