DeviceOpts.C File Reference

#include "Devices/DeviceOpts.H"
#include "Component/ModelOptionDef.H"
#include "Image/Dims.H"
#include "Transport/TransportOpts.H"
#include "Video/VideoFormat.H"
Include dependency graph for DeviceOpts.C:

Go to the source code of this file.

Variables

const ModelOptionCateg MOC_AUDIO
 Audio-related options.
const ModelOptionCateg MOC_FRAMEGRAB
 Command-line options for V4Lgrabber/IEEE1394grabber.
const ModelOptionDef OPT_FrameGrabberType
const ModelOptionDef OPT_DeinterlacerType
const ModelOptionDef OPT_FrameGrabberDevice
const ModelOptionDef OPT_FrameGrabberChannel
const ModelOptionDef OPT_FrameGrabberSubChan
const ModelOptionDef OPT_FrameGrabberDims
const ModelOptionDef OPT_FrameGrabberOffset
const ModelOptionDef OPT_FrameGrabberMode
const ModelOptionDef OPT_FrameGrabberByteSwap
const ModelOptionDef OPT_FrameGrabberFPS
const ModelOptionDef OPT_FrameGrabberNbuf
const ModelOptionDef OPT_XCFormatFileName
 Command-line options for XC cameralink HD camera.
const ModelOptionDef OPT_FrameGrabberBrightness
const ModelOptionDef OPT_FrameGrabberColour
const ModelOptionDef OPT_FrameGrabberHue
const ModelOptionDef OPT_FrameGrabberSaturation
const ModelOptionDef OPT_FrameGrabberContrast
const ModelOptionDef OPT_FrameGrabberWhiteness
const ModelOptionDef OPT_FrameGrabberExposure
const ModelOptionDef OPT_FrameGrabberSharpness
const ModelOptionDef OPT_FrameGrabberWhiteBalBU
const ModelOptionDef OPT_FrameGrabberWhiteBalRV
const ModelOptionDef OPT_FrameGrabberWhiteBalTargetR
const ModelOptionDef OPT_FrameGrabberWhiteBalTargetG
const ModelOptionDef OPT_FrameGrabberWhiteBalTargetB
const ModelOptionDef OPT_FrameGrabberWhiteBalReferenceR
const ModelOptionDef OPT_FrameGrabberWhiteBalReferenceG
const ModelOptionDef OPT_FrameGrabberWhiteBalReferenceB
const ModelOptionDef OPT_FrameGrabberGamma
const ModelOptionDef OPT_XCFrameGrabberGamma
const ModelOptionDef OPT_FrameGrabberShutter
const ModelOptionDef OPT_FrameGrabberGain
const ModelOptionDef OPT_FrameGrabberStreaming
const ModelOptionDef OPT_FrameGrabberAudioVolume
const ModelOptionDef OPT_FrameGrabberAudioBalance
const ModelOptionDef OPT_FrameGrabberAudioBass
const ModelOptionDef OPT_FrameGrabberAudioTreble
const ModelOptionDef OPT_FrameGrabberAudioMute
const ModelOptionDef OPT_FrameGrabberAudioLoudness
const ModelOptionDef OPT_FrameGrabberAutoWhiteBal
const ModelOptionDef OPT_FrameGrabberDoWhiteBal
const ModelOptionDef OPT_FrameGrabberAutoGain
const ModelOptionDef OPT_FrameGrabberHFlip
const ModelOptionDef OPT_FrameGrabberVFlip
const ModelOptionDef OPT_FrameGrabberHueAuto
const ModelOptionDef OPT_FrameGrabberFocusAuto
const ModelOptionDef OPT_FrameGrabberWhiteBalTempAuto
const ModelOptionDef OPT_FrameGrabberWhiteBalTemp
const ModelOptionDef OPT_FrameGrabberPowerLineFreq
const ModelOptionDef OPT_FrameGrabberBacklightComp
const ModelOptionDef OPT_FrameGrabberExposureMode
const ModelOptionDef OPT_FrameGrabberExposureAutoPri
const ModelOptionDef OPT_FrameGrabberFocus
const ModelOptionDef OPT_FrameGrabberZoom
const ModelOptionDef OPT_FrameGrabberExposureAbs
const ModelOptionDef OPT_ALIAScamMacbook
 Aliases for various cameras:
const ModelOptionDef OPT_ALIAScamBttv
const ModelOptionDef OPT_ALIAScamiSight
const ModelOptionDef OPT_ALIAScamLifeCam
const ModelOptionDef OPT_ALIAScamLifeCamManual
const ModelOptionDef OPT_ALIAScamHPpremAF
const ModelOptionDef OPT_ALIAScamHPpremAFmanual
const ModelOptionDef OPT_ALIAScamC910
const ModelOptionDef OPT_ALIAScamC910manual
const ModelOptionDef OPT_ALIAScamC910turntable
const ModelOptionCateg MOC_VCC4
 Command-line options for VCC4.
const ModelOptionDef OPT_VCC4serialDevice
const ModelOptionDef OPT_VCC4unitNo
const ModelOptionDef OPT_VCC4pulseRatio
const ModelOptionDef OPT_VCC4maxAngle
const ModelOptionDef OPT_AudioMixerDevice
 Command-line options for AudioMixer.
const ModelOptionDef OPT_AudioMixerLineIn
const ModelOptionDef OPT_AudioMixerCdIn
const ModelOptionDef OPT_AudioMixerMicIn
const ModelOptionDef OPT_AudioGrabberDevice
 Command-line options for AudioGrabber.
const ModelOptionDef OPT_AudioGrabberBits
const ModelOptionDef OPT_AudioGrabberFreq
const ModelOptionDef OPT_AudioGrabberBufSamples
const ModelOptionDef OPT_AudioGrabberChans
const ModelOptionDef OPT_AudioGrabberInterleaved
const ModelOptionDef OPT_DiskDataStreamSavePath
 Command-line options for DiskDataStream.
const ModelOptionDef OPT_DiskDataStreamUseMmap
const ModelOptionDef OPT_DiskDataStreamNumThreads
const ModelOptionDef OPT_DiskDataStreamSleepUsecs
const ModelOptionDef OPT_DiskDataStreamSavePeriod

Detailed Description

Definition in file DeviceOpts.C.


Variable Documentation

Initial value:
 {
  MOC_SORTPRI_2,   "Audio-Related Options" }

Audio-related options.

Definition at line 48 of file DeviceOpts.C.

Initial value:
 {
  MOC_SORTPRI_2, "Video FrameGrabber-Related Options" }

Command-line options for V4Lgrabber/IEEE1394grabber.

Frame-grabbing-related options

Definition at line 72 of file DeviceOpts.C.

Initial value:
 {
  MOC_SORTPRI_2, "VCC4 Pan/Tilt Camera Options" }

Command-line options for VCC4.

VCC4 Pan/Tilt Camera Options

Definition at line 545 of file DeviceOpts.C.

const ModelOptionDef OPT_ALIAScamBttv
Initial value:
  { MODOPT_ALIAS, "ALIAScamBttv", &MOC_ALIAS, OPTEXP_CORE,
    "Use camera connected to a BTTV framegrabber. This both "
    "works with V4L and V4L2. Typically, these boards support many "
    "resolutions and modes, as listed by the V4L2 driver",
    "camera-bttv", '\0', "",
    "--framegrabber-mode=RGB24 --framegrabber-brightness=32768 "
    "--framegrabber-bswap --framegrabber-saturation=32768 "
    "--framegrabber-contrast=32768 --framegrabber-hue=32768" }

Definition at line 424 of file DeviceOpts.C.

const ModelOptionDef OPT_ALIAScamC910
Initial value:
  { MODOPT_ALIAS, "ALIAScamC910", &MOC_ALIAS, OPTEXP_CORE,
    "Use Logitech C910 5MP USB camera.",
    "camera-c910", '\0', "",
    "--framegrabber-dims=2592x1944 --framegrabber-mode=YUYV --noframegrabber-bswap "
    "--framegrabber-brightness=128 --framegrabber-contrast=32 --framegrabber-saturation=32 "
    "--framegrabber-auto-whitebaltemp=true --framegrabber-gain=64 --framegrabber-powerlinefreq=2 "
    "--framegrabber-whitebaltemp=4000 --framegrabber-sharpness=72 --framegrabber-backlight=1 "
    "--framegrabber-exposuremode=3 --framegrabber-exposure-abs=166 --framegrabber-exposure-autopri "
    "--framegrabber-focus=68 --framegrabber-autofocus=true --framegrabber-zoom=1"
    
    
  }

Definition at line 498 of file DeviceOpts.C.

const ModelOptionDef OPT_ALIAScamC910manual
Initial value:
  { MODOPT_ALIAS, "ALIAScamC910manual", &MOC_ALIAS, OPTEXP_CORE,
    "Use Logitech C910 5MP USB camera with most settings set to manual (focus, exposure, "
    "white balance temperature, etc). Useful for robotics applications. Note: focus is in steps of 17.",
    "camera-c910-manual", '\0', "",
    "--framegrabber-dims=2592x1944 --framegrabber-mode=YUYV --noframegrabber-bswap "
    "--framegrabber-brightness=128 --framegrabber-contrast=32 --framegrabber-saturation=32 "
    "--framegrabber-auto-whitebaltemp=false --framegrabber-gain=64 --framegrabber-powerlinefreq=0 "
    "--framegrabber-whitebaltemp=4000 --framegrabber-sharpness=72 --framegrabber-backlight=0 "
    "--framegrabber-exposuremode=1 --framegrabber-exposure-abs=166 --noframegrabber-exposure-autopri "
    "--framegrabber-focus=68 --framegrabber-autofocus=false --framegrabber-zoom=1"
 }

Definition at line 513 of file DeviceOpts.C.

