aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/video4linux/v4l2-framework.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/video4linux/v4l2-framework.txt')
-rw-r--r--Documentation/video4linux/v4l2-framework.txt5
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
34need and this same framework should make it much easier to refactor 34need and this same framework should make it much easier to refactor
35common code into utility functions shared by all drivers. 35common code into utility functions shared by all drivers.
36 36
37A good example to look at as a reference is the v4l2-pci-skeleton.c
38source that is available in this directory. It is a skeleton driver for
39a PCI capture card, and demonstrates how to use the V4L2 driver
40framework. It can be used as a template for real PCI video capture driver.
37 41
38Structure of a driver 42Structure of a driver
39--------------------- 43---------------------
@@ -768,6 +772,7 @@ types exist:
768VFL_TYPE_GRABBER: videoX for video input/output devices 772VFL_TYPE_GRABBER: videoX for video input/output devices
769VFL_TYPE_VBI: vbiX for vertical blank data (i.e. closed captions, teletext) 773VFL_TYPE_VBI: vbiX for vertical blank data (i.e. closed captions, teletext)
770VFL_TYPE_RADIO: radioX for radio tuners 774VFL_TYPE_RADIO: radioX for radio tuners
775VFL_TYPE_SDR: swradioX for Software Defined Radio tuners
771 776
772The last argument gives you a certain amount of control over the device 777The last argument gives you a certain amount of control over the device
773device node number used (i.e. the X in videoX). Normally you will pass -1 778device node number used (i.e. the X in videoX). Normally you will pass -1