![]() |
Multimedia API ReferenceNovember 16, 2016 | 24.2.1 Release |
An interface to settings related to autocontrol.
Definition at line 155 of file Settings.h.
Public Member Functions | |
virtual Status | setAeAntibandingMode (AeAntibandingMode mode)=0 |
Sets the AE antibanding mode. More... | |
virtual AeAntibandingMode | getAeAntibandingMode () const =0 |
Returns the AE antibanding 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 | 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 Size | 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 | setExposureCompensation (float ev)=0 |
Sets the exposure compensation. More... | |
virtual float | getExposureCompensation () const =0 |
Returns the exposure compensation. More... | |
virtual uint32_t | getToneMapCurveSize (RGBColorChannel channel) const =0 |
Returns the number of elements required for the tone map curve. More... | |
virtual Status | setToneMapCurve (RGBColorChannel channel, const std::vector< float > &curve)=0 |
Sets the user-specified tone map curve for a channel on the stream. More... | |
virtual Status | getToneMapCurve (RGBColorChannel 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... | |
Static Public Member Functions | |
static const InterfaceID & | id () |
Protected Member Functions | |
~IAutoControlSettings () | |
|
inlineprotected |
Definition at line 342 of file Settings.h.
|
pure virtual |
Returns the AE antibanding mode.
|
pure virtual |
Returns the AE lock.
|
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 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 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 exposure compensation.
|
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. |
|
inlinestatic |
Definition at line 158 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 regions of interest.
If no regions are specified, the entire image is the region of interest.
[in] | regions | The AE regions of interest. The maximum number of regions is returned by ICameraProperties::getMaxAeRegions() . |
|
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 entire image is the region of interest.
[in] | regions | The AWB regions of interest. The maximum number of regions is returned by ICameraProperties::getMaxAwbRegions() . |
|
pure virtual |
Sets the user-specified color correction matrix.
This matrix will be ignored unless getColorCorrectionMatrixEnable() == true
.
[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 will use the user-specified matrix. |
|
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 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 will use the user-specified tone map. |