const ModelOptionDef OPT_ALIAScamC910turntable
Initial value:
  { MODOPT_ALIAS, "ALIAScamC910turntable", &MOC_ALIAS, OPTEXP_CORE,
    "Use Logitech C910 5MP USB camera with most settings set to manual (focus, exposure, "
    "white balance temperature, etc) and tuned for the iLab 11-camera turntable rig. Note: focus is "
    "in steps of 17.",
    "camera-c910-turntable", '\0', "",
    
    
    "--framegrabber-dims=2592x1944 --framegrabber-mode=YUYV --noframegrabber-bswap "
    "--framegrabber-brightness=128 --framegrabber-contrast=32 --framegrabber-saturation=32 "
    "--framegrabber-auto-whitebaltemp=false --framegrabber-gain=64 --framegrabber-powerlinefreq=0 "
    "--framegrabber-whitebaltemp=4000 --framegrabber-sharpness=72 --framegrabber-backlight=0 "
    "--framegrabber-exposuremode=1 --framegrabber-exposure-abs=166 --noframegrabber-exposure-autopri "
    "--framegrabber-focus=68 --framegrabber-autofocus=false --framegrabber-zoom=1"
 }

Definition at line 527 of file DeviceOpts.C.

const ModelOptionDef OPT_ALIAScamHPpremAF
Initial value:
  { MODOPT_ALIAS, "ALIAScamHPpremAF", &MOC_ALIAS, OPTEXP_CORE,
    "Use H.P. Premium Autofocus (KQ245AA) 960x720 USB camera.",
    "camera-hpprem", '\0', "",
    "--framegrabber-dims=960x720 --framegrabber-mode=YUYV --noframegrabber-bswap "
    "--framegrabber-brightness=0 --framegrabber-contrast=32 --framegrabber-saturation=64 --framegrabber-hue=0 "
    "--framegrabber-auto-whitebaltemp=true --framegrabber-gamma=110 --framegrabber-gain=0 "
    "--framegrabber-powerlinefreq=2 --framegrabber-exposuremode=3 --framegrabber-exposure-abs=300 "
    "--framegrabber-exposure-autopri=false --framegrabber-autofocus=true --framegrabber-focus=1"
  }

Definition at line 473 of file DeviceOpts.C.

const ModelOptionDef OPT_ALIAScamHPpremAFmanual
Initial value:
  { MODOPT_ALIAS, "ALIAScamHPpremAFmanual", &MOC_ALIAS, OPTEXP_CORE,
    "Use H.P. Premium Autofocus (KQ245AA) 960x720 USB camera with most settings set to manual (focus, exposure, "
    "white balance temperature, etc). Useful for robotics applications.",
    "camera-hpprem-manual", '\0', "",
    "--framegrabber-dims=960x720 --framegrabber-mode=YUYV --noframegrabber-bswap "
    "--framegrabber-brightness=0 --framegrabber-contrast=32 --framegrabber-saturation=64 --framegrabber-hue=0 "
    "--framegrabber-auto-whitebaltemp=false --framegrabber-gamma=110 --framegrabber-gain=0 "
    "--framegrabber-powerlinefreq=0 --framegrabber-exposuremode=1 --framegrabber-exposure-abs=800 "
    "--framegrabber-exposure-autopri=true --framegrabber-autofocus=false --framegrabber-focus=15"
 }

Definition at line 485 of file DeviceOpts.C.

const ModelOptionDef OPT_ALIAScamiSight
Initial value:
  { MODOPT_ALIAS, "ALIAScamiSight", &MOC_ALIAS, OPTEXP_CORE,
    "Use Apple iSight camera (external IEEE1394 model, not the USB model "
    "integrated into Macbook laptops). Surprsingly, even though the "
    "camera seems to stream at 30fps, the video looks like it may only "
    "capture at 15fps and then send each frame twice",
    "camera-isight", '\0', "",
    "--framegrabber-brightness=127 --framegrabber-hue=180" }

Definition at line 435 of file DeviceOpts.C.

const ModelOptionDef OPT_ALIAScamLifeCam
Initial value:
  { MODOPT_ALIAS, "ALIAScamLifeCam", &MOC_ALIAS, OPTEXP_CORE,
    "Use Microsoft LifeCam 1280x720 USB camera.",
    "camera-lifecam", '\0', "",
    "--framegrabber-dims=1280x720 --framegrabber-mode=YUYV --noframegrabber-bswap "
    "--framegrabber-brightness=133 --framegrabber-contrast=5 --framegrabber-saturation=83 "
    "--framegrabber-auto-whitebaltemp=true --framegrabber-powerlinefreq=2 --framegrabber-whitebaltemp=4500 "
    "--framegrabber-sharpness=25 --framegrabber-backlight=0 --framegrabber-exposuremode=3 "
    "--framegrabber-exposure-abs=156 --framegrabber-focus=0 --framegrabber-autofocus=true --framegrabber-zoom=0"
    
    
  }

Definition at line 445 of file DeviceOpts.C.

