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