summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2021-05-24 14:50:20 +0530
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-05-24 14:13:32 +0300
commit378f572e7f13d035c865f876c16659f162e2f48d (patch)
tree46af357f36d7dc6999c8fcbbdd1aeaa1fac7b608 /include
parent6449590b637bec456258909b10b855b019260888 (diff)
ipa: ipc: Rename CameraSensorInfo to IPACameraSensorInfo
This matches the naming convention for IPA IPC. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Acked-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/camera_sensor.h2
-rw-r--r--include/libcamera/ipa/core.mojom2
-rw-r--r--include/libcamera/ipa/raspberrypi.mojom2
-rw-r--r--include/libcamera/ipa/rkisp1.mojom2
4 files changed, 4 insertions, 4 deletions
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<uint32, libcamera.IPAStream> streamConfig,
map<uint32, libcamera.ControlInfoMap> 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<uint32, libcamera.IPAStream> streamConfig,
map<uint32, libcamera.ControlInfoMap> entityControls)
=> (int32 ret);