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
@@ -46,7 +46,8 @@ LOG_DECLARE_CATEGORY(SoftwareIsp)
|
||||
class SoftwareIsp
|
||||
{
|
||||
public:
|
||||
SoftwareIsp(PipelineHandler *pipe, const CameraSensor *sensor);
|
||||
SoftwareIsp(PipelineHandler *pipe, const CameraSensor *sensor,
|
||||
ControlInfoMap *ipaControls);
|
||||
~SoftwareIsp();
|
||||
|
||||
int loadConfiguration([[maybe_unused]] const std::string &filename) { return 0; }
|
||||
|
||||
@@ -17,7 +17,7 @@ interface IPASoftInterface {
|
||||
libcamera.SharedFD fdStats,
|
||||
libcamera.SharedFD fdParams,
|
||||
libcamera.ControlInfoMap sensorCtrlInfoMap)
|
||||
=> (int32 ret);
|
||||
=> (int32 ret, libcamera.ControlInfoMap ipaControls);
|
||||
start() => (int32 ret);
|
||||
stop();
|
||||
configure(IPAConfigInfo configInfo)
|
||||
|
||||
Reference in New Issue
Block a user