Print this page
11639 some man pages show incorrect driver locations
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man7d/dcam1394.7d
+++ new/usr/src/man/man7d/dcam1394.7d
1 1 '\" te
2 2 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved
3 3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 -.TH DCAM1394 7D "May 19, 2004"
6 +.TH DCAM1394 7D "Jan 10, 2020"
7 7 .SH NAME
8 8 dcam1394 \- 1394-based digital camera (IIDC) driver
9 9 .SH SYNOPSIS
10 -.LP
11 10 .nf
12 11 \fB#include <sys/dcam/dcam1394_io.h>\fR
13 12 .fi
14 13
15 14 .SH DESCRIPTION
16 -.sp
17 -.LP
18 15 The \fBdcam1394\fR driver supports devices implementing the \fI1394 Trade
19 16 Association Digital Camera Specification\fR (also referred to as the IIDC
20 17 specification). Only a subset of the specification is supported.
21 18 .SH READING DATA
22 -.sp
23 -.LP
24 19 Isochronous data is read from the driver frame-by-frame and is maintained
25 20 within the driver in a ring buffer.
26 21 .sp
27 22 .LP
28 23 Video frames are read from the isochronous input device using \fBread\fR(2).
29 24 .sp
30 25 .LP
31 26 The \fBdcam1394_frame_t\fR structure describes the frame layout and is defined
32 27 as follows:
33 28 .sp
34 29 .in +2
35 30 .nf
36 31 struct {
37 32 unsigned int vid_mode;
38 33 unsigned int seq_num;
39 34 hrtime_t timestamp;
40 35 unsigned char *buff;
↓ open down ↓ |
7 lines elided |
↑ open up ↑ |
41 36 };
42 37 .fi
43 38 .in -2
44 39
45 40 .sp
46 41 .LP
47 42 The size to allocate for the structure is determined by the video mode for
48 43 which the camera is configured. Possible values for the vid_mode field are
49 44 listed under DCAM1394_PARAM_VID_MODE below.
50 45 .SH IOCTL REQUESTS
51 -.sp
52 -.LP
53 46 The following ioctl requests are supported:
54 47 .sp
55 48 .ne 2
56 49 .na
57 50 \fBDCAM1394_CMD_CAM_RESET\fR
58 51 .ad
59 52 .sp .6
60 53 .RS 4n
61 54 Reset the device.
62 55 .RE
63 56
64 57 .sp
65 58 .ne 2
66 59 .na
67 60 \fBDCAM1394_CMD_REG_READ\fR
68 61 .ad
69 62 .sp .6
70 63 .RS 4n
71 64 Read the indicated dcam/IIDC register. The argument is a pointer to a
72 65 \fBdcam1394_reg_io_t\fR structure, which is defined as follows:
73 66 .sp
74 67 .in +2
75 68 .nf
76 69 struct {
77 70 unsigned int offs;
78 71 unsigned int val;
79 72 };
80 73 .fi
81 74 .in -2
82 75
83 76 The offs field should be set to the offset of the register from which to read.
84 77 Register offset values are defined in the \fI1394 Trade Association Digital
85 78 Camera Specification\fR.
86 79 .sp
87 80 After the operation is completed, the camera register value is put in the
88 81 \fBval\fR field.
89 82 .RE
90 83
91 84 .sp
92 85 .ne 2
93 86 .na
94 87 \fBDCAM1394_CMD_REG_WRITE\fR
95 88 .ad
96 89 .sp .6
97 90 .RS 4n
98 91 Write the indicated dcam/IIDC register. The argument is a pointer to a
99 92 \fBdcam1394_reg_io_t\fR structure (described above).
100 93 .sp
101 94 The offs field should be set to the offset of the register from which to read.
102 95 The register offset values are defined in the \fI1394 Trade Association Digital
103 96 Camera Specification\fR.
104 97 .sp
105 98 The val field should be set to the value to be written to the camera register.
106 99 .RE
107 100
108 101 .sp
↓ open down ↓ |
46 lines elided |
↑ open up ↑ |
109 102 .ne 2
110 103 .na
111 104 \fBDCAM1394_CMD_PARAM_GET\fR
112 105 .ad
113 106 .sp .6
114 107 .RS 4n
115 108 Gets a list of parameters associated with a camera. The argument is a pointer
116 109 to a \fBdcam1394_param_list_t\fR structure (described below). The parameter
117 110 list is accessed through macros defined below.
118 111 .sp
119 -The paramter list only supports Format 1 video formats.
112 +The parameter list only supports Format 1 video formats.
120 113 .RE
121 114
122 115 .sp
123 116 .ne 2
124 117 .na
125 118 \fBDCAM1394_CMD_PARAM_SET\fR
126 119 .ad
127 120 .sp .6
128 121 .RS 4n
129 122 Sets a list of parameters associated with a camera. The argument is a pointer
130 123 to a \fBdcam1394_param_list_t structure\fR (described below). The parameter
131 124 list is accessed through macros defined below.
132 125 .sp
133 -The paramter list only supports Format 1 video formats.
126 +The parameter list only supports Format 1 video formats.
134 127 .RE
135 128
136 129 .sp
137 130 .ne 2
138 131 .na
139 132 \fBDCAM1394_CMD_FRAME_RCV_START\fR
140 133 .ad
141 134 .sp .6
142 135 .RS 4n
143 136 Start receiving video frames from the camera.
144 137 .sp
145 138 The contents of the ring buffer may be accessed by reading the isochronous
146 139 stream device.
147 140 .RE
148 141
149 142 .sp
150 143 .ne 2
151 144 .na
152 145 \fBDCAM1394_CMD_FRAME_RCV_STOP\fR
153 146 .ad
154 147 .sp .6
155 148 .RS 4n
156 149 Stop receiving frames from the camera.
157 150 .RE
158 151
159 152 .sp
160 153 .ne 2
161 154 .na
162 155 \fBDCAM1394_CMD_RING_BUFF_FLUSH\fR
163 156 .ad
164 157 .sp .6
165 158 .RS 4n
166 159 Flush the frames in the ring buffer.
167 160 .RE
168 161
169 162 .sp
↓ open down ↓ |
26 lines elided |
↑ open up ↑ |
170 163 .ne 2
171 164 .na
172 165 \fBDCAM1394_CMD_FRAME_SEQ_NUM_COUNT_RESET\fR
173 166 .ad
174 167 .sp .6
175 168 .RS 4n
176 169 Reset frame sequence number.
177 170 .RE
178 171
179 172 .SH PARAMETER LIST ACCESS
180 -.sp
181 -.LP
182 173 The parameter list is initialized and access through macros. The data type for
183 174 the parameter list is \fBdcam1394_param_list_t\fR.
184 175 .sp
185 176 .LP
186 177 The following macros are used to access the parameter list:
187 178 .sp
188 179 .ne 2
189 180 .na
190 181 \fBPARAM_LIST_INIT(param_list)\fR
191 182 .ad
192 183 .sp .6
193 184 .RS 4n
194 185 Initialize the parameter list.
195 186 .RE
196 187
197 188 .sp
198 189 .ne 2
199 190 .na
200 191 \fBPARAM_LIST_ADD(param_list, param, subparam)\fR
201 192 .ad
202 193 .sp .6
203 194 .RS 4n
204 195 Add a parameter to the list.
205 196 .RE
206 197
207 198 .sp
208 199 .ne 2
209 200 .na
210 201 \fBPARAM_LIST_REMOVE(param_list, param, subparam)\fR
211 202 .ad
212 203 .sp .6
213 204 .RS 4n
214 205 Remove a parameter from the list.
215 206 .RE
216 207
217 208 .sp
218 209 .ne 2
219 210 .na
220 211 \fBPARAM_LIST_IS_ENTRY(param_list, param, subparam)\fR
221 212 .ad
222 213 .sp .6
223 214 .RS 4n
224 215 Indicates if a specific parameter is in the list.
225 216 .RE
226 217
227 218 .sp
228 219 .ne 2
229 220 .na
230 221 \fBPARAM_VAL(param_list, param, subparam)\fR
231 222 .ad
232 223 .sp .6
233 224 .RS 4n
234 225 Value of a specified parameter.
235 226 .RE
236 227
237 228 .sp
238 229 .ne 2
239 230 .na
240 231 \fBPARAM_ERR(param_list, param, subparam)\fR
241 232 .ad
↓ open down ↓ |
50 lines elided |
↑ open up ↑ |
242 233 .sp .6
243 234 .RS 4n
244 235 Indicates if a specific parameter is successfully set.
245 236 .RE
246 237
247 238 .sp
248 239 .LP
249 240 When no subparam value is required, the value DCAM1394_SUBPARAM_NONE may be
250 241 used.
251 242 .SH PARAMETERS
252 -.sp
253 -.LP
254 243 The following parameters may appear in the list:
255 244 .sp
256 245 .ne 2
257 246 .na
258 247 \fBDCAM1394_PARAM_CAP_POWER_CTRL\fR
259 248 .ad
260 249 .sp .6
261 250 .RS 4n
262 251 Queries if the camera can be turned off and on through software. The subparam
263 252 value is ignored.
264 253 .RE
265 254
266 255 .sp
267 256 .ne 2
268 257 .na
269 258 \fBDCAM1394_PARAM_POWER\fR
270 259 .ad
271 260 .sp .6
272 261 .RS 4n
273 262 Controls or queries if the camera is powered up. Verify this feature using
274 263 DCAM1394_PARAM_CAP_POWER_CTRL before use. The subparam field is ignored.
275 264 .RE
276 265
277 266 .sp
278 267 .ne 2
279 268 .na
280 269 \fBDCAM1394_PARAM_CAP_VID_MOD\fR
281 270 .ad
282 271 .sp .6
283 272 .RS 4n
284 273 Queries if a specific video mode is supported by the camera.
285 274 .sp
286 275 subparam is one of the following and is used to determine if a specified video
287 276 mode is supported by the camera:
288 277 .sp
289 278 .in +2
290 279 .nf
291 280 DCAM1394_SUBPARAM_VID_MODE_0
292 281 DCAM1394_SUBPARAM_VID_MODE_YUV_444_160_120
293 282 Video mode is 4:4:4, YUV color space, 160x120 resolution.
294 283
295 284 DCAM1394_SUBPARAM_VID_MODE_1
296 285 DCAM1394_SUBPARAM_VID_MODE_YUV_422_320_240
297 286 Video mode is 4:2:2, YUV color space, 320x240 resolution.
298 287
299 288 DCAM1394_SUBPARAM_VID_MODE_2
300 289 DCAM1394_SUBPARAM_VID_MODE_YUV_411_640_480
301 290 Video mode is 4:1:1, YUV color space, 640x480 resolution.
302 291
303 292 DCAM1394_SUBPARAM_VID_MODE_3
304 293 DCAM1394_SUBPARAM_VID_MODE_YUV_422_640_480
305 294 Video mode is 4:2:2, YUV color space, 640x480 resolution.
306 295
307 296 DCAM1394_SUBPARAM_VID_MODE_4
308 297 DCAM1394_SUBPARAM_VID_MODE_RGB_640_480
309 298 Video mode is RGB color space, 640x480 resolution.
310 299
311 300 DCAM1394_SUBPARAM_VID_MODE_5
312 301 DCAM1394_SUBPARAM_VID_MODE_Y_640_480
313 302 Video mode is Y color space, 640x480 resolution.
314 303 .fi
315 304 .in -2
316 305
317 306 .RE
318 307
319 308 .sp
320 309 .ne 2
321 310 .na
322 311 \fBDCAM1394_PARAM_VID_MODE\fR
323 312 .ad
324 313 .sp .6
325 314 .RS 4n
326 315 Controls or queries the current video mode of the camera. The subparam field
327 316 is ignored. When selecting the video mode, it should be compatible with the
328 317 capability of the camera, which may be determined by checking the
329 318 DCAM1394_PARAM_CAP_VID_MODE parameter.
330 319 .sp
331 320 The value of this parameter may be one of the following:
332 321 .sp
333 322 .in +2
334 323 .nf
335 324 DCAM1394_VID_MODE_0
336 325 DCAM1394_VID_MODE_YUV_444_160_120
337 326 Video mode is 4:4:4, YUV color space, 160x120 resolution.
338 327
339 328 DCAM1394_VID_MODE_1
340 329 DCAM1394_VID_MODE_YUV_422_320_240
341 330 Video mode is 4:2:2, YUV color space, 320x240 resolution.
342 331
343 332 DCAM1394_VID_MODE_2
344 333 DCAM1394_VID_MODE_YUV_411_640_480
345 334 Video mode is 4:1:1, YUV color space, 640x480 resolution.
346 335
347 336 DCAM1394_VID_MODE_3
348 337 DCAM1394_VID_MODE_YUV_422_640_480
349 338 Video mode is 4:2:2, YUV color space, 640x480 resolution.
350 339
351 340 DCAM1394_VID_MODE_4
352 341 DCAM1394_VID_MODE_RGB_640_480
353 342 Video mode is RGB color space, 640x480 resolution.
354 343
355 344 DCAM1394_VID_MODE_5
356 345 DCAM1394_VID_MODE_Y_640_480
357 346 Video mode is Y color space, 640x480 resolution.
358 347 .fi
359 348 .in -2
360 349
361 350 .RE
362 351
363 352 .sp
364 353 .ne 2
365 354 .na
366 355 \fBDCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_0\fR
367 356 .ad
368 357 .sp .6
369 358 .RS 4n
370 359 Queries if a specific frame rate is supported by the camera in video mode 0
371 360 (4:4:4, YUV, 160x120).
372 361 .sp
373 362 subparam is one of the following and used to determine if a specified frame
374 363 rate is supported by the camera:
375 364 .sp
376 365 .in +2
377 366 .nf
378 367 DCAM1394_SUBPARAM_FRAME_RATE_0
379 368 DCAM1394_SUBPARAM_FRAME_RATE_3_75_FPS
380 369 Frame rate is 3.75 frames/second.
381 370
382 371 DCAM1394_SUBPARAM_FRAME_RATE_1
383 372 DCAM1394_SUBPARAM_FRAME_RATE_7_5_FPS
384 373 Frame rate is 7.5 frames/second.
385 374
386 375 DCAM1394_SUBPARAM_FRAME_RATE_2
387 376 DCAM1394_SUBPARAM_FRAME_RATE_15_FPS
388 377 Frame rate is 15 frames/second.
389 378
390 379 DCAM1394_SUBPARAM_FRAME_RATE_3
391 380 DCAM1394_SUBPARAM_FRAME_RATE_30_FPS
392 381 Frame rate is 30 frames/second.
393 382
394 383 DCAM1394_SUBPARAM_FRAME_RATE_4
395 384 DCAM1394_SUBPARAM_FRAME_RATE_60_FPS
396 385 Frame rate is 60 frames/second.
397 386 .fi
398 387 .in -2
399 388
400 389 .RE
401 390
402 391 .sp
403 392 .ne 2
404 393 .na
405 394 \fBDCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_1\fR
406 395 .ad
407 396 .sp .6
408 397 .RS 4n
409 398 Queries if a specific frame rate is supported by the camera in video mode 1
410 399 (4:2:2, YUV, 320x240). See DCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_0 for a
411 400 listing of valid subparam values.
412 401 .RE
413 402
414 403 .sp
415 404 .ne 2
416 405 .na
417 406 \fBDCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_2\fR
418 407 .ad
419 408 .sp .6
420 409 .RS 4n
421 410 Queries if a specific frame rate is supported by the camera in video mode 2
422 411 (4:1:1, YUV, 640x480). See DCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_0 for a
423 412 listing of valid subparam values.
424 413 .RE
425 414
426 415 .sp
427 416 .ne 2
428 417 .na
429 418 \fBDCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_3\fR
430 419 .ad
431 420 .sp .6
432 421 .RS 4n
433 422 Queries if a specific frame rate is supported by the camera in video mode 3
434 423 (4:2:2, YUV, 640x480). See DCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_0 for a
435 424 listing of valid subparam values.
436 425 .RE
437 426
438 427 .sp
439 428 .ne 2
440 429 .na
441 430 \fBDCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_4\fR
442 431 .ad
443 432 .sp .6
444 433 .RS 4n
445 434 Queries if a specific frame rate is supported by the camera in video mode 4.
446 435 (RGB, 640x480). See DCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_0 for a listing of
447 436 valid subparam values.
448 437 .RE
449 438
450 439 .sp
451 440 .ne 2
452 441 .na
453 442 \fBDCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_5\fR
454 443 .ad
455 444 .sp .6
456 445 .RS 4n
457 446 Queries if a specific frame rate is supported by the camera in video mode 5.
458 447 (Y, 640x480). See DCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_0 for a listing of
459 448 valid subparam values.
460 449 .RE
461 450
462 451 .sp
463 452 .ne 2
464 453 .na
465 454 \fBDCAM1394_PARAM_FRAME_RATE\fR
466 455 .ad
467 456 .sp .6
468 457 .RS 4n
469 458 Controls or queries the current frame rate of the camera. The subparam field
470 459 is ignored. When selecting a frame rate, it should be compatible with the
471 460 capability of the camera, which can be determined by querying one of the frame
472 461 rate capability parameters above.
473 462 .sp
474 463 The value of this parameter may be one of the following:
475 464 .sp
476 465 .in +2
477 466 .nf
478 467 DCAM1394_FRAME_RATE_0
479 468 DCAM1394_3_75_FPS
480 469 The frame rate is 3.75 frames per second.
481 470
482 471 DCAM1394_FRAME_RATE_1
483 472 DCAM1394_7_5_FPS
484 473 The frame rate is 7.5 frames per second.
485 474
486 475 DCAM1394_FRAME_RATE_2
487 476 DCAM1394_15_FPS
488 477 The frame rate is 15 frames per second.
489 478
490 479 DCAM1394_FRAME_RATE_3
491 480 DCAM1394_30_FPS
492 481 The frame rate is 30 frames per second.
493 482
494 483 DCAM1394_FRAME_RATE_4
495 484 DCAM1394_60_FPS
496 485 The frame rate is 60 frames per second.
497 486 .fi
498 487 .in -2
499 488
500 489 .RE
501 490
502 491 .sp
503 492 .ne 2
504 493 .na
505 494 \fBDCAM1394_PARAM_RING_BUFF_CAPACITY\fR
506 495 .ad
507 496 .sp .6
508 497 .RS 4n
509 498 Controls or queries the number of frames that the ring buffer may hold. This
510 499 value can range between 2 and 30. The subparam field is ignored.
511 500 .RE
512 501
513 502 .sp
514 503 .ne 2
515 504 .na
516 505 \fBDCAM1394_PARAM_RING_BUFF_NUM_FRAMES_READY\fR
517 506 .ad
518 507 .sp .6
519 508 .RS 4n
520 509 Queries the number of frames in the ring buffer ready to be accessed. The
521 510 subparam field is ignored.
522 511 .RE
523 512
524 513 .sp
525 514 .ne 2
526 515 .na
527 516 \fBDCAM1394_PARAM_RING_BUFF_READ_PTR_INCR\fR
528 517 .ad
529 518 .sp .6
530 519 .RS 4n
531 520 Controls or queries the number of bytes to advance the read pointer as it
532 521 consumes data from the ring buffer. The subparam field is ignored.
533 522 .RE
534 523
535 524 .sp
536 525 .ne 2
537 526 .na
538 527 \fBDCAM1394_PARAM_FRAME_NUM_BYTES\fR
539 528 .ad
540 529 .sp .6
541 530 .RS 4n
542 531 Queries the number of bytes in a frame at the current video mode. The subparam
543 532 field is ignored.
544 533 .RE
545 534
546 535 .sp
547 536 .ne 2
548 537 .na
549 538 \fBDCAM1394_PARAM_STATUS\fR
550 539 .ad
551 540 .sp .6
552 541 .RS 4n
553 542 Queries the parameter status. The subparam field is ignored.
554 543 .sp
555 544 The values for the parameter status is a bit field with the following values
556 545 possibly set:
557 546 .sp
558 547 .ne 2
559 548 .na
560 549 \fBDCAM1394_STATUS_FRAME_RCV_DONE\fR
561 550 .ad
562 551 .sp .6
563 552 .RS 4n
564 553 Frame successfully received.
565 554 .RE
566 555
567 556 .sp
568 557 .ne 2
569 558 .na
570 559 \fBDCAM1394_STATUS_RING_BUFF_LOST_FRAME\fR
571 560 .ad
572 561 .sp .6
573 562 .RS 4n
574 563 A frame has been lost while processing the ring buffer.
575 564 .RE
576 565
577 566 .sp
578 567 .ne 2
579 568 .na
580 569 \fBDCAM1394_STATUS_PARAM_CHANGE\fR
581 570 .ad
582 571 .sp .6
583 572 .RS 4n
584 573 A parameter has been changed.
585 574 .RE
586 575
587 576 .sp
588 577 .ne 2
589 578 .na
590 579 \fBDCAM1394_STATUS_FRAME_SEQ_NUM_COUNT_OVERFLOW\fR
591 580 .ad
592 581 .sp .6
593 582 .RS 4n
594 583 Frame sequence number has reached its maximum possible value and has
595 584 overflowed.
596 585 .RE
597 586
598 587 .sp
599 588 .ne 2
600 589 .na
601 590 \fBDCAM1394_STATUS_CAM_UNPLUG\fR
602 591 .ad
603 592 .sp .6
604 593 .RS 4n
605 594 Camera has been unplugged.
606 595 .RE
607 596
608 597 .RE
609 598
610 599 .sp
611 600 .ne 2
612 601 .na
613 602 \fBDCAM1394_PARAM_BRIGHTNESS\fR
614 603 .ad
615 604 .sp .6
616 605 .RS 4n
617 606 Query or control a camera feature. This feature queries or controls the
618 607 brightness of the camera.
619 608 .sp
620 609 .ne 2
621 610 .na
622 611 \fBDCAM1394_SUBPARAM_PRESENCE\fR
623 612 .ad
624 613 .sp .6
625 614 .RS 4n
626 615 Indicates if the feature is available.
627 616 .RE
628 617
629 618 .sp
630 619 .ne 2
631 620 .na
632 621 \fBDCAM1394_SUBPARAM_CAP_ON_OFF\fR
633 622 .ad
634 623 .sp .6
635 624 .RS 4n
636 625 Indicates if the feature may be enabled and disabled. May only be queried.
637 626 .RE
638 627
639 628 .sp
640 629 .ne 2
641 630 .na
642 631 \fBDCAM1394_SUBPARAM_ON_OFF\fR
643 632 .ad
644 633 .sp .6
645 634 .RS 4n
646 635 Indicates if the feature is enabled.
647 636 .RE
648 637
649 638 .sp
650 639 .ne 2
651 640 .na
652 641 \fBDCAM1394_SUBPARAM_CAP_CTRL_AUTO\fR
653 642 .ad
654 643 .sp .6
655 644 .RS 4n
656 645 Indicates if the automatic control of this feature is supported by the camera.
657 646 May only be queried.
658 647 .RE
659 648
660 649 .sp
661 650 .ne 2
662 651 .na
663 652 \fBDCAM1394_SUBPARAM_CAP_CTRL_MANUAL\fR
664 653 .ad
665 654 .sp .6
666 655 .RS 4n
667 656 Indicates if the manual control of this feature is supported by the camera. May
668 657 only be queried.
669 658 .RE
670 659
671 660 .sp
672 661 .ne 2
673 662 .na
674 663 \fBDCAM1394_SUBPARAM_CTRL_MODE\fR
675 664 .ad
676 665 .sp .6
677 666 .RS 4n
678 667 Indicates if the feature is in auto or manual mode.
679 668 .RE
680 669
681 670 .sp
682 671 .ne 2
683 672 .na
684 673 \fBDCAM1394_SUBPARAM_MIN_VAL\fR
685 674 .ad
686 675 .sp .6
687 676 .RS 4n
688 677 Minimum value of the feature. May only be queried.
689 678 .RE
690 679
691 680 .sp
692 681 .ne 2
693 682 .na
694 683 \fBDCAM1394_SUBPARAM_MAX_VAL\fR
695 684 .ad
696 685 .sp .6
697 686 .RS 4n
698 687 Maximum value of the feature. May only be queried.
699 688 .RE
700 689
701 690 .sp
702 691 .ne 2
703 692 .na
704 693 \fBDCAM1394_SUBPARAM_VALUE\fR
705 694 .ad
706 695 .sp .6
707 696 .RS 4n
708 697 Current value of the feature.
709 698 .RE
710 699
711 700 .sp
712 701 .ne 2
713 702 .na
714 703 \fBDCAM1394_SUBPARAM_CAP_READ\fR
715 704 .ad
716 705 .sp .6
717 706 .RS 4n
718 707 Indicates if the feature may be read. May only be queried.
719 708 .RE
720 709
721 710 .RE
722 711
723 712 .sp
724 713 .ne 2
725 714 .na
726 715 \fBDCAM1394_PARAM_EXPOSURE\fR
727 716 .ad
728 717 .sp .6
729 718 .RS 4n
730 719 Query or control a camera feature. This feature queries or controls the
731 720 exposure of the camera. The subparams supported by this feature are described
732 721 under DCAM1394_PARAM_BRIGHTNESS.
733 722 .RE
734 723
735 724 .sp
736 725 .ne 2
737 726 .na
738 727 \fBDCAM1394_PARAM_SHARPNESS\fR
739 728 .ad
740 729 .sp .6
741 730 .RS 4n
742 731 Query or control a camera feature. This feature queries or controls the
743 732 sharpness of the camera. The subparams supported by this feature are described
744 733 under DCAM1394_PARAM_BRIGHTNESS.
745 734 .RE
746 735
747 736 .sp
748 737 .ne 2
749 738 .na
750 739 \fBDCAM1394_PARAM_WHITE_BALANCE\fR
751 740 .ad
752 741 .sp .6
753 742 .RS 4n
754 743 Query or control a camera feature. This feature queries or controls the white
755 744 balance of the camera. The subparams supported by this feature are described
756 745 under DCAM1394_PARAM_BRIGHTNESS, except for DCAM1394_SUBPARAM_VALUE.
757 746 DCAM1394_SUBPARAM_VALUE is replaced by two distinct subparams.
758 747 .sp
759 748 .ne 2
760 749 .na
761 750 \fBDCAM1394_SUBPARAM_U_VALUE\fR
762 751 .ad
763 752 .RS 29n
764 753 U or B component of the white balance.
765 754 .RE
766 755
767 756 .sp
768 757 .ne 2
769 758 .na
770 759 \fBDCAM1394_SUBPARAM_V_VALUE\fR
771 760 .ad
772 761 .RS 29n
773 762 V or R component of the white balance.
774 763 .RE
775 764
776 765 .RE
777 766
778 767 .sp
779 768 .ne 2
780 769 .na
781 770 \fBDCAM1394_PARAM_HUE\fR
782 771 .ad
783 772 .sp .6
784 773 .RS 4n
785 774 Query or control a camera feature. This feature queries or controls the hue of
786 775 the camera. The subparams supported by this feature are described under
787 776 DCAM1394_PARAM_BRIGHTNESS.
788 777 .RE
789 778
790 779 .sp
791 780 .ne 2
792 781 .na
793 782 \fBDCAM1394_PARAM_SATURATION\fR
794 783 .ad
795 784 .sp .6
796 785 .RS 4n
797 786 Query or control a camera feature. This feature queries or controls the
798 787 saturation of the camera. The subparams supported by this feature are described
799 788 under DCAM1394_PARAM_BRIGHTNESS.
800 789 .RE
801 790
802 791 .sp
803 792 .ne 2
804 793 .na
805 794 \fBDCAM1394_PARAM_GAMMA\fR
806 795 .ad
807 796 .sp .6
808 797 .RS 4n
809 798 Query or control a camera feature. This feature queries or controls the gamma
810 799 of the camera. The subparams supported by this feature are described under
811 800 DCAM1394_PARAM_BRIGHTNESS.
812 801 .RE
813 802
814 803 .sp
815 804 .ne 2
816 805 .na
817 806 \fBDCAM1394_PARAM_SHUTTER\fR
818 807 .ad
819 808 .sp .6
820 809 .RS 4n
821 810 Query or control a camera feature. This feature queries or controls the
822 811 sharpness of the camera. The subparams supported by this feature are described
823 812 under DCAM1394_PARAM_BRIGHTNESS.
824 813 .RE
825 814
826 815 .sp
827 816 .ne 2
828 817 .na
829 818 \fBDCAM1394_PARAM_GAIN\fR
830 819 .ad
831 820 .sp .6
832 821 .RS 4n
833 822 Query or control a camera feature. This feature queries or controls the gain of
834 823 the camera. The subparams supported by this feature are described under
835 824 DCAM1394_PARAM_BRIGHTNESS.
836 825 .RE
837 826
838 827 .sp
839 828 .ne 2
840 829 .na
841 830 \fBDCAM1394_PARAM_IRIS\fR
842 831 .ad
843 832 .sp .6
844 833 .RS 4n
845 834 Query or control a camera feature. This feature queries or controls the iris of
846 835 the camera. The subparams supported by this feature are described under
847 836 DCAM1394_PARAM_BRIGHTNESS.
848 837 .RE
849 838
850 839 .sp
851 840 .ne 2
852 841 .na
853 842 \fBDCAM1394_PARAM_FOCUS\fR
854 843 .ad
855 844 .sp .6
856 845 .RS 4n
857 846 Query or control a camera feature. This feature queries or controls the focus
858 847 of the camera. The subparams supported by this feature are described under
859 848 DCAM1394_PARAM_BRIGHTNESS.
860 849 .RE
861 850
862 851 .sp
863 852 .ne 2
864 853 .na
865 854 \fBDCAM1394_PARAM_ZOOM\fR
866 855 .ad
867 856 .sp .6
868 857 .RS 4n
869 858 Query or control a camera feature. This feature queries or controls the zoom of
870 859 the camera. The subparams supported by this feature are described under
871 860 DCAM1394_PARAM_BRIGHTNESS.
872 861 .RE
873 862
874 863 .sp
875 864 .ne 2
876 865 .na
877 866 \fBDCAM1394_PARAM_PAN\fR
878 867 .ad
879 868 .sp .6
880 869 .RS 4n
881 870 Query or control a camera feature. This feature queries or controls the pan of
882 871 the camera. The subparams supported by this feature are described under
883 872 DCAM1394_PARAM_BRIGHTNESS.
884 873 .RE
885 874
886 875 .sp
887 876 .ne 2
888 877 .na
↓ open down ↓ |
625 lines elided |
↑ open up ↑ |
889 878 \fBDCAM1394_PARAM_TILT\fR
890 879 .ad
891 880 .sp .6
892 881 .RS 4n
893 882 Query or control a camera feature. This feature queries or controls the tilt of
894 883 the camera.The subparams supported by this feature are described under
895 884 DCAM1394_PARAM_BRIGHTNESS.
896 885 .RE
897 886
898 887 .SH DEVICE SPECIAL FILES
899 -.sp
900 888 .ne 2
901 889 .na
902 -\fB\fB/dev/dcam\fIN\fR\fR\fR
890 +\fB/dev/dcam\fIN\fR\fR
903 891 .ad
904 892 .RS 17n
905 893 Device node for isochronous input from camera.
906 894 .RE
907 895
908 896 .sp
909 897 .ne 2
910 898 .na
911 -\fB\fB/dev/dcamctl\fIN\fR\fR\fR
899 +\fB/dev/dcamctl\fIN\fR\fR
912 900 .ad
913 901 .RS 17n
914 902 Device node for camera control.
915 903 .RE
916 904
917 905 .SH FILES
918 -.sp
919 906 .ne 2
920 907 .na
921 -\fB\fBkernel/drv/sparcv9/dcam1394\fR\fR
908 +\fB/kernel/drv/sparcv9/dcam1394\fR
922 909 .ad
923 910 .sp .6
924 911 .RS 4n
925 -64-bit ELF kernel module.
912 +Device driver (SPARC)
926 913 .RE
927 914
928 915 .sp
929 916 .ne 2
930 917 .na
931 -\fB\fBkernel/drv/dcam1394\fR\fR
918 +\fB/kernel/drv/amd64/dcam1394\fR
932 919 .ad
933 920 .sp .6
934 921 .RS 4n
935 -32-bit ELF kernel module.
922 +Device driver (x86)
936 923 .RE
937 924
938 925 .SH ATTRIBUTES
939 -.sp
940 -.LP
941 926 See \fBattributes\fR(5) for descriptions of the following attributes:
942 927 .sp
943 928
944 929 .sp
945 930 .TS
946 931 box;
947 932 c | c
948 933 l | l .
949 934 ATTRIBUTE TYPE ATTRIBUTE VALUE
950 935 _
951 936 Interface Stability Evolving
952 937 .TE
953 938
954 939 .SH SEE ALSO
955 -.sp
956 -.LP
957 940 \fBattributes\fR(5), \fBhci1394\fR(7D)
958 941 .sp
959 942 .LP
960 943 \fI1394 Trade Association Digital Camera Specification, Version 1.04 - 1996\fR
961 944 .sp
962 945 .LP
963 946 \fIIEEE Std 1394-2000 Standard for a High Performance Serial Bus - 2000\fR
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX