From c0b0b7205c7e59ad754b5cf2c79d661e5676eb73 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 4 Jul 2020 02:21:26 +0300 Subject: ipa: raspberrypi: Drop CameraHelper::GetOrientation() The camera sensor orientation is now handled by the pipeline handler. Drop hardcoded per-sensor orientations from the IPA. Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Reviewed-by: Naushir Patuck --- src/ipa/raspberrypi/cam_helper.hpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/ipa/raspberrypi/cam_helper.hpp') diff --git a/src/ipa/raspberrypi/cam_helper.hpp b/src/ipa/raspberrypi/cam_helper.hpp index 6877f473..97ce3e92 100644 --- a/src/ipa/raspberrypi/cam_helper.hpp +++ b/src/ipa/raspberrypi/cam_helper.hpp @@ -58,12 +58,6 @@ namespace RPi { // (other than start-up), for which control algorithms should not run // (for example, metadata may be unreliable). -// Bitfield to represent the default orientation of the camera. -typedef int CamTransform; -static constexpr CamTransform CamTransform_IDENTITY = 0; -static constexpr CamTransform CamTransform_HFLIP = 1; -static constexpr CamTransform CamTransform_VFLIP = 2; - class CamHelper { public: @@ -82,7 +76,6 @@ public: virtual unsigned int HideFramesModeSwitch() const; virtual unsigned int MistrustFramesStartup() const; virtual unsigned int MistrustFramesModeSwitch() const; - virtual CamTransform GetOrientation() const; protected: MdParser *parser_; CameraMode mode_; -- cgit v1.2.1