From 378f572e7f13d035c865f876c16659f162e2f48d Mon Sep 17 00:00:00 2001 From: Umang Jain Date: Mon, 24 May 2021 14:50:20 +0530 Subject: ipa: ipc: Rename CameraSensorInfo to IPACameraSensorInfo This matches the naming convention for IPA IPC. Signed-off-by: Umang Jain Acked-by: Paul Elder Reviewed-by: Jean-Michel Hautbois Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- include/libcamera/internal/camera_sensor.h | 2 +- include/libcamera/ipa/core.mojom | 2 +- include/libcamera/ipa/raspberrypi.mojom | 2 +- include/libcamera/ipa/rkisp1.mojom | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/libcamera/internal/camera_sensor.h b/include/libcamera/internal/camera_sensor.h index 0905ebfa..cf6c1c1e 100644 --- a/include/libcamera/internal/camera_sensor.h +++ b/include/libcamera/internal/camera_sensor.h @@ -51,7 +51,7 @@ public: V4L2Subdevice *device() { return subdev_.get(); } const ControlList &properties() const { return properties_; } - int sensorInfo(CameraSensorInfo *info) const; + int sensorInfo(IPACameraSensorInfo *info) const; void updateControlInfo(); diff --git a/include/libcamera/ipa/core.mojom b/include/libcamera/ipa/core.mojom index b95b3dc4..34a799c2 100644 --- a/include/libcamera/ipa/core.mojom +++ b/include/libcamera/ipa/core.mojom @@ -78,7 +78,7 @@ module libcamera; uint32 height; }; -struct CameraSensorInfo { +struct IPACameraSensorInfo { string model; uint32 bitsPerPixel; diff --git a/include/libcamera/ipa/raspberrypi.mojom b/include/libcamera/ipa/raspberrypi.mojom index 770e3049..db1f689f 100644 --- a/include/libcamera/ipa/raspberrypi.mojom +++ b/include/libcamera/ipa/raspberrypi.mojom @@ -68,7 +68,7 @@ interface IPARPiInterface { * The \a ipaConfig and \a controls parameters carry data passed by the * pipeline handler to the IPA and back. */ - configure(libcamera.CameraSensorInfo sensorInfo, + configure(libcamera.IPACameraSensorInfo sensorInfo, map streamConfig, map entityControls, IPAConfig ipaConfig) diff --git a/include/libcamera/ipa/rkisp1.mojom b/include/libcamera/ipa/rkisp1.mojom index da6646df..55fa43be 100644 --- a/include/libcamera/ipa/rkisp1.mojom +++ b/include/libcamera/ipa/rkisp1.mojom @@ -34,7 +34,7 @@ interface IPARkISP1Interface { start() => (int32 ret); stop(); - configure(libcamera.CameraSensorInfo sensorInfo, + configure(libcamera.IPACameraSensorInfo sensorInfo, map streamConfig, map entityControls) => (int32 ret); -- cgit v1.2.1