37 #ifndef _ARGUS_SETTINGS_H
38 #define _ARGUS_SETTINGS_H
58 DEFINE_UUID(InterfaceID, IID_SOURCE_SETTINGS, eb7ae38c,3c62,4161,a92a,a6,4f,ba,c6,38,83);
153 DEFINE_UUID(InterfaceID, IID_AUTO_CONTROL_SETTINGS, 1f2ad1c6,cb13,440b,bc95,3f,fd,0d,19,91,db);
350 DEFINE_UUID(InterfaceID, IID_STREAM_SETTINGS, c477aeaf,9cc8,4467,a834,c7,07,d7,b6,9f,a4);
404 #endif // _ARGUS_SETTINGS_H
virtual Status setAeRegions(const std::vector< AcRegion > ®ions)=0
Sets the AE regions of interest.
An interface to settings related to autocontrol.
An interface to settings that control the sensor module.
virtual Status getAeRegions(std::vector< AcRegion > *regions) const =0
Returns the AE regions of interest.
virtual Status setAeLock(bool lock)=0
Sets the AE lock.
virtual AeAntibandingMode getAeAntibandingMode() const =0
Returns the AE antibanding mode.
Status
Status values returned by API function calls.
virtual Status setAwbMode(const AwbMode &mode)=0
Sets the AWB mode.
static const InterfaceID & id()
virtual Range< float > getGainRange() const =0
Returns the gain range.
static const InterfaceID & id()
The top-level interface class.
virtual Status setFocusPosition(int32_t position)=0
Sets the focus position, in focuser units.
virtual Status setAeAntibandingMode(AeAntibandingMode mode)=0
Sets the AE antibanding mode.
virtual Status getColorCorrectionMatrix(std::vector< float > *matrix) const =0
Returns the user-specified color correction matrix.
virtual SensorMode * getSensorMode() const =0
Returns the sensor mode.
virtual Range< uint64_t > getFrameDurationRange() const =0
Returns the frame duration range, in nanoseconds.
virtual AwbMode getAwbMode() const =0
Returns the AWB mode.
virtual Status getAwbRegions(std::vector< AcRegion > *regions) const =0
Returns the AWB regions of interest.
virtual Status setSourceClipRect(const NormalizedRect &clipRect)=0
Sets the clip rectangle for the stream.
virtual Status setExposureCompensation(float ev)=0
Sets the exposure compensation.
virtual float getExposureCompensation() const =0
Returns the exposure compensation.
virtual bool getAwbLock() const =0
Returns the AWB lock.
virtual Status setGainRange(const Range< float > &gainRange)=0
Sets the gain range for the sensor.
virtual Size getColorCorrectionMatrixSize() const =0
Returns the size of the color correction matrix.
A templatized class to hold a min/max range of values.
virtual Status setAwbLock(bool lock)=0
Sets the AWB lock.
virtual Status setFrameDurationRange(const Range< uint64_t > &frameDurationRange)=0
Sets the frame duration range, in nanoseconds.
virtual Status getToneMapCurve(RGBColorChannel channel, std::vector< float > *curve) const =0
Returns the user-specified tone map curve for a channel on the stream.
virtual VideoStabilizationMode getVideoStabilizationMode() const =0
Returns the video stabilization mode for the stream.
static const InterfaceID & id()
virtual Status setAwbRegions(const std::vector< AcRegion > ®ions)=0
Sets the AWB regions of interest.
DEFINE_UUID(ExtensionName, EXT_BAYER_SHARPNESS_MAP, 7d5e0470, 4ea6, 11e6, bdf4, 08, 00, 20, 0c, 9a, 66)
The Ext::BayerSharpnessMap extension adds internally-generated sharpness metrics to CaptureMetadata r...
An object representing the sensor mode of a CameraDevice.
virtual Status setDenoiseMode(const DenoiseMode &mode)=0
Sets the denoise (noise reduction) mode for the stream.
virtual Status setColorCorrectionMatrixEnable(bool enable)=0
Enables the user-specified color correction matrix.
virtual Status setSensorMode(SensorMode *mode)=0
Sets the sensor mode.
An interface to per-stream settings.
virtual bool getToneMapCurveEnable() const =0
Returns the enable for the user-specified tone map.
virtual Status setColorCorrectionMatrix(const std::vector< float > &matrix)=0
Sets the user-specified color correction matrix.
virtual bool getColorCorrectionMatrixEnable() const =0
Returns the enable for the user-specified color correction matrix.
virtual Status setToneMapCurve(RGBColorChannel channel, const std::vector< float > &curve)=0
Sets the user-specified tone map curve for a channel on the stream.
A unique identifier for an libargus Interface.
Aggregates width and height in a single structure.
virtual uint32_t getToneMapCurveSize(RGBColorChannel channel) const =0
Returns the number of elements required for the tone map curve.
virtual Range< uint64_t > getExposureTimeRange() const =0
Returns the exposure time range of the source, in nanoseconds.
virtual bool getAeLock() const =0
Returns the AE lock.
virtual Status setExposureTimeRange(const Range< uint64_t > &exposureTimeRange)=0
Sets the exposure time range of the source, in nanoseconds.
virtual Status setToneMapCurveEnable(bool enable)=0
Enables the user-specified tone map.
virtual NormalizedRect getSourceClipRect() const =0
Returns the clip rectangle for the stream.
virtual int32_t getFocusPosition() const =0
Returns the focus position, in focuser units.
virtual Status setVideoStabilizationMode(const VideoStabilizationMode &mode)=0
Sets the video stabilization mode (post-process, not optical) for the stream.
virtual DenoiseMode getDenoiseMode() const =0
Returns the denoise mode for the stream.
Defines a normalized rectangle region in [0.0, 1.0].