Interface to the auto control settings (provided by IRequest::getAutoControlSettings()).
Definition at line 228 of file Settings.h.
Public Member Functions | |
virtual Status | setAeAntibandingMode (const AeAntibandingMode &mode)=0 |
Sets the AE antibanding mode. More... | |
virtual AeAntibandingMode | getAeAntibandingMode () const =0 |
Returns the AE antibanding mode. More... | |
virtual Status | setAeMode (const AeMode &mode)=0 |
Sets the AE mode. More... | |
virtual AeMode | getAeMode () const =0 |
Returns the AE mode. More... | |
virtual Status | setAeLock (bool lock)=0 |
Sets the AE lock. More... | |
virtual bool | getAeLock () const =0 |
Returns the AE lock. More... | |
virtual Status | setAeRegions (const std::vector< AcRegion > ®ions)=0 |
Sets the AE regions of interest. More... | |
virtual Status | getAeRegions (std::vector< AcRegion > *regions) const =0 |
Returns the AE regions of interest. More... | |
virtual Status | setBayerHistogramRegion (const Rectangle< uint32_t > ®ion)=0 |
Sets the bayer histogram region of interest. More... | |
virtual Rectangle< uint32_t > | getBayerHistogramRegion () const =0 |
Returns the rectangle of the bayer histogram region of interest. More... | |
virtual Status | setAwbLock (bool lock)=0 |
Sets the AWB lock. More... | |
virtual bool | getAwbLock () const =0 |
Returns the AWB lock. More... | |
virtual Status | setAwbMode (const AwbMode &mode)=0 |
Sets the AWB mode. More... | |
virtual AwbMode | getAwbMode () const =0 |
Returns the AWB mode. More... | |
virtual Status | setAwbRegions (const std::vector< AcRegion > ®ions)=0 |
Sets the AWB regions of interest. More... | |
virtual Status | getAwbRegions (std::vector< AcRegion > *regions) const =0 |
Returns the AWB regions of interest. More... | |
virtual Status | setAfMode (const AfMode &mode)=0 |
Sets the AF mode. More... | |
virtual AfMode | getAfMode () const =0 |
Returns the AF mode. More... | |
virtual Status | setAfRegions (const std::vector< AcRegion > ®ions)=0 |
Sets the AF regions of interest. More... | |
virtual Status | getAfRegions (std::vector< AcRegion > *regions) const =0 |
Returns the AF regions of interest. More... | |
virtual Status | setWbGains (const BayerTuple< float > &gains)=0 |
Sets the Manual White Balance gains. More... | |
virtual BayerTuple< float > | getWbGains () const =0 |
Returns the Manual White Balance gains. More... | |
virtual Size2D< uint32_t > | getColorCorrectionMatrixSize () const =0 |
Returns the size of the color correction matrix. More... | |
virtual Status | setColorCorrectionMatrix (const std::vector< float > &matrix)=0 |
Sets the user-specified color correction matrix. More... | |
virtual Status | getColorCorrectionMatrix (std::vector< float > *matrix) const =0 |
Returns the user-specified color correction matrix. More... | |
virtual Status | setColorCorrectionMatrixEnable (bool enable)=0 |
Enables the user-specified color correction matrix. More... | |
virtual bool | getColorCorrectionMatrixEnable () const =0 |
Returns the enable for the user-specified color correction matrix. More... | |
virtual Status | setColorSaturation (float saturation)=0 |
Sets the user-specified absolute color saturation. More... | |
virtual float | getColorSaturation () const =0 |
Returns the user-specified absolute color saturation (. More... | |
virtual Status | setColorSaturationEnable (bool enable)=0 |
Enables the user-specified absolute color saturation. More... | |
virtual bool | getColorSaturationEnable () const =0 |
Returns the enable for the user-specified color saturation. More... | |
virtual Status | setColorSaturationBias (float bias)=0 |
Sets the color saturation bias. More... | |
virtual float | getColorSaturationBias () const =0 |
Returns the color saturation bias. More... | |
virtual Status | setExposureCompensation (float ev)=0 |
Sets the exposure compensation. More... | |
virtual float | getExposureCompensation () const =0 |
Returns the exposure compensation. More... | |
virtual uint32_t | getToneMapCurveSize (RGBChannel channel) const =0 |
Returns the number of elements required for the tone map curve. More... | |
virtual Status | setToneMapCurve (RGBChannel channel, const std::vector< float > &curve)=0 |
Sets the user-specified tone map curve for a channel on the stream. More... | |
virtual Status | getToneMapCurve (RGBChannel channel, std::vector< float > *curve) const =0 |
Returns the user-specified tone map curve for a channel on the stream. More... | |
virtual Status | setToneMapCurveEnable (bool enable)=0 |
Enables the user-specified tone map. More... | |
virtual bool | getToneMapCurveEnable () const =0 |
Returns the enable for the user-specified tone map. More... | |
virtual Status | setIspDigitalGainRange (const Range< float > &gain)=0 |
Sets the user-specified Isp Digital gain range. More... | |
virtual Range< float > | getIspDigitalGainRange () const =0 |
Returns the user-specified Isp Digital gain range. More... | |
Static Public Member Functions | |
static const InterfaceID & | id () |
Protected Member Functions | |
~IAutoControlSettings () | |
|
inlineprotected |
Definition at line 564 of file Settings.h.
|
pure virtual |
Returns the AE antibanding mode.
|
pure virtual |
Returns the AE lock.
|
pure virtual |
Returns the AE mode.
|
pure virtual |
Returns the AE regions of interest.
[out] | regions | A vector that will be populated with the AE regions of interest. |
|
pure virtual |
Returns the AF mode.
|
pure virtual |
Returns the AF regions of interest.
[out] | regions | A vector that will be populated with the AF regions of interest. |
|
pure virtual |
Returns the AWB lock.
|
pure virtual |
Returns the AWB mode.
|
pure virtual |
Returns the AWB regions of interest.
[out] | regions | A vector that will be populated with the AWB regions of interest. |
|
pure virtual |
Returns the rectangle of the bayer histogram region of interest.
|
pure virtual |
Returns the user-specified color correction matrix.
[out] | matrix | A matrix that will be populated with the CCM. |
|
pure virtual |
Returns the enable for the user-specified color correction matrix.
|
pure virtual |
Returns the size of the color correction matrix.
|
pure virtual |
Returns the user-specified absolute color saturation (.
|
pure virtual |
Returns the color saturation bias.
|
pure virtual |
Returns the enable for the user-specified color saturation.
|
pure virtual |
Returns the exposure compensation.
|
pure virtual |
Returns the user-specified Isp Digital gain range.
|
pure virtual |
Returns the user-specified tone map curve for a channel on the stream.
[in] | channel | The color the curve corresponds to. |
[out] | curve | A vector that will be populated by the tone map curve for the specified color channel. |
|
pure virtual |
Returns the enable for the user-specified tone map.
|
pure virtual |
Returns the number of elements required for the tone map curve.
[in] | channel | The color channel the curve size corresponds to. |
|
pure virtual |
Returns the Manual White Balance gains.
|
inlinestatic |
Definition at line 231 of file Settings.h.
|
pure virtual |
Sets the AE antibanding mode.
[in] | mode | The requested antibanding mode. |
|
pure virtual |
Sets the AE lock.
When locked, AE will maintain constant exposure.
[in] | lock | If true , locks AE at its current exposure. |
|
pure virtual |
Sets the AE mode.
[in] | mode | The new AE mode. |
|
pure virtual |
Sets the AE regions of interest.
If no regions are specified, the region of interest will be determined by device and obtain by CameraMetadata::getAeRegions.
[in] | regions | The AE regions of interest. The maximum number of regions is returned by ICameraProperties::getMaxAeRegions() . The minimum supported size of resultatnt region is returned by ICameraProperties::getMinAeRegionSize() . |
|
pure virtual |
Sets the AF mode.
[in] | mode | The new AF mode. |
|
pure virtual |
Sets the AF regions of interest.
If no regions are specified, the region of interest will be determined by device and obtain by CameraMetadata::getAfRegions.
[in] | regions | The AF regions of interest. The maximum number of regions is returned by ICameraProperties::getMaxAfRegions() . |
|
pure virtual |
Sets the AWB lock.
[in] | lock | If true , locks AWB at its current state. |
|
pure virtual |
Sets the AWB mode.
[in] | mode | The new AWB mode. |
|
pure virtual |
Sets the AWB regions of interest.
If no regions are specified, the region of interest will be determined by device and obtain by CameraMetadata::getAwbRegions.
[in] | regions | The AWB regions of interest. The maximum number of regions is returned by ICameraProperties::getMaxAwbRegions() . |
|
pure virtual |
Sets the bayer histogram region of interest.
If no region is specified, the entire image is the region of interest.
[in] | region | The bayer histogram region of interest. |
|
pure virtual |
Sets the user-specified color correction matrix.
This matrix will be ignored unless getColorCorrectionMatrixEnable() == true
. The active color correction matrix used for image processing may be internally modified to account for the active color saturation value (either user-specified or automatically generated, after biasing,
[in] | matrix | A color correction matrix that maps sensor RGB to linear sRGB. This matrix is given in row-major order and must have the size w*h, where w and h are the width and height of the Size returned by getColorCorrectionMatrixSize() |
|
pure virtual |
Enables the user-specified color correction matrix.
[in] | enable | If true , libargus uses the user-specified matrix. |
|
pure virtual |
Sets the user-specified absolute color saturation.
This must be enabled via
[in] | saturation | The absolute color saturation. Acceptable values are in [0.0, 2.0], and the default value is 1.0. |
|
pure virtual |
Sets the color saturation bias.
This bias is used to multiply the active saturation value, either the user-specified or the automatically generated value depending on the state of
[in] | bias | The color saturation bias. Acceptable values are in [0.0, 2.0], where 1.0 does not modify the saturation (default), 0.0 is fully desaturated (greyscale), and 2.0 is highly saturated. |
|
pure virtual |
Enables the user-specified absolute color saturation.
[in] | enable | If true , libargus uses the user-specified color saturation. |
|
pure virtual |
Sets the exposure compensation.
Exposure compensation is applied after AE is solved.
[in] | ev | The exposure adjustment step in stops. |
|
pure virtual |
Sets the user-specified Isp Digital gain range.
[in] | gain | The user-specified Isp Digital gain. |
|
pure virtual |
Sets the user-specified tone map curve for a channel on the stream.
The user-specified tone map will be ignored unless getToneMapCurveEnable() == true
.
[in] | channel | The color the curve corresponds to. |
[in] | curve | A float vector that describes the LUT. The number of elements must match the number of elements returned from getToneMapCurve() of the same channel. |
|
pure virtual |
Enables the user-specified tone map.
[in] | enable | If true , libargus uses the user-specified tone map. |
|
pure virtual |
Sets the Manual White Balance gains.
[in] | gains | The Manual White Balance Gains |