
Definition in file DeviceOpts.C.
#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.
|
|
Initial value: {
MOC_SORTPRI_2, "Audio-Related Options" }
Definition at line 48 of file DeviceOpts.C. |
|
|
Initial value: {
MOC_SORTPRI_2, "Video FrameGrabber-Related Options" }
Definition at line 72 of file DeviceOpts.C. |
|
|
Initial value: {
MOC_SORTPRI_2, "VCC4 Pan/Tilt Camera Options" }
Definition at line 307 of file DeviceOpts.C. |
|
|
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 285 of file DeviceOpts.C. Referenced by V4Lgrabber::V4Lgrabber(). |
|
|
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 296 of file DeviceOpts.C. Referenced by IEEE1394grabber::IEEE1394grabber(), and XCgrabberFlex::XCgrabberFlex(). |
|
|
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" }
Definition at line 271 of file DeviceOpts.C. |
|
|
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 368 of file DeviceOpts.C. Referenced by submain(). |
|
|
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 380 of file DeviceOpts.C. Referenced by submain(). |
|
|
Initial value:
{ MODOPT_ARG_STRING, "AudioGrabberDevice", &MOC_AUDIO, OPTEXP_CORE,
"Audio grabber device name",
"audio-grab-dev", '\0', "<file>", "/dev/dsp" }
Definition at line 362 of file DeviceOpts.C. Referenced by RadioDecoder::RadioDecoder(). |
|
|
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 374 of file DeviceOpts.C. Referenced by submain(). |
|
|
Initial value:
{ MODOPT_ARG(bool), "AudioGrabberStereo", &MOC_AUDIO, OPTEXP_CORE,
"Audio grabber stereo recording",
"audio-grab-stereo", '\0', "<true|false>", "true" }
Definition at line 386 of file DeviceOpts.C. Referenced by RadioDecoder::RadioDecoder(), and submain(). |
|
|
Initial value:
{ MODOPT_FLAG, "AudioMixerCdIn", &MOC_AUDIO, OPTEXP_CORE,
"Audio mixer CD input",
"audio-mix-cdin", '\0', "", "false" }
Definition at line 349 of file DeviceOpts.C. Referenced by RadioDecoder::RadioDecoder(), and submain(). |
|
|
Initial value:
{ MODOPT_ARG_STRING, "AudioMixerDevice", &MOC_AUDIO, OPTEXP_CORE,
"Audio mixer device name",
"audio-mix-dev", '\0', "<file>", "/dev/mixer" }
Definition at line 337 of file DeviceOpts.C. Referenced by RadioDecoder::RadioDecoder(). |
|
|
Initial value:
{ MODOPT_FLAG, "AudioMixerLineIn", &MOC_AUDIO, OPTEXP_CORE,
"Audio mixer Line input",
"audio-mix-linein", '\0', "", "true" }
Definition at line 343 of file DeviceOpts.C. Referenced by RadioDecoder::RadioDecoder(), and submain(). |
|
|
Initial value:
{ MODOPT_FLAG, "AudioMixerMicIn", &MOC_AUDIO, OPTEXP_CORE,
"Audio mixer Mic input",
"audio-mix-micin", '\0', "", "false" }
Definition at line 355 of file DeviceOpts.C. Referenced by RadioDecoder::RadioDecoder(), and submain(). |
|
|
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. Referenced by submain(). |
|
|
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 411 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>", "./" }
Definition at line 394 of file DeviceOpts.C. |
|
|
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 424 of file DeviceOpts.C. |
|
|
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 417 of file DeviceOpts.C. Referenced by submain(). |
|
|
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 403 of file DeviceOpts.C. |
|
|
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. |
|
|
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. Referenced by main(). |
|
|
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. Referenced by main(). |
|
|
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. |
|
|
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. Referenced by main(). |
|
|
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. Referenced by main(). |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. Referenced by main(). |
|
|
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|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. |
|
|
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. Referenced by main(). |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. Referenced by main(). |
|
|
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. |
|
|
Initial value:
{ MODOPT_ARG_STRING, "FrameGrabberType", &MOC_FRAMEGRAB, OPTEXP_CORE,
"Framegrabber type name",
"fg-type", '\0', "<None|V4L|V4L2|1394|XC>", "None" }
Definition at line 76 of file DeviceOpts.C. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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 329 of file DeviceOpts.C. |
|
|
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 323 of file DeviceOpts.C. |
|
|
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 311 of file DeviceOpts.C. |
|
|
Initial value:
{ MODOPT_ARG(int), "VCC4unitNo", &MOC_VCC4, OPTEXP_CORE,
"VCC4 unit number",
"vcc4-unit-no", '\0', "<0..9>", "0" }
Definition at line 317 of file DeviceOpts.C. |
|
|
Initial value:
{ MODOPT_ARG_STRING, "XCGrabberFormatFile", &MOC_FRAMEGRAB, OPTEXP_CORE,
"XC camera configure format file",
"xc-format", '\0', "<file>", ""
}
Definition at line 149 of file DeviceOpts.C. |
|
|
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. |
1.4.4