cca55c83f5
Software ISP image processing algorithms are currently defined in a simplified way, different from other libcamera pipelines. This is not good for several reasons: - It makes the software ISP code harder to understand due to its different structuring. - Adding more algorithms may make the code harder to understand generally. - Mass libcamera code changes may not be easily applicable to software ISP. - Algorithm sharing with other pipelines is not easily possible. This patch introduces basic software ISP IPA skeletons structured similarly to the other pipelines. The newly added files are currently not used or compiled and the general skeleton structures don't contain anything particular. It is just a preparation step for a larger refactoring and the code will be actually used and extended as needed in followup patches. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
33 lines
757 B
Plaintext
33 lines
757 B
Plaintext
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
|
|
/*
|
|
* \todo Document the interface and remove the related EXCLUDE_PATTERNS entry.
|
|
*/
|
|
|
|
module ipa.soft;
|
|
|
|
import "include/libcamera/ipa/core.mojom";
|
|
|
|
struct IPAConfigInfo {
|
|
libcamera.ControlInfoMap sensorControls;
|
|
};
|
|
|
|
interface IPASoftInterface {
|
|
init(libcamera.IPASettings settings,
|
|
libcamera.SharedFD fdStats,
|
|
libcamera.SharedFD fdParams,
|
|
libcamera.ControlInfoMap sensorCtrlInfoMap)
|
|
=> (int32 ret);
|
|
start() => (int32 ret);
|
|
stop();
|
|
configure(libcamera.ControlInfoMap sensorCtrlInfoMap)
|
|
=> (int32 ret);
|
|
|
|
[async] processStats(libcamera.ControlList sensorControls);
|
|
};
|
|
|
|
interface IPASoftEventInterface {
|
|
setSensorControls(libcamera.ControlList sensorControls);
|
|
setIspParams();
|
|
};
|