iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
V4L2ControlParamDefs.H File Reference

Author
Unknown

License

// ////////////////////////////////////////////////////////////////////////
//              The iLab Neuromorphic Robotics Toolkit (NRT)             //
// Copyright 2010-2012 by the University of Southern California (USC)    //
//                          and the iLab at USC.                         //
//                                                                       //
//                iLab - University of Southern California               //
//                Hedco Neurociences Building, Room HNB-10               //
//                    Los Angeles, Ca 90089-2520 - USA                   //
//                                                                       //
//      See http://ilab.usc.edu for information about this project.      //
// ////////////////////////////////////////////////////////////////////////
// This file is part of The iLab Neuromorphic Robotics Toolkit.          //
//                                                                       //
// The iLab Neuromorphic Robotics Toolkit is free software: you can      //
// redistribute it and/or modify it under the terms of the GNU General   //
// Public License as published by the Free Software Foundation, either   //
// version 3 of the License, or (at your option) any later version.      //
//                                                                       //
// The iLab Neuromorphic Robotics Toolkit is distributed in the hope     //
// that it will be useful, but WITHOUT ANY WARRANTY; without even the    //
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR       //
// PURPOSE.  See the GNU General Public License for more details.        //
//                                                                       //
// You should have received a copy of the GNU General Public License     //
// along with The iLab Neuromorphic Robotics Toolkit.  If not, see       //
// <http://www.gnu.org/licenses/>.                                       //
// ////////////////////////////////////////////////////////////////////////

Definition in file V4L2ControlParamDefs.H.

Go to the source code of this file.

Namespaces

 nrt
 Reserved namespace for NRT core classes and functions.
 

Variables

static ParameterCategory nrt::v4l2::ParamCateg ("V4L2 Image Source Related Parameters")
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberBrightnessParamDef ("brightness","Brightness of the grabbed picture", 32768, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberHueParamDef ("hue","Hue of the grabbed picture", 32768, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberSaturationParamDef ("saturation","Saturation of the grabbed picture", 90, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberContrastParamDef ("contrast","Contrast of the grabbed picture", 32768, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberExposureParamDef ("exposure","Exposure of the frame grabber", 511, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberSharpnessParamDef ("sharpness","Sharpness of the grabbed picture", 80, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberWhiteBalBUParamDef ("whitebalBU","B/U white balance of the grabbed picture", 95, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberWhiteBalRVParamDef ("whitebalRV","R/V white balance of the grabbed picture", 87, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberGammaParamDef ("gamma","Gamma correction of the frame grabber", 1, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberGainParamDef ("gain","Gain of the frame grabber", 87, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberAudioVolumeParamDef ("audio-vol","Overall audio volume. Note some drivers also provide an OSS or ALSA mixer interface", 100, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberAudioBalanceParamDef ("audio-bass","Audio stereo balance. Minimum corresponds to all the way left, maximum to right", 0, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberAudioTrebleParamDef ("audio-treb","Audio treble adjustment", 0, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberAudioBassParamDef ("audio-bass","Audio bass adjustment", 0, ParamCateg)
 
static const ParameterDef< bool > nrt::v4l2::FrameGrabberAudioLoudnessParamDef ("audio-loudness","Loudness mode (bass boost)", false, ParamCateg)
 
static const ParameterDef< bool > nrt::v4l2::FrameGrabberAudioMuteParamDef ("audio-mute","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", false, ParamCateg)
 
static const ParameterDef< bool > nrt::v4l2::FrameGrabberDoWhiteBalParamDef ("do-whitebal","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 --auto-whitebal, which, ""when activated, keeps adjusting the white balance.", false, ParamCateg)
 
static const ParameterDef< bool > nrt::v4l2::FrameGrabberAutoGainParamDef ("autogain","Automatic gain/exposure control", true, ParamCateg)
 
static const ParameterDef< bool > nrt::v4l2::FrameGrabberHFlipParamDef ("hflip","Mirror the picture horizontally", false, ParamCateg)
 
static const ParameterDef< bool > nrt::v4l2::FrameGrabberVFlipParamDef ("vflip","Mirror the picture vertically", false, ParamCateg)
 
static const ParameterDef< bool > nrt::v4l2::FrameGrabberHueAutoParamDef ("hue-auto","Enables automatic hue control by the device. The effect of setting --hue while automatic hue ""control is enabled is undefined, drivers should ignore such request", true, ParamCateg)
 
static const ParameterDef< bool > nrt::v4l2::FrameGrabberFocusAutoParamDef ("autofocus","Whether to use built-in auto-focus", true, ParamCateg)
 
static const ParameterDef< bool > nrt::v4l2::FrameGrabberWhiteBalTempAutoParamDef ("auto-whitebaltemp","Whether to use built-in auto white balance temperature", true, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberWhiteBalTempParamDef ("whitebaltemp","Manual white balance temperature (make sure auto white balance is disabled)", 4500, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberPowerLineFreqParamDef ("powerlinefreq","Power line frequency compensation", 2, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberBacklightCompParamDef ("backlight","Backlight compensation", 0, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberExposureModeParamDef ("exposuremode","Exposure control mode", 0, ParamCateg)
 
static const ParameterDef< bool > nrt::v4l2::FrameGrabberExposureAutoPriParamDef ("exposure-autopri","Exposure auto priority control flag", false, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberFocusParamDef ("focus","Manual focus value (make sure you disabled auto-focus)", 10, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberZoomParamDef ("zoom","Manual zoom value", 0, ParamCateg)
 
static const ParameterDef< int > nrt::v4l2::FrameGrabberExposureAbsParamDef ("exposure-abs","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", 511, ParamCateg)