1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
*** ../pwlib/src/ptlib/unix/video4bsd.cxx.orig Tue Oct 29 00:15:59 2002
--- ../pwlib/src/ptlib/unix/video4bsd.cxx Tue Oct 29 00:16:17 2002
***************
*** 24,29 ****
--- 24,32 ----
* Contributor(s): Roger Hardiman <roger@freebsd.org>
*
* $Log: video4bsd.cxx,v $
+ * Revision 1.20 2002/10/28 19:12:45 rogerh
+ * Add svideo input support for Lars Eggert <larse@isi.edu>
+ *
* Revision 1.19 2002/04/10 08:40:36 rogerh
* Simplify the SetVideoChannelFormat() code. Use the implementation in the
* ancestor class.
*************** BOOL PVideoInputDevice::Open(const PStri
*** 129,135 ****
videoCapability.minwidth = 32;
videoCapability.maxheight = 768;
videoCapability.maxwidth = 576;
! videoCapability.channels = 4;
// set height and width
frameHeight = videoCapability.maxheight;
--- 132,138 ----
videoCapability.minwidth = 32;
videoCapability.maxheight = 768;
videoCapability.maxwidth = 576;
! videoCapability.channels = 5;
// set height and width
frameHeight = videoCapability.maxheight;
*************** BOOL PVideoInputDevice::SetChannel(int n
*** 259,266 ****
return FALSE;
// set channel information
! static int chnl[4] = { METEOR_INPUT_DEV0, METEOR_INPUT_DEV1,
! METEOR_INPUT_DEV2, METEOR_INPUT_DEV3 };
int channel = chnl[newChannel];
// set the information
--- 262,270 ----
return FALSE;
// set channel information
! static int chnl[5] = { METEOR_INPUT_DEV0, METEOR_INPUT_DEV1,
! METEOR_INPUT_DEV2, METEOR_INPUT_DEV3,
! METEOR_INPUT_DEV_SVIDEO };
int channel = chnl[newChannel];
// set the information
|