summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-10-20 17:42:47 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-10-23 16:06:19 +0300
commit53b4419986953e6f20b10588e187e403b3d0791e (patch)
tree1f4d6270e08143509a59cd7f56198d8864b52542 /include
parent7a5d4b83e5d5a2444e62ac5868c9016de43f8f60 (diff)
libcamera: transform: Fold transformToOrientation() in its only caller
The transformToOrientation() function is called from Orientation operator*(const Orientation &o, const Transform &t); only. Fold the code in the caller and drop the transformToOrientation() function to drop what can be considered as an ill-defined operation from the API. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/transform.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/libcamera/transform.h b/include/libcamera/transform.h
index 9eb10e15..4998a6c0 100644
--- a/include/libcamera/transform.h
+++ b/include/libcamera/transform.h
@@ -72,7 +72,6 @@ constexpr Transform operator~(Transform t)
Transform transformFromRotation(int angle, bool *success = nullptr);
Transform transformFromOrientation(const Orientation &orientation);
-Orientation transformToOrientation(const Transform &transform);
Transform operator/(const Orientation &o1, const Orientation &o2);
Orientation operator*(const Orientation &o, const Transform &t);