const ModelOptionDef OPT_ALIAScamLifeCamManual
Initial value:
  { MODOPT_ALIAS, "ALIAScamLifeCamManual", &MOC_ALIAS, OPTEXP_CORE,
    "Use Microsoft LifeCam 1280x720 USB camera with most settings set to manual (focus, exposure, "
    "white balance temperature, etc). Useful for robotics applications. Note: exposure-abs values are funky on "
    "this camera. 9, 19, 39, 78, 156, 312 work, probably some other vals too but in-betweens look over-exposed.",
    "camera-lifecam-manual", '\0', "",
    "--framegrabber-dims=1280x720 --framegrabber-mode=YUYV --noframegrabber-bswap "
    "--framegrabber-brightness=130 --framegrabber-contrast=5 --framegrabber-saturation=83 "
    "--framegrabber-auto-whitebaltemp=false --framegrabber-powerlinefreq=0 --framegrabber-whitebaltemp=3000 "
    "--framegrabber-sharpness=25 --framegrabber-backlight=0 --framegrabber-exposuremode=1 "
    "--framegrabber-exposure-abs=78 --framegrabber-focus=10 --framegrabber-autofocus=false --framegrabber-zoom=0"
 }

Definition at line 459 of file DeviceOpts.C.

Initial value:
  { MODOPT_ALIAS, "ALIAScamMacbook", &MOC_ALIAS, OPTEXP_CORE,
    "Use builtin camera of Apple Macbook (Core 2 Duo version). This only "
    "works with V4L2 and uses the uvcvideo kernel driver. Only resolutions "
    "supported seem to be 320x240 and 640x480 (both at 30.00 fps). The "
    "camera seems to support setting the gamma (which under V4L2 currently "
    "is the same as whiteness), but apparently this has no effect and the "
    "value remains at its default",
    "camera-macbook", '\0', "",
    "--framegrabber-mode=UYVY --framegrabber-brightness=100 "
    "--noframegrabber-bswap --framegrabber-saturation=5 "
    "--framegrabber-chan=0 --framegrabber-whiteness=150" }

Aliases for various cameras:

Definition at line 410 of file DeviceOpts.C.

Referenced by V4L2grabber::V4L2grabber().

const ModelOptionDef OPT_AudioGrabberBits
Initial value:
  { MODOPT_ARG(unsigned int), "AudioGrabberBits", &MOC_AUDIO, OPTEXP_CORE,
    "Audio grabber bits per sample",
    "audio-grab-bits", '\0', "<8|16>", "8" }

Definition at line 606 of file DeviceOpts.C.

const ModelOptionDef OPT_AudioGrabberBufSamples
Initial value:
  { MODOPT_ARG(unsigned int), "AudioGrabberBufSamples", &MOC_AUDIO, OPTEXP_CORE,
    "Audio grabber buffer length (in samples)",
    "audio-grab-bufsamp", '\0', "<int>", "256" }

Definition at line 618 of file DeviceOpts.C.

const ModelOptionDef OPT_AudioGrabberChans
Initial value:
  { MODOPT_ARG(unsigned int), "AudioGrabberChans", &MOC_AUDIO, OPTEXP_CORE,
    "Audio grabber number of channels to record",
    "audio-grab-chans", '\0', "<int>", "1" }

Definition at line 624 of file DeviceOpts.C.

Initial value:
  { MODOPT_ARG_STRING, "AudioGrabberDevice", &MOC_AUDIO, OPTEXP_CORE,
    "Audio grabber device name",
    "audio-grab-dev", '\0', "<file>", "/dev/dsp" }

Command-line options for AudioGrabber.

Definition at line 600 of file DeviceOpts.C.

Referenced by RadioDecoder::RadioDecoder().

const ModelOptionDef OPT_AudioGrabberFreq
Initial value:
  { MODOPT_ARG(unsigned int), "AudioGrabberFreq", &MOC_AUDIO, OPTEXP_CORE,
    "Audio grabber sampling frequency (Hz)",
    "audio-grab-freq", '\0', "<int>", "44100" }

Definition at line 612 of file DeviceOpts.C.

const ModelOptionDef OPT_AudioGrabberInterleaved
Initial value:
  { MODOPT_FLAG, "AudioGrabberInterleaved", &MOC_AUDIO, OPTEXP_CORE,
    "True if channel data is interleaved (as opposed to chunked)",
    "audio-grab-interleaved", '\0', "<true|false>", "false" }

Definition at line 630 of file DeviceOpts.C.

const ModelOptionDef OPT_AudioMixerCdIn
Initial value:
  { MODOPT_FLAG, "AudioMixerCdIn", &MOC_AUDIO, OPTEXP_CORE,
    "Audio mixer CD input",
    "audio-mix-cdin", '\0', "", "false" }

Definition at line 587 of file DeviceOpts.C.

Initial value:
  { MODOPT_ARG_STRING, "AudioMixerDevice", &MOC_AUDIO, OPTEXP_CORE,
    "Audio mixer device name",
    "audio-mix-dev", '\0', "<file>", "/dev/mixer" }

Command-line options for AudioMixer.

