Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

camerav4l2
[Drivers]

The camerav4l2 driver captures images from V4l2-compatible cameras. It uses MMAP capture method.

Compile-time dependencies

Provides

Requires

Configuration requests
Requests are passed in text format (ctype strings: char *, ended whith ''). Parameters are passed in form readible by scanf("%f") or scanf("d). There could be only one space between command name and parameters. This interface is not intend to be used by application. This should be wrapped by proper ClientProxy subclass.

Below are examples of all requests:

Requests, that returns some reply. Size of reply depends on size of passed strings (names of device or controls).

Configuration file options
All Strings except dev_file are case insensitive. All options added in this module aren't mendatory and have default value.

Note that some of these options may not be honoured by the underlying V4L2 kernel driver (it may not support a given image size, for example).

Mini Example
driver
(
  name "camerav4l2"
  plugin "camerav4l2.so"
  provides ["camera:0"]
)

Full example
driver
(
  name "camerav4l2"
  plugin "camerav4l2.so"
  provides ["camera:0"]

  dev_file "/dev/video0"
  input 0
  size [160 120]
  mode "RGB24"
  show_fps 2
  controls [
      "red balance" 0.0667
      "blue balance" 0.3333
      "exposure" 0.0
      "global gain" 0.2903
      "DAC magnitude" 0.501
      "green balance" 0.1333
      "exposure2" 0.0328
      "iso" 0.0
    ]
    field "any"
    swap_rb 0
)

Authors
Marcin Rudowski


Generated on Thu Jun 29 22:04:43 2006 for Camerav4l2 by  doxygen 1.4.4