summaryrefslogtreecommitdiff
path: root/multimedia/camserv/files/patch-aa
blob: b0c28cf0ad1eda58fcdb562748cbffc719299126 (plain) (blame)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
*** camserv.cfg.orig	Sun Feb 13 18:07:06 2000
--- camserv.cfg	Sat Aug 19 02:51:13 2000
***************
*** 1,45 ****
  # video_basic: The 'basic' color-changing video module.
  [video_basic]
  path		/usr/local/lib/libvideo_basic.so
  
- # video_v4l_bttv:  Example of a common BTTV module for video4linux.  
- # port 0 == TV, port 1 = Composite 1, port 2 = Composite 2
- # frequency == is the channel frequency for the TV
- # autobright == 0 turns off autobrightness adjusting, otherwise it adjusts
- #               the brightness of the picture every 'autobright' frames.
- # brightmean == The mean pixel value that is the 'goal' of the autobright.
- #               (0->255)
- # brightx1->y2 == (x1,y1) top left coords, and (x2,y2) bottom right coords
- #                 of a rectangle of which to take the average pixel value.
- #                 this is then used in calculating the mean to adjust the
- #                 brightness of the image.
- # mode == the video norm to use:  0 == PAL, 1 == NTSC, 2 == SECAM, 3 == AUTO
- # color,hue,contrast,brightness,whiteness = 0->60000, representing
- # the value of each component.
- 
- [video_v4l_bttv]
- path		/usr/local/lib/libvideo_v4l.so
- device_path	/dev/video0
- port		0
- mode		3
- frequency	74.43
- color		30000
- hue		30000
- contrast	30000
- brightness	30000
- whiteness	30000
- autobright	1
- brightmean      128
- brightx1	0
- brighty1	320
- brightx2	0
- brighty2	240
- 
  # FreeBSD BTTV driver:
  # port 0  = Video
  #      1  = Tuner
  # Channel Sets:
  # nabscst   1
  # cableirc  2
  # cablehrc  3
  # weurope   4
--- 1,14 ----
  # video_basic: The 'basic' color-changing video module.
  [video_basic]
  path		/usr/local/lib/libvideo_basic.so
  
  # FreeBSD BTTV driver:
  # port 0  = Video
  #      1  = Tuner
+ #      2  = S-Video
+ #
  # Channel Sets:
  # nabscst   1
  # cableirc  2
  # cablehrc  3
  # weurope   4
***************
*** 47,78 ****
  # jpncable  6
  # xussr     7
  # australia 8
  
  [video_fbsd_bttv]
! path		/usr/local/lib/libvideo_fbsd_bttv.so.0.0
  port		1
  width		320
  height		240
  autobright	100
  #brightness	0
  #chroma		180
  #contrast	1000
! channelset      2
! channel         60
! 
! [video_v4l_qcam]
! path		/usr/local/lib/libvideo_v4l.so
! device_path	/dev/video1
! port		0
! color		30000
! hue		30000
! contrast	30000
! brightness	30000
! whiteness	30000
! autobright	0
! 
  
  [jpg_filter]
  path            /usr/local/lib/libjpg_filter.so
  quality		30
  
--- 16,35 ----
  # jpncable  6
  # xussr     7
  # australia 8
  
  [video_fbsd_bttv]
! path		/usr/local/lib/libvideo_fbsd_bttv.so
  port		1
  width		320
  height		240
  autobright	100
  #brightness	0
  #chroma		180
  #contrast	1000
! channelset      1
! channel         3
  
  [jpg_filter]
  path            /usr/local/lib/libjpg_filter.so
  quality		30
  
***************
*** 147,157 ****
  # [video] - This section is devoted to all things dealing with the pictures
  #           taken by the input video module.  These are general things which
  #           should be used by all video modules.
  
  [video]
! video_section		video_v4l_bttv
  width			320
  height			240
  maxfps                  0
  memhack			1
  
--- 104,114 ----
  # [video] - This section is devoted to all things dealing with the pictures
  #           taken by the input video module.  These are general things which
  #           should be used by all video modules.
  
  [video]
! video_section		video_fbsd_bttv
  width			320
  height			240
  maxfps                  0
  memhack			1
  
*** configure.orig	Sun Feb 13 18:33:16 2000
--- configure	Sat Aug 19 02:48:27 2000
***************
*** 2181,2193 ****
    echo "$ac_t""no" 1>&6
  fi
  
  echo $ac_n "checking for gdk_pixbuf""... $ac_c" 1>&6
  echo "configure:2186: checking for gdk_pixbuf" >&5
! GDK_PIXBUF_CFLAGS=`$gnomeconfig gdk_pixbuf --cflags`
! GDK_PIXBUF_LDFLAGS=`$gnomeconfig gdk_pixbuf --libs`
! 
  
  if test "_$GDK_PIXBUF_CFLAGS" != _; then
    HAVE_GDK_PIXBUF_TRUE=
    HAVE_GDK_PIXBUF_FALSE='#'
  else
--- 2181,2196 ----
    echo "$ac_t""no" 1>&6
  fi
  
  echo $ac_n "checking for gdk_pixbuf""... $ac_c" 1>&6
  echo "configure:2186: checking for gdk_pixbuf" >&5
! echo "gdk_pixbuf seems to be broken in FreeBSD"
! echo "not configuring GDK Pixbuf filter in this build"
! # GDK_PIXBUF_CFLAGS=`$gnomeconfig gdk_pixbuf --cflags`
! # GDK_PIXBUF_LDFLAGS=`$gnomeconfig gdk_pixbuf --libs`
! GDK_PIXBUF_CFLAGS=
! GDK_PIXBUF_LDFLAGS=
  
  if test "_$GDK_PIXBUF_CFLAGS" != _; then
    HAVE_GDK_PIXBUF_TRUE=
    HAVE_GDK_PIXBUF_FALSE='#'
  else