summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/cam_helper.hpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-04 02:21:26 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-17 02:13:40 +0300
commitc0b0b7205c7e59ad754b5cf2c79d661e5676eb73 (patch)
tree019bfa3efcc514815cde2ba33391c9a1be0ed75e /src/ipa/raspberrypi/cam_helper.hpp
parent44aa793056f196bff386429d280d568c8a8313cc (diff)
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Diffstat (limited to 'src/ipa/raspberrypi/cam_helper.hpp')
-rw-r--r--src/ipa/raspberrypi/cam_helper.hpp7
1 files changed, 0 insertions, 7 deletions
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_;