nn::camera::CTR::PackageParameterCameraSelect

nn::camera::CTR::PackageParameterCameraSelect Structure

Syntax

struct PackageParameterCameraSelect
{
   util::SizedEnum1< CameraSelect > camera;
   s8 exposure;
   util::SizedEnum1< WhiteBalance > whiteBalance;
   s8 sharpness;
   bool autoExposureOn;
   bool autoWhiteBalanceOn;
   util::SizedEnum1< FrameRate > frameRate;
   util::SizedEnum1< PhotoMode > photoMode;
   util::SizedEnum1< Contrast > contrast;
   util::SizedEnum1< LensCorrection > lensCorrection;
   bool noiseFilterOn;
   s16 autoExposureWindowStartX;
   s16 autoExposureWindowStartY;
   s16 autoExposureWindowWidth;
   s16 autoExposureWindowHeight;
   s16 autoWhiteBalanceWindowStartX;
   s16 autoWhiteBalanceWindowStartY;
   s16 autoWhiteBalanceWindowWidth;
   s16 autoWhiteBalanceWindowHeight;
};

Description

Structure for batch-configuring parameters without context but with cameras specified.

Member Variables

camera util::SizedEnum1< CameraSelect > The combination of cameras for which to configure parameters.
exposure s8 The value specified by the SetExposure function.
whiteBalance util::SizedEnum1< WhiteBalance > Value specified by the SetWhiteBalance function.
sharpness s8 The value specified by the SetSharpness function.
autoExposureOn bool The value specified by the SetAutoExposure function.
autoWhiteBalanceOn bool Value specified by the SetAutoWhiteBalance function. This is ignored when whiteBalance is not WHITE_BALANCE_NORMAL.
frameRate util::SizedEnum1< FrameRate > Value specified by the SetFrameRate function.
photoMode util::SizedEnum1< PhotoMode > Value specified by the SetPhotoMode function.
contrast util::SizedEnum1< Contrast > Value specified by the SetContrast function.
lensCorrection util::SizedEnum1< LensCorrection > Value specified by the SetLensCorrection function.
noiseFilterOn bool Value specified by the SetNoiseFilter function.
autoExposureWindowStartX s16 The startX value specified by the SetAutoExposureWindow function. You must set this equal to an appropriate value regardless of the value of autoExposureOn.
autoExposureWindowStartY s16 The startY value specified by the SetAutoExposureWindow function. You must set this equal to an appropriate value regardless of the value of autoExposureOn.
autoExposureWindowWidth s16 The width value specified by the SetAutoExposureWindow function. You must set this equal to an appropriate value regardless of the value of autoExposureOn.
autoExposureWindowHeight s16 The height value specified by the SetAutoExposureWindow function. You must set this equal to an appropriate value regardless of the value of autoExposureOn.
autoWhiteBalanceWindowStartX s16 The startX value specified by the SetAutoWhiteBalanceWindow function. You must set this equal to an appropriate value regardless of the value of whiteBalance and autoWhiteBalanceOn.
autoWhiteBalanceWindowStartY s16 The startY value specified by the SetAutoWhiteBalanceWindow function. You must set this equal to an appropriate value regardless of the value of whiteBalance and autoWhiteBalanceOn.
autoWhiteBalanceWindowWidth s16 The width value specified by the SetAutoWhiteBalanceWindow function. You must set this equal to an appropriate value regardless of the value of whiteBalance and autoWhiteBalanceOn.
autoWhiteBalanceWindowHeight s16 The height value specified by the SetAutoWhiteBalanceWindow function. You must set this equal to an appropriate value regardless of the value of whiteBalance and autoWhiteBalanceOn.

Revision History

2010/12/13
Noted that the response frame must be set regardless of whether auto-exposure and auto white balance are enabled or disabled.
2010/08/16
Initial version.

CONFIDENTIAL