naoqidriver
Functions | Variables
AL Namespace Reference

Functions

bool isResolutionValid (const int resIndex)
 
void setSizeFromResolution (const int resIndex, int &outWidth, int &outHeight)
 
int getResolutionFromSize (const int width, const int height)
 
bool isColorSpaceValid (const int colorspace)
 
int getNumLayersInColorSpace (const int colorSpace)
 
float convertAngleValToNormalizedImgVal (const float &radValue, const float &imageRadMin, const float &imageRadMax)
 
float convertAnglePosToNormalizedImgPos (const float &radPosition, const float &imageRadMin, const float &imageRadMax)
 

Variables

const int kOV7670 = 1
 
const int kMT9M114 = 2
 
const int kOV5640 = 3
 
const int kXTION = 4
 
const int kTopCamera = 0
 
const int kBottomCamera = 1
 
const int kDepthCamera = 2
 
const int kInfraredCamera = 3
 
const float kApertureH_OV7670 = 47.8f
 
const float kApertureV_OV7670 = 36.8f
 
const float kApertureH_MT9M114 = 60.9f
 
const float kApertureV_MT9M114 = 47.6f
 
const int kQQVGA = 0
 
const int kQVGA = 1
 
const int kVGA = 2
 
const int k4VGA = 3
 
const int k960p = k4VGA
 
const int k16VGA = 4
 
const int k1920p = k16VGA
 
const int k720p = 5
 
const int k1080p = 6
 
const int kQQQVGA = 7
 
const int kQQQQVGA = 8
 
const int kYuvColorSpace = 0
 
const int kyUvColorSpace = 1
 
const int kyuVColorSpace = 2
 
const int kRgbColorSpace = 3
 
const int krGbColorSpace = 4
 
const int krgBColorSpace = 5
 
const int kHsyColorSpace = 6
 
const int khSyColorSpace = 7
 
const int khsYColorSpace = 8
 
const int kYUV422InterlacedColorSpace = 9
 
const int kYUV422ColorSpace = 9
 
const int kYUVColorSpace = 10
 
const int kRGBColorSpace = 11
 
const int kHSYColorSpace = 12
 
const int kBGRColorSpace = 13
 
const int kYYCbCrColorSpace = 14
 
const int kH2RGBColorSpace = 15
 
const int kHSMixedColorSpace = 16
 
const int kDepthColorSpace = 17
 
const int kARGBColorSpace = 18
 
const int kXYZColorSpace = 19
 
const int kInfraredColorSpace = 20
 
const int kDistanceColorSpace = 21
 
const int kCameraBrightnessID = 0
 
const int kCameraContrastID = 1
 
const int kCameraSaturationID = 2
 
const int kCameraHueID = 3
 
const int kCameraRedChromaID = 4
 
const int kCameraBlueChromaID = 5
 
const int kCameraGainID = 6
 
const int kCameraHFlipID = 7
 
const int kCameraVFlipID = 8
 
const int kCameraLensXID = 9
 
const int kCameraLensYID = 10
 
const int kCameraAutoExpositionID = 11
 
const int kCameraAutoWhiteBalanceID = 12
 
const int kCameraAutoGainID = 13
 
const int kCameraResolutionID = 14
 
const int kCameraFrameRateID = 15
 
const int kCameraBufferSizeID = 16
 
const int kCameraExposureID = 17
 
const int kCameraSelectID = 18
 
const int kCameraSetDefaultParamsID = 19
 
const int kCameraColorSpaceID = 20
 
const int kCameraExposureCorrectionID = 21
 
const int kCameraExposureAlgorithmID = 22
 
const int kCameraAecAlgorithmID = kCameraExposureAlgorithmID
 
const int kCameraFastSwitchID = 23
 
const int kCameraSharpnessID = 24
 
const int kCameraAwbGreenGainID = 25
 
const int kCameraAblcID = 26
 
const int kCameraAblcTargetID = 27
 
const int kCameraAblcStableRangeID = 28
 
const int kCameraBlcBlueID = 29
 
const int kCameraBlcRedID = 30
 
const int kCameraBlcGbID = 31
 
const int kCameraBlcGrID = 32
 
const int kCameraWhiteBalanceID = 33
 
const int kCameraBacklightCompensationID = 34
 
const int kCameraKeepAliveID = 35
 
const int kCameraDepthConfidenceThresholdID = 36
 
const int kCameraDepthFastFilterID = 37
 
const int kCameraTemperatureID = 38
 
const int kCameraAverageLuminanceID = 39
 
const int kCameraAutoFocusID = 40
 

Function Documentation

float AL::convertAnglePosToNormalizedImgPos ( const float &  radPosition,
const float &  imageRadMin,
const float &  imageRadMax 
)
inline
float AL::convertAngleValToNormalizedImgVal ( const float &  radValue,
const float &  imageRadMin,
const float &  imageRadMax 
)
inline
int AL::getNumLayersInColorSpace ( const int  colorSpace)
int AL::getResolutionFromSize ( const int  width,
const int  height 
)
bool AL::isColorSpaceValid ( const int  colorspace)
bool AL::isResolutionValid ( const int  resIndex)
void AL::setSizeFromResolution ( const int  resIndex,
int &  outWidth,
int &  outHeight 
)

Variable Documentation

const int AL::k1080p = 6
const int AL::k16VGA = 4
const int AL::k1920p = k16VGA
const int AL::k4VGA = 3
const int AL::k720p = 5
const int AL::k960p = k4VGA
const float AL::kApertureH_MT9M114 = 60.9f
const float AL::kApertureH_OV7670 = 47.8f
const float AL::kApertureV_MT9M114 = 47.6f
const float AL::kApertureV_OV7670 = 36.8f
const int AL::kARGBColorSpace = 18
const int AL::kBGRColorSpace = 13
const int AL::kBottomCamera = 1
const int AL::kCameraAblcID = 26
const int AL::kCameraAblcStableRangeID = 28
const int AL::kCameraAblcTargetID = 27
const int AL::kCameraAecAlgorithmID = kCameraExposureAlgorithmID
const int AL::kCameraAutoExpositionID = 11
const int AL::kCameraAutoFocusID = 40
const int AL::kCameraAutoGainID = 13
const int AL::kCameraAutoWhiteBalanceID = 12
const int AL::kCameraAverageLuminanceID = 39
const int AL::kCameraAwbGreenGainID = 25
const int AL::kCameraBacklightCompensationID = 34
const int AL::kCameraBlcBlueID = 29
const int AL::kCameraBlcGbID = 31
const int AL::kCameraBlcGrID = 32
const int AL::kCameraBlcRedID = 30
const int AL::kCameraBlueChromaID = 5
const int AL::kCameraBrightnessID = 0
const int AL::kCameraBufferSizeID = 16
const int AL::kCameraColorSpaceID = 20
const int AL::kCameraContrastID = 1
const int AL::kCameraDepthConfidenceThresholdID = 36
const int AL::kCameraDepthFastFilterID = 37
const int AL::kCameraExposureAlgorithmID = 22
const int AL::kCameraExposureCorrectionID = 21
const int AL::kCameraExposureID = 17
const int AL::kCameraFastSwitchID = 23
const int AL::kCameraFrameRateID = 15
const int AL::kCameraGainID = 6
const int AL::kCameraHFlipID = 7
const int AL::kCameraHueID = 3
const int AL::kCameraKeepAliveID = 35
const int AL::kCameraLensXID = 9
const int AL::kCameraLensYID = 10
const int AL::kCameraRedChromaID = 4
const int AL::kCameraResolutionID = 14
const int AL::kCameraSaturationID = 2
const int AL::kCameraSelectID = 18
const int AL::kCameraSetDefaultParamsID = 19
const int AL::kCameraSharpnessID = 24
const int AL::kCameraTemperatureID = 38
const int AL::kCameraVFlipID = 8
const int AL::kCameraWhiteBalanceID = 33
const int AL::kDepthCamera = 2
const int AL::kDepthColorSpace = 17
const int AL::kDistanceColorSpace = 21
const int AL::kH2RGBColorSpace = 15
const int AL::kHSMixedColorSpace = 16
const int AL::kHsyColorSpace = 6
const int AL::khSyColorSpace = 7
const int AL::khsYColorSpace = 8
const int AL::kHSYColorSpace = 12
const int AL::kInfraredCamera = 3
const int AL::kInfraredColorSpace = 20
const int AL::kMT9M114 = 2
const int AL::kOV5640 = 3
const int AL::kOV7670 = 1
const int AL::kQQQQVGA = 8
const int AL::kQQQVGA = 7
const int AL::kQQVGA = 0
const int AL::kQVGA = 1
const int AL::kRgbColorSpace = 3
const int AL::krGbColorSpace = 4
const int AL::krgBColorSpace = 5
const int AL::kRGBColorSpace = 11
const int AL::kTopCamera = 0
const int AL::kVGA = 2
const int AL::kXTION = 4
const int AL::kXYZColorSpace = 19
const int AL::kYUV422ColorSpace = 9
const int AL::kYUV422InterlacedColorSpace = 9
const int AL::kYuvColorSpace = 0
const int AL::kyUvColorSpace = 1
const int AL::kyuVColorSpace = 2
const int AL::kYUVColorSpace = 10
const int AL::kYYCbCrColorSpace = 14