New example.
[cl-v4l2.git] / package.lisp
blobe9edfc7a1000d83c1ade32170b038a61b96b8321
1 ;; Copyright 2009 Vitaly Mayatskikh <v.mayatskih@gmail.com>
2 ;;
3 ;; This file is a part of CL-Video4Linux2
4 ;;
5 ;; CL-Cluster is free software: you can redistribute it and/or modify
6 ;; it under the terms of the GNU General Public License as published by
7 ;; the Free Software Foundation, either version 3 of the License, or
8 ;; (at your option) any later version.
9 ;;
10 ;; CL-Cluster is distributed in the hope that it will be useful,
11 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ;; GNU General Public License for more details.
15 ;; You should have received a copy of the GNU General Public License
16 ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
18 (defpackage #:cl-v4l2
19 (:nicknames :v4l2)
20 (:use :cl :cffi :iolib.syscalls #:trivial-garbage #:closer-mop)
21 (:shadow :format :standard)
22 (:export
23 #:query-capabilities
24 #:capable
25 #:get-stream-params
26 #:get-tuner-params
27 #:get-input-params
28 #:get-input-standard
29 #:get-format
30 #:capability-driver
31 #:capability-card
32 #:capability-bus
33 #:capability-version
34 #:%device-info
35 #:device-info
36 #:set-input
37 #:set-image-format
38 #:get-image-format
39 #:request-buffers
40 #:query-buffer
41 #:query-buffers
42 #:map-buffers
43 #:unmap-buffers
44 #:stream
45 #:stream-on
46 #:stream-off
47 #:get-frame
48 #:put-frame
49 #:set-control
51 ;; structs
52 #:capability
53 #:fract
54 #:captureparm
55 #:outputparm
56 #:streamparm
57 #:tuner
58 #:standard
59 #:input
60 #:fmtdesc
61 #:pix-format
62 #:timecode
63 #:requestbuffers
64 #:buffer
65 #:format
67 ;; constants
68 #:vidioc-querycap
69 #:vidioc-get-parm
70 #:vidioc-get-tuner
71 #:vidioc-enuminput
72 #:vidioc-enumstd
73 #:vidioc-enum-fmt
74 #:vidioc-set-input
75 #:vidioc-set-fmt
76 #:vidioc-get-fmt
77 #:vidioc-reqbufs
78 #:vidioc-querybuf
79 #:vidioc-qbuf
80 #:vidioc-dqbuf
81 #:vidioc-stream-on
82 #:vidioc-stream-off
83 #:cap-video-capture
84 #:cap-video-output
85 #:cap-video-overlay
86 #:cap-vbi-capture
87 #:cap-vbi-output
88 #:cap-sliced-vbi-capture
89 #:cap-sliced-vbi-output
90 #:cap-rds-capture
91 #:cap-video-output-overlay
92 #:cap-hw-freq-seek
93 #:cap-tuner
94 #:cap-audio
95 #:cap-radio
96 #:cap-readwrite
97 #:cap-asyncio
98 #:cap-streaming
99 #:pix-fmt-rgb332
100 #:pix-fmt-rgb444
101 #:pix-fmt-rgb555
102 #:pix-fmt-rgb565
103 #:pix-fmt-rgb555x
104 #:pix-fmt-rgb565x
105 #:pix-fmt-bgr24
106 #:pix-fmt-rgb24
107 #:pix-fmt-bgr32
108 #:pix-fmt-rgb32
109 #:pix-fmt-grey
110 #:pix-fmt-y16
111 #:pix-fmt-pal8
112 #:pix-fmt-yvu410
113 #:pix-fmt-yvu420
114 #:pix-fmt-yuyv
115 #:pix-fmt-uyvy
116 #:pix-fmt-vyuy
117 #:pix-fmt-yuv422p
118 #:pix-fmt-yuv411p
119 #:pix-fmt-y41p
120 #:pix-fmt-yuv444
121 #:pix-fmt-yuv555
122 #:pix-fmt-yuv565
123 #:pix-fmt-yuv32
124 #:pix-fmt-nv12
125 #:pix-fmt-nv21
126 #:pix-fmt-nv16
127 #:pix-fmt-nv61
128 #:pix-fmt-yuv410
129 #:pix-fmt-yuv420
130 #:pix-fmt-yyuv
131 #:pix-fmt-hi240
132 #:pix-fmt-hm12
133 #:pix-fmt-sbggr8
134 #:pix-fmt-sgbrg8
135 #:pix-fmt-sgrbg10
136 #:pix-fmt-sgrbg10dpcm8
137 #:pix-fmt-sbggr16
138 #:pix-fmt-mjpeg
139 #:pix-fmt-jpeg
140 #:pix-fmt-dv
141 #:pix-fmt-mpeg
142 #:pix-fmt-wnva
143 #:pix-fmt-sn9c10x
144 #:pix-fmt-pwc1
145 #:pix-fmt-pwc2
146 #:pix-fmt-et61x251
147 #:pix-fmt-spca501
148 #:pix-fmt-spca505
149 #:pix-fmt-spca508
150 #:pix-fmt-spca561
151 #:pix-fmt-pac207
152 #:pix-fmt-mr97310a
153 #:pix-fmt-sq905c
154 #:pix-fmt-pjpg
155 #:pix-fmt-yvyu
156 #:buf-flag-mapped
157 #:buf-flag-queued
158 #:buf-flag-done
159 #:buf-flag-keyframe
160 #:buf-flag-pframe
161 #:buf-flag-bframe
162 #:buf-flag-timecode
163 #:buf-flag-input
164 #:input-type-tuner
165 #:input-type-camera
166 #:cid-brightness
167 #:cid-contrast
168 #:cid-saturation
169 #:cid-hue
170 #:cid-audio-volume
171 #:cid-audio-balance
172 #:cid-audio-bass
173 #:cid-audio-treble
174 #:cid-audio-mute
175 #:cid-audio-loudness
176 #:cid-black-level
177 #:cid-auto-white-balance
178 #:cid-do-white-balance
179 #:cid-red-balance
180 #:cid-blue-balance
181 #:cid-gamma
182 #:cid-whiteness
183 #:cid-exposure
184 #:cid-autogain
185 #:cid-gain
186 #:cid-hflip
187 #:cid-vflip
188 #:cid-hcenter
189 #:cid-vcenter
190 #:cid-power-line-frequency
191 #:cid-hue-auto
192 #:cid-white-balance-temperature
193 #:cid-sharpness
194 #:cid-backlight-compensation
195 #:cid-chroma-agc
196 #:cid-color-killer
197 #:cid-colorfx
198 #:cid-exposure-auto
199 #:cid-exposure-absolute
200 #:cid-exposure-auto-priority
201 #:cid-pan-relative
202 #:cid-tilt-relative
203 #:cid-pan-reset
204 #:cid-tilt-reset
205 #:cid-pan-absolute
206 #:cid-tilt-absolute
207 #:cid-focus-absolute
208 #:cid-focus-relative
209 #:cid-focus-auto
210 #:cid-zoom-absolute
211 #:cid-zoom-relative
212 #:cid-zoom-continuous
213 #:cid-privacy
215 #:capability-driver
216 #:capability-card
217 #:capability-bus-info
218 #:capability-version
219 #:capability-capabilities
220 #:capability-reserved
221 #:fract-numerator
222 #:fract-denominator
223 #:captureparm-capability
224 #:captureparm-capturemode
225 #:captureparm-timeperframe
226 #:captureparm-extendedmode
227 #:captureparm-readbuffers
228 #:captureparm-reserved
229 #:outputparm-capability
230 #:outputparm-outputmode
231 #:outputparm-timeperframe
232 #:outputparm-extendedmode
233 #:outputparm-writebuffers
234 #:outputparm-reserved
235 #:streamparm-union-capture
236 #:streamparm-union-output
237 #:streamparm-union-raw-data
238 #:streamparm-type
239 #:streamparm-parm
240 #:tuner-index
241 #:tuner-name
242 #:tuner-type
243 #:tuner-capability
244 #:tuner-rangelow
245 #:tuner-rangehigh
246 #:tuner-rxsubchans
247 #:tuner-audmode
248 #:tuner-signal
249 #:tuner-afc
250 #:tuner-reserved
251 #:standard-index
252 #:standard-id
253 #:standard-name
254 #:standard-frameperiod
255 #:standard-framelines
256 #:standard-reserved
257 #:input-index
258 #:input-name
259 #:input-type
260 #:input-audioset
261 #:input-tuner
262 #:input-std
263 #:input-status
264 #:input-reserved
265 #:fmtdesc-index
266 #:fmtdesc-type
267 #:fmtdesc-flags
268 #:fmtdesc-description
269 #:fmtdesc-pixelformat
270 #:fmtdesc-reserved
271 #:pix-format-width
272 #:pix-format-height
273 #:pix-format-pixelformat
274 #:pix-format-field
275 #:pix-format-bytesperline
276 #:pix-format-sizeimage
277 #:pix-format-colorspace
278 #:pix-format-priv
279 #:timecode-type
280 #:timecode-flags
281 #:timecode-frames
282 #:timecode-seconds
283 #:timecode-minutes
284 #:timecode-hours
285 #:timecode-userbits
286 #:requestbuffers-count
287 #:requestbuffers-type
288 #:requestbuffers-memory
289 #:requestbuffers-reserved
290 #:buffer-union-offset
291 #:buffer-union-userptr
292 #:buffer-index
293 #:buffer-type
294 #:buffer-bytesused
295 #:buffer-flags
296 #:buffer-field
297 #:buffer-timestamp
298 #:buffer-timecode
299 #:buffer-sequence
300 #:buffer-memory
301 #:buffer-m
302 #:buffer-length
303 #:buffer-input
304 #:buffer-reserved
305 #:queryctrl-id
306 #:queryctrl-type
307 #:queryctrl-name
308 #:queryctrl-minimum
309 #:queryctrl-maximum
310 #:queryctrl-step
311 #:queryctrl-default-value
312 #:queryctrl-flags
313 #:queryctrl-reserved
314 #:control-id
315 #:control-value
316 #:pix-format-width
317 #:pix-format-height
318 #:pix-format-pixelformat
319 #:pix-format-field
320 #:pix-format-bytesperline
321 #:pix-format-sizeimage
322 #:pix-format-colorspace
323 #:pix-format-priv
324 #:format-type
325 #:format-pix
326 #:buffer-index
327 #:buffer-type
328 #:buffer-bytesused
329 #:buffer-flags
330 #:buffer-field
331 #:buffer-timestamp
332 #:buffer-timecode
333 #:buffer-sequence
334 #:buffer-memory
335 #:buffer-m
336 #:buffer-length
337 #:buffer-input
338 #:buffer-reserved
340 #:driver
341 #:card
342 #:bus-info
343 #:version
344 #:capabilities
345 #:reserved
346 #:numerator
347 #:denominator
348 #:capability
349 #:capturemode
350 #:timeperframe
351 #:extendedmode
352 #:readbuffers
353 #:reserved
354 #:capability
355 #:outputmode
356 #:timeperframe
357 #:extendedmode
358 #:writebuffers
359 #:reserved
360 #:capture
361 #:output
362 #:raw-data
363 #:type
364 #:parm
365 #:index
366 #:name
367 #:type
368 #:capability
369 #:rangelow
370 #:rangehigh
371 #:rxsubchans
372 #:audmode
373 #:signal
374 #:afc
375 #:reserved
376 #:index
377 #:id
378 #:name
379 #:frameperiod
380 #:framelines
381 #:reserved
382 #:index
383 #:name
384 #:type
385 #:audioset
386 #:tuner
387 #:std
388 #:status
389 #:reserved
390 #:index
391 #:type
392 #:flags
393 #:description
394 #:pixelformat
395 #:reserved
396 #:width
397 #:height
398 #:pixelformat
399 #:field
400 #:bytesperline
401 #:sizeimage
402 #:colorspace
403 #:priv
404 #:type
405 #:flags
406 #:frames
407 #:seconds
408 #:minutes
409 #:hours
410 #:userbits
411 #:count
412 #:type
413 #:memory
414 #:reserved
415 #:offset
416 #:userptr
417 #:index
418 #:type
419 #:bytesused
420 #:flags
421 #:field
422 #:timestamp
423 #:timecode
424 #:sequence
425 #:memory
427 #:length
428 #:input
429 #:reserved
430 #:id
431 #:type
432 #:name
433 #:minimum
434 #:maximum
435 #:step
436 #:default-value
437 #:flags
438 #:reserved
439 #:id
440 #:value
441 #:width
442 #:height
443 #:pixelformat
444 #:field
445 #:bytesperline
446 #:sizeimage
447 #:colorspace
448 #:priv
449 #:type
450 #:pix
451 #:index
452 #:type
453 #:bytesused
454 #:flags
455 #:field
456 #:timestamp
457 #:timecode
458 #:sequence
459 #:memory
461 #:length
462 #:input
463 #:reserved))