接口,用于自动控制设置(由 IRequest::getAutoControlSettings() 提供)。
定义于文件 Settings.h 的 228 行。
公共成员函数 | |
virtual Status | setAeAntibandingMode (const AeAntibandingMode &mode)=0 |
设置 AE 防闪烁模式。 更多... | |
virtual AeAntibandingMode | getAeAntibandingMode () const =0 |
返回 AE 防闪烁模式。 更多... | |
virtual Status | setAeLock (bool lock)=0 |
设置 AE 锁定。 更多... | |
virtual bool | getAeLock () const =0 |
返回 AE 锁定。 更多... | |
virtual Status | setAeRegions (const std::vector< AcRegion > ®ions)=0 |
设置 AE 感兴趣区域。 更多... | |
virtual Status | getAeRegions (std::vector< AcRegion > *regions) const =0 |
返回 AE 感兴趣区域。 更多... | |
virtual Status | setBayerHistogramRegion (const Rectangle< uint32_t > ®ion)=0 |
设置拜耳直方图感兴趣区域。 更多... | |
virtual Rectangle< uint32_t > | getBayerHistogramRegion () const =0 |
返回拜耳直方图感兴趣区域的矩形。 更多... | |
virtual Status | setAwbLock (bool lock)=0 |
设置 AWB 锁定。 更多... | |
virtual bool | getAwbLock () const =0 |
返回 AWB 锁定。 更多... | |
virtual Status | setAwbMode (const AwbMode &mode)=0 |
设置 AWB 模式。 更多... | |
virtual AwbMode | getAwbMode () const =0 |
返回 AWB 模式。 更多... | |
virtual Status | setAwbRegions (const std::vector< AcRegion > ®ions)=0 |
设置 AWB 感兴趣区域。 更多... | |
virtual Status | getAwbRegions (std::vector< AcRegion > *regions) const =0 |
返回 AWB 感兴趣区域。 更多... | |
virtual Status | setAfRegions (const std::vector< AcRegion > ®ions)=0 |
设置 AF 感兴趣区域。 更多... | |
virtual Status | getAfRegions (std::vector< AcRegion > *regions) const =0 |
返回 AF 感兴趣区域。 更多... | |
virtual Status | setWbGains (const BayerTuple< float > &gains)=0 |
设置手动白平衡增益。 更多... | |
virtual BayerTuple< float > | getWbGains () const =0 |
返回手动白平衡增益。 更多... | |
virtual Size2D< uint32_t > | getColorCorrectionMatrixSize () const =0 |
返回色彩校正矩阵的大小。 更多... | |
virtual Status | setColorCorrectionMatrix (const std::vector< float > &matrix)=0 |
设置用户指定的色彩校正矩阵。 更多... | |
virtual Status | getColorCorrectionMatrix (std::vector< float > *matrix) const =0 |
返回用户指定的色彩校正矩阵。 更多... | |
virtual Status | setColorCorrectionMatrixEnable (bool enable)=0 |
启用用户指定的色彩校正矩阵。 更多... | |
virtual bool | getColorCorrectionMatrixEnable () const =0 |
返回用户指定的色彩校正矩阵的启用状态。 更多... | |
virtual Status | setColorSaturation (float saturation)=0 |
设置用户指定的绝对色彩饱和度。 更多... | |
virtual float | getColorSaturation () const =0 |
返回用户指定的绝对色彩饱和度(。 更多... | |
virtual Status | setColorSaturationEnable (bool enable)=0 |
启用用户指定的绝对色彩饱和度。 更多... | |
virtual bool | getColorSaturationEnable () const =0 |
返回用户指定的色彩饱和度的启用状态。 更多... | |
virtual Status | setColorSaturationBias (float bias)=0 |
设置色彩饱和度偏差。 更多... | |
virtual float | getColorSaturationBias () const =0 |
返回色彩饱和度偏差。 更多... | |
virtual Status | setExposureCompensation (float ev)=0 |
设置曝光补偿。 更多... | |
virtual float | getExposureCompensation () const =0 |
返回曝光补偿。 更多... | |
virtual uint32_t | getToneMapCurveSize (RGBChannel channel) const =0 |
返回色调映射曲线所需的元素数量。 更多... | |
virtual Status | setToneMapCurve (RGBChannel channel, const std::vector< float > &curve)=0 |
为流上的通道设置用户指定的色调映射曲线。 更多... | |
virtual Status | getToneMapCurve (RGBChannel channel, std::vector< float > *curve) const =0 |
返回流上的通道的用户指定的色调映射曲线。 更多... | |
virtual Status | setToneMapCurveEnable (bool enable)=0 |
启用用户指定的色调映射。 更多... | |
virtual bool | getToneMapCurveEnable () const =0 |
返回用户指定的色调映射的启用状态。 更多... | |
virtual Status | setIspDigitalGainRange (const Range< float > &gain)=0 |
设置用户指定的 ISP 数字增益范围。 更多... | |
virtual Range< float > | getIspDigitalGainRange () const =0 |
返回用户指定的 ISP 数字增益范围。 更多... | |
静态公共成员函数 | |
static const InterfaceID & | id () |
保护成员函数 | |
~IAutoControlSettings () | |
|
内联受保护的 |
定义于文件 Settings.h 的 538 行。
|
pure virtual |
返回 AE 防闪烁模式。
|
pure virtual |
返回 AE 锁定。
|
pure virtual |
返回 AE 感兴趣区域。
[out] | regions | 一个 vector,将填充 AE 感兴趣区域。 |
|
pure virtual |
返回 AF 感兴趣区域。
[out] | regions | 一个 vector,将填充 AF 感兴趣区域。 |
|
pure virtual |
返回 AWB 锁定。
|
pure virtual |
返回 AWB 模式。
|
pure virtual |
返回 AWB 感兴趣区域。
[out] | regions | 一个 vector,将填充 AWB 感兴趣区域。 |
|
pure virtual |
返回拜耳直方图感兴趣区域的矩形。
|
pure virtual |
返回用户指定的色彩校正矩阵。
[out] | matrix | 一个矩阵,将填充 CCM。 |
|
pure virtual |
返回用户指定的色彩校正矩阵的启用状态。
|
pure virtual |
返回色彩校正矩阵的大小。
|
pure virtual |
返回用户指定的绝对色彩饱和度(。
|
pure virtual |
返回色彩饱和度偏差。
|
pure virtual |
返回用户指定的色彩饱和度的启用状态。
|
pure virtual |
返回曝光补偿。
|
pure virtual |
返回用户指定的 ISP 数字增益范围。
|
pure virtual |
返回流上的通道的用户指定的色调映射曲线。
[in] | channel | 曲线对应的颜色。 |
[out] | curve | 一个 vector,将填充指定颜色通道的色调映射曲线。 |
|
pure virtual |
返回用户指定的色调映射的启用状态。
|
pure virtual |
返回色调映射曲线所需的元素数量。
[in] | channel | 曲线大小对应的颜色通道。 |
|
pure virtual |
返回手动白平衡增益。
|
内联静态 |
定义于文件 Settings.h 的 231 行。
|
pure virtual |
设置 AE 防闪烁模式。
[in] | mode | 请求的防闪烁模式。 |
|
pure virtual |
设置 AE 锁定。
锁定后,AE 将保持恒定曝光。
[in] | lock | 如果为 true ,则将 AE 锁定在其当前曝光。 |
|
pure virtual |
设置 AE 感兴趣区域。
如果未指定区域,则感兴趣区域将由设备确定,并通过 CameraMetadata::getAeRegions 获取。
[in] | regions | AE 感兴趣区域。最大区域数由 ICameraProperties::getMaxAeRegions() 返回。最小支持的结果区域大小由 ICameraProperties::getMinAeRegionSize() 返回。 |
|
pure virtual |
设置 AF 感兴趣区域。
如果未指定区域,则感兴趣区域将由设备确定,并通过 CameraMetadata::getAfRegions 获取。
[in] | regions | AF 感兴趣区域。最大区域数由 ICameraProperties::getMaxAfRegions() 返回。 |
|
pure virtual |
设置 AWB 锁定。
[in] | lock | 如果为 true ,则将 AWB 锁定在其当前状态。 |
|
pure virtual |
设置 AWB 模式。
[in] | mode | 新的 AWB 模式。 |
|
pure virtual |
设置 AWB 感兴趣区域。
如果未指定区域,则感兴趣区域将由设备确定,并通过 CameraMetadata::getAwbRegions 获取。
[in] | regions | AWB 感兴趣区域。最大区域数由 ICameraProperties::getMaxAwbRegions() 返回。 |
|
pure virtual |
设置拜耳直方图感兴趣区域。
如果未指定区域,则整个图像为感兴趣区域。
[in] | region | 拜耳直方图感兴趣区域。 |
|
pure virtual |
设置用户指定的色彩校正矩阵。
除非 getColorCorrectionMatrixEnable() == true
,否则将忽略此矩阵。用于图像处理的活动色彩校正矩阵可能会在内部进行修改,以考虑活动色彩饱和度值(用户指定或自动生成,偏置后,
[in] | matrix | 将传感器 RGB 映射到线性 sRGB 的色彩校正矩阵。此矩阵以行优先顺序给出,并且必须具有大小 w*h,其中 w 和 h 是 getColorCorrectionMatrixSize() 返回的 Size 的宽度和高度。 |
|
pure virtual |
|
pure virtual |
设置用户指定的绝对色彩饱和度。
必须通过以下方式启用
[in] | saturation | 绝对色彩饱和度。可接受的值在 [0.0, 2.0] 范围内,默认值为 1.0。 |
|
pure virtual |
设置色彩饱和度偏差。
此偏差用于乘以活动饱和度值,即用户指定的值或自动生成的值,具体取决于
[in] | bias | 色彩饱和度偏差。可接受的值在 [0.0, 2.0] 范围内,其中 1.0 不修改饱和度(默认值),0.0 完全不饱和(灰度),2.0 高度饱和。 |
|
pure virtual |
|
pure virtual |
设置曝光补偿。
曝光补偿在 AE 解决后应用。
[in] | ev | 以档位为单位的曝光调整步长。 |
|
pure virtual |
设置用户指定的 ISP 数字增益范围。
[in] | gain | 用户指定的 ISP 数字增益。 |
|
pure virtual |
为流上的通道设置用户指定的色调映射曲线。
除非 getToneMapCurveEnable() == true
,否则用户指定的色调映射将被忽略。
[in] | channel | 曲线对应的颜色。 |
[in] | curve | 描述 LUT 的浮点 vector。元素数量必须与同一通道的 getToneMapCurve() 返回的元素数量相匹配。 |
|
pure virtual |
启用用户指定的色调映射。
[in] | enable | 如果为 true ,libargus 将使用用户指定的色调映射。 |
|
pure virtual |
设置手动白平衡增益。
[in] | gains | 手动白平衡增益 |