Definition at line 575 of file DeviceOpts.C.

Referenced by RadioDecoder::RadioDecoder().

const ModelOptionDef OPT_AudioMixerLineIn
Initial value:
  { MODOPT_FLAG, "AudioMixerLineIn", &MOC_AUDIO, OPTEXP_CORE,
    "Audio mixer Line input",
    "audio-mix-linein", '\0', "", "true" }

Definition at line 581 of file DeviceOpts.C.

const ModelOptionDef OPT_AudioMixerMicIn
Initial value:
  { MODOPT_FLAG, "AudioMixerMicIn", &MOC_AUDIO, OPTEXP_CORE,
    "Audio mixer Mic input",
    "audio-mix-micin", '\0', "", "false" }

Definition at line 593 of file DeviceOpts.C.

const ModelOptionDef OPT_DeinterlacerType
Initial value:
  { MODOPT_ARG_STRING, "DeinterlacerType", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Deinterlacer type name",
    "deinterlacer", '\0', "<None|Bob>", "None" }

Definition at line 82 of file DeviceOpts.C.

const ModelOptionDef OPT_DiskDataStreamNumThreads
Initial value:
  { MODOPT_ARG(uint), "DiskDataStreamNumThreads", &MOC_OUTPUT, OPTEXP_CORE,
    "How many worker threads to use for streaming files to disk.",
    "datastream-num-threads", '\0', "<uint>", "1" }

Definition at line 654 of file DeviceOpts.C.

Initial value:
  { MODOPT_ARG_STRING, "DiskDataStreamSavePath", &MOC_OUTPUT, OPTEXP_CORE,
    "Comma-separated list of filename stems for where to save files; "
    "e.g., 'dir0/pfx0,dir1/pfx1' will save even-numbered files with "
    "the prefix 'dir0/pfx0' and will save odd-numbered files with "
    "the prefix 'dir1/pfx1'",
    "datastream-save-path", '\0', "<stem1,stem2,...,stemN>", "./" }

Command-line options for DiskDataStream.

Definition at line 637 of file DeviceOpts.C.

const ModelOptionDef OPT_DiskDataStreamSavePeriod
Initial value:
  { MODOPT_ARG(uint), "DiskDataStreamSavePeriod", &MOC_OUTPUT, OPTEXP_CORE,
    "How often to save frames (1 = save every frame; N = save every "
    "Nth frame).",
    "datastream-save-period", '\0', "<uint>", "1" }

Definition at line 667 of file DeviceOpts.C.

const ModelOptionDef OPT_DiskDataStreamSleepUsecs
Initial value:
  { MODOPT_ARG(uint), "DiskDataStreamSleepUsecs", &MOC_OUTPUT, OPTEXP_CORE,
    "How many microseconds each worker thread should sleep "
    "after writing each frame to disk.",
    "datastream-sleep-usecs", '\0', "<uint>", "0" }

Definition at line 660 of file DeviceOpts.C.

const ModelOptionDef OPT_DiskDataStreamUseMmap
Initial value:
  { MODOPT_ARG(bool), "DiskDataStreamUseMmap", &MOC_OUTPUT, OPTEXP_CORE,
    "Whether to use mmap() instead of write() to stream data to disk. The"
    "default is to use mmap(), which may be significantly faster, but may"
    "be somewhat less portable",
    "datastream-use-mmap", '\0', "<true|false>", "true" }

Definition at line 646 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberAudioBalance
Initial value:
  { MODOPT_ARG(int), "FrameGrabberAudioBalance", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Audio stereo balance. Minimum corresponds to all the way left, maximum to right",
    "framegrabber-audio-bal", '\0', "<int>", "0" }

Definition at line 275 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberAudioBass
Initial value:
  { MODOPT_ARG(int), "FrameGrabberAudioBass", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Audio bass adjustment",
    "framegrabber-audio-bass", '\0', "<int>", "0" }

Definition at line 281 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberAudioLoudness
Initial value:
  { MODOPT_FLAG, "FrameGrabberAudioLoudness", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Loudness mode (bass boost)",
    "framegrabber-audio-loudness", '\0', "", "false" }

Definition at line 301 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberAudioMute
Initial value:
  { MODOPT_FLAG, "FrameGrabberAudioMute", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Mute audio, i. e. set the volume to zero, however without affecting the audio volume. Like ALSA drivers, "
    "V4L2 drivers must mute at load time to avoid excessive noise. Actually the entire device should be reset "
    "to a low power consumption state",
    "framegrabber-audio-mute", '\0', "", "false" }

Definition at line 293 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberAudioTreble
Initial value:
  { MODOPT_ARG(int), "FrameGrabberAudioTreble", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Audio treble adjustment",
    "framegrabber-audio-treb", '\0', "<int>", "0" }

Definition at line 287 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberAudioVolume
Initial value:
  { MODOPT_ARG(int), "FrameGrabberAudioVolume", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Overall audio volume. Note some drivers also provide an OSS or ALSA mixer interface",
    "framegrabber-audio-vol", '\0', "<int>", "100" }

Definition at line 269 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberAutoGain
Initial value:
  { MODOPT_FLAG, "FrameGrabberAutoGain", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Automatic gain/exposure control",
    "framegrabber-autogain", '\0', "", "true" }

Definition at line 321 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberAutoWhiteBal
Initial value:
  { MODOPT_FLAG, "FrameGrabberAutoWhiteBal", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Automatic white balance",
    "framegrabber-auto-whitebal", '\0', "", "true" }

Definition at line 307 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberBacklightComp
Initial value:
  { MODOPT_ARG(int), "FrameGrabberBacklightComp", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Backlight compensation",
    "framegrabber-backlight", '\0', "<int>", "0" }

Definition at line 370 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberBrightness
Initial value:
  { MODOPT_ARG(int), "FrameGrabberBrightness", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Brightness of the grabbed picture",
    "framegrabber-brightness", '\0', "<int>", "32768" }

Definition at line 155 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberByteSwap
Initial value:
  { MODOPT_FLAG, "FrameGrabberByteSwap", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Framegrabber use byte-swapping on grabbed data",
    "framegrabber-bswap", '\0', "", "false" }

Definition at line 131 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberChannel
Initial value:
  { MODOPT_ARG(int), "FrameGrabberChannel", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Framegrabber input channel (typically, 0=TV, 1=Composite)",
    "framegrabber-chan", '\0', "<int>", "1" }

Definition at line 94 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberColour
Initial value:
  { MODOPT_ARG(int), "FrameGrabberColour", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Brightness of the grabbed picture",
    "framegrabber-colour", '\0', "<int>", "32768" }

Definition at line 160 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberContrast
Initial value:
  { MODOPT_ARG(int), "FrameGrabberContrast", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Contrast of the grabbed picture",
    "framegrabber-contrast", '\0', "<int>", "32768" }

Definition at line 175 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberDevice
Initial value:
  { MODOPT_ARG_STRING, "FrameGrabberDevice", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Framegrabber device name",
    "framegrabber-dev", '\0', "<file>", "/dev/video0" }

Definition at line 88 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberDims
Initial value:
  { MODOPT_ARG(Dims), "FrameGrabberDims", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Framegrabber grab image dimensions",
    "framegrabber-dims", '\0', "<width>x<height>", "320x240" }

Definition at line 106 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberDoWhiteBal
Initial value:
  { MODOPT_FLAG, "FrameGrabberDoWhiteBal", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "This is an action control. When set (the value is ignored), the device will do a white balance and "
    "then hold the current setting. Contrast this with the boolean --framegrabber-auto-whitebal, which, "
    "when activated, keeps adjusting the white balance.",
    "framegrabber-do-whitebal", '\0', "", "false" }

Definition at line 313 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberExposure
Initial value:
  { MODOPT_ARG(int), "FrameGrabberExposure", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Exposure of the frame grabber",
    "framegrabber-exposure", '\0', "<int>", "511" }

Definition at line 185 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberExposureAbs
Initial value:
  { MODOPT_ARG(int), "FrameGrabberExposureAbs", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Exposure (absolute) of the frame grabber (make sure you selected manual exposure mode). Note that on some cameras "
    "only a few discrete values in the range are valid; for example, 9, 19, 39, 78, 156, 312 and similar for "
    "the Microsoft Lifecam Cinema 720p",
    "framegrabber-exposure-abs", '\0', "<int>", "511" }

Definition at line 400 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberExposureAutoPri
Initial value:
  { MODOPT_FLAG, "FrameGrabberExposureAutoPri", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Exposure auto priority control flag",
    "framegrabber-exposure-autopri", '\0', "", "false" }

Definition at line 382 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberExposureMode
Initial value:
  { MODOPT_ARG(int), "FrameGrabberExposureAuto", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Exposure control mode",
    "framegrabber-exposuremode", '\0', "<int>", "0" }

Definition at line 376 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberFocus
Initial value:
  { MODOPT_ARG(int), "FrameGrabberFocus", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Manual focus value (make sure you disabled auto-focus)",
    "framegrabber-focus", '\0', "<int>", "10" }

Definition at line 388 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberFocusAuto
Initial value:
  { MODOPT_FLAG, "FrameGrabberFocusAuto", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Whether to use built-in auto-focus",
    "framegrabber-autofocus", '\0', "", "true" }

Definition at line 346 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberFPS
Initial value:
  { MODOPT_ARG(float), "FrameGrabberFPS", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Framegrabber grabbing frames per seconds",
    "framegrabber-fps", '\0', "<float>", "30.0" }

Definition at line 137 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberGain
Initial value:
  { MODOPT_ARG(int), "FrameGrabberGain", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Gain of the frame grabber",
    "framegrabber-gain", '\0', "<int>", "87" }

Definition at line 250 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberGamma
Initial value:
  { MODOPT_ARG(int), "FrameGrabberGamma", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Gamma correction of the frame grabber",
    "framegrabber-gamma", '\0', "<int>", "1" }

Definition at line 235 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberHFlip
Initial value:
  { MODOPT_FLAG, "FrameGrabberHFlip", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Mirror the picture horizontally",
    "framegrabber-hflip", '\0', "", "false" }

Definition at line 327 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberHue
Initial value:
  { MODOPT_ARG(int), "FrameGrabberHue", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Hue of the grabbed picture",
    "framegrabber-hue", '\0', "<int>", "32768" }

Definition at line 165 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberHueAuto
Initial value:
  { MODOPT_FLAG, "FrameGrabberHueAuto", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Enables automatic hue control by the device. The effect of setting --framegrabber-hue while automatic hue "
    "control is enabled is undefined, drivers should ignore such request",
    "framegrabber-hue-auto", '\0', "", "true" }

Definition at line 339 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberMode
Initial value:
  { MODOPT_ARG(VideoFormat), "FrameGrabberMode", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Framegrabber grab mode",
    "framegrabber-mode", '\0', "<GREY|RAW|RGB555|RGB565|RGB24|RGB32|YUV24|YUYV|"
    "UYVY|YUV444|YUV422|YUV411|YUV420|YUV410|YUV444P|YUV422P|YUV411P|YUV420P|"
    "YUV410P|HM12|MJPEG|BAYER_GB|BAYER_GR|"
    "BAYER_RG|BAYER_BG|BAYER_GB12|BAYER_GR12|BAYER_RG12|BAYER_BG12>",
    "YUV422" }

Definition at line 121 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberNbuf
Initial value:
  { MODOPT_ARG(int), "FrameGrabberNbuf", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Framegrabber number fo grab buffers",
    "framegrabber-nbuf", '\0', "<int>", "2" }

Definition at line 143 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberOffset
Initial value:
  { MODOPT_ARG(Dims), "FrameGrabberOffset", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Framegrabber grab image offset (top-left corner) within the device's full "
    "frame dims. This is used by XCgrabber to capture a subwindow of the "
    "camera's native frames, by specifying a non-zero offset and dims smaller "
    "than the camera's native dims.",
    "framegrabber-offset", '\0', "<xoff>x<yoff>", "0x0" }

Definition at line 112 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberPowerLineFreq
Initial value:
  { MODOPT_ARG(int), "FrameGrabberPowerLineFreq", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Power line frequency compensation",
    "framegrabber-powerlinefreq", '\0', "<int>", "2" }

Definition at line 364 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberSaturation
Initial value:
  { MODOPT_ARG(int), "FrameGrabberSaturation", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Saturation of the grabbed picture",
    "framegrabber-saturation", '\0', "<int>", "90" }

Definition at line 170 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberSharpness
Initial value:
  { MODOPT_ARG(int), "FrameGrabberSharpness", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Sharpness of the grabbed picture",
    "framegrabber-sharpness", '\0', "<int>", "80" }

Definition at line 190 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberShutter
Initial value:
  { MODOPT_ARG(int), "FrameGrabberShutter", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Shutter speed of the frame grabber",
    "framegrabber-shutter", '\0', "<int>", "6" }

Definition at line 245 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberStreaming
Initial value:
  { MODOPT_FLAG, "FrameGrabberStreaming", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Turn streaming mode on/off for frame-grabbers used through the "
    "generic FrameIstream interface. Compared with single-frame mode, "
    "streaming mode gives higher frame rates, but also requires that "
    "the application be able to keep up with the frame rate; otherwise "
    "the grabber will start to lose frames. In general, if the program "
    "can operate at a consistently high frame rate, then streaming is "
    "the way to go, but if the program requires lengthy per-frame "
    "processing, or if the processing time varies widely from one "
    "frame to the next, then single-frame mode is the way to go.",
    "framegrabber-streaming", '\0', "", "true" }

Definition at line 255 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberSubChan
Initial value:
  { MODOPT_ARG(int), "FrameGrabberSubChan", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Framegrabber input sub-channel",
    "framegrabber-subchan", '\0', "<int>", "0" }

Definition at line 100 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberType
Initial value:
  { MODOPT_ARG_STRING, "FrameGrabberType", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Framegrabber type name",
    "fg-type", '\0', "<None|V4L|V4L2|1394|XC|KINECT>", "None" }

Definition at line 76 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberVFlip
Initial value:
  { MODOPT_FLAG, "FrameGrabberVFlip", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Mirror the picture vertically",
    "framegrabber-vflip", '\0', "", "false" }

Definition at line 333 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberWhiteBalBU
Initial value:
  { MODOPT_ARG(int), "FrameGrabberWhiteBalBU", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "B/U white balance of the grabbed picture",
    "framegrabber-whitebalBU", '\0', "<int>", "95" }

Definition at line 195 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberWhiteBalReferenceB
Initial value:
  { MODOPT_ARG(int), "FrameGrabberWhiteBalReferenceB", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "target B value for white balance of the grabbed picture",
    "xcgrabber-whiteReferenceB", '\0', "<int>", "87" }

Definition at line 230 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberWhiteBalReferenceG
Initial value:
  { MODOPT_ARG(int), "FrameGrabberWhiteBalReferenceG", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "target G value for white balance of the grabbed picture",
    "xcgrabber-whiteReferenceG", '\0', "<int>", "87" }

Definition at line 225 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberWhiteBalReferenceR
Initial value:
  { MODOPT_ARG(int), "FrameGrabberWhiteBalReferenceR", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "target R value for white balance of the grabbed picture",
    "xcgrabber-whiteReferenceR", '\0', "<int>", "87" }

Definition at line 220 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberWhiteBalRV
Initial value:
  { MODOPT_ARG(int), "FrameGrabberWhiteBalRV", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "R/V white balance of the grabbed picture",
    "framegrabber-whitebalRV", '\0', "<int>", "87" }

Definition at line 200 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberWhiteBalTargetB
Initial value:
  { MODOPT_ARG(int), "FrameGrabberWhiteBalTargetB", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "target B value for white balance of the grabbed picture",
    "xcgrabber-whiteTargetB", '\0', "<int>", "87" }

Definition at line 215 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberWhiteBalTargetG
Initial value:
  { MODOPT_ARG(int), "FrameGrabberWhiteBalTargetG", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "target G value for white balance of the grabbed picture",
    "xcgrabber-whiteTargetG", '\0', "<int>", "87" }

Definition at line 210 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberWhiteBalTargetR
Initial value:
  { MODOPT_ARG(int), "FrameGrabberWhiteBalTargetR", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "target R value for white balance of the grabbed picture",
    "xcgrabber-whiteTargetR", '\0', "<int>", "87" }

Definition at line 205 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberWhiteBalTemp
Initial value:
  { MODOPT_ARG(int), "FrameGrabberWhiteBalTemp", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Manual white balance temperature (make sure auto white balance is disabled)",
    "framegrabber-whitebaltemp", '\0', "<int>", "4500" }

Definition at line 358 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberWhiteBalTempAuto
Initial value:
  { MODOPT_FLAG, "FrameGrabberWhiteBalTempAuto", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Whether to use built-in auto white balance temperature",
    "framegrabber-auto-whitebaltemp", '\0', "", "true" }

Definition at line 352 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberWhiteness
Initial value:
  { MODOPT_ARG(int), "FrameGrabberWhiteness", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Whiteness of the grabbed picture",
    "framegrabber-whiteness", '\0', "<int>", "32768" }

Definition at line 180 of file DeviceOpts.C.

const ModelOptionDef OPT_FrameGrabberZoom
Initial value:
  { MODOPT_ARG(int), "FrameGrabberZoom", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Manual zoom value",
    "framegrabber-zoom", '\0', "<int>", "0" }

Definition at line 394 of file DeviceOpts.C.

const ModelOptionDef OPT_VCC4maxAngle
Initial value:
  { MODOPT_ARG(float), "VCC4maxAngle", &MOC_VCC4, OPTEXP_CORE,
    "VCC4 max angle, or 0.0 to query it from the VCC4 unit",
    "vcc4-max-angle", '\0', "<float>", "0.0" }

Definition at line 567 of file DeviceOpts.C.

const ModelOptionDef OPT_VCC4pulseRatio
Initial value:
  { MODOPT_ARG(float), "VCC4pulseRatio", &MOC_VCC4, OPTEXP_CORE,
    "VCC4 pulse ratio, or 0.0 to query it from the VCC4 unit",
    "vcc4-pulse-ratio", '\0', "<float>", "0.0" }

Definition at line 561 of file DeviceOpts.C.

const ModelOptionDef OPT_VCC4serialDevice
Initial value:
  { MODOPT_ARG_STRING, "VCC4serialDevice", &MOC_VCC4, OPTEXP_CORE,
    "the serial device for the VCC4 camera",
    "vcc4-serial-device", '\0', "<dev>", "/dev/usb/tts/0" }

Definition at line 549 of file DeviceOpts.C.

const ModelOptionDef OPT_VCC4unitNo
Initial value:
  { MODOPT_ARG(int), "VCC4unitNo", &MOC_VCC4, OPTEXP_CORE,
    "VCC4 unit number",
    "vcc4-unit-no", '\0', "<0..9>", "0" }

Definition at line 555 of file DeviceOpts.C.

Initial value:
  { MODOPT_ARG_STRING, "XCGrabberFormatFile", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "XC camera configure format file",
    "xc-format", '\0', "<file>", ""
  }

Command-line options for XC cameralink HD camera.

Definition at line 149 of file DeviceOpts.C.

const ModelOptionDef OPT_XCFrameGrabberGamma
Initial value:
  { MODOPT_ARG(float), "XCFrameGrabberGamma", &MOC_FRAMEGRAB, OPTEXP_CORE,
    "Gamma correction of the frame grabber",
    "xc-gamma", '\0', "<float>", "1.0" }

Definition at line 240 of file DeviceOpts.C.

Generated on Sun May 8 08:42:40 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3