libcamera: software_isp: Add contrast control
This patch introduces support for applying runtime controls to software ISP. It enables the contrast control as the first control that can be used. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
9135aacff1
commit
3930b94021
@@ -531,7 +531,7 @@ int SimpleCameraData::init()
|
||||
* Instantiate Soft ISP if this is enabled for the given driver and no converter is used.
|
||||
*/
|
||||
if (!converter_ && pipe->swIspEnabled()) {
|
||||
swIsp_ = std::make_unique<SoftwareIsp>(pipe, sensor_.get());
|
||||
swIsp_ = std::make_unique<SoftwareIsp>(pipe, sensor_.get(), &controlInfo_);
|
||||
if (!swIsp_->isValid()) {
|
||||
LOG(SimplePipeline, Warning)
|
||||
<< "Failed to create software ISP, disabling software debayering";
|
||||
|
||||
Reference in New Issue
Block a user