From fd98779d7838cca1b52ba3cb34c22e964e69eb7e Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 20 Oct 2023 19:10:43 +0300 Subject: libcamera: transform: Make the transformFromOrientation() function static Now that the transformFromOrientation() function isn't used outside of transform.cpp, make it static to remove it from the public API. Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi --- include/libcamera/transform.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/libcamera/transform.h b/include/libcamera/transform.h index 4998a6c0..44cb4c6f 100644 --- a/include/libcamera/transform.h +++ b/include/libcamera/transform.h @@ -71,7 +71,6 @@ constexpr Transform operator~(Transform t) } Transform transformFromRotation(int angle, bool *success = nullptr); -Transform transformFromOrientation(const Orientation &orientation); Transform operator/(const Orientation &o1, const Orientation &o2); Orientation operator*(const Orientation &o, const Transform &t); -- cgit v1.2.1