summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/cam_helper_imx477.cpp
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_imx477.cpp
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_imx477.cpp')
-rw-r--r--src/ipa/raspberrypi/cam_helper_imx477.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ipa/raspberrypi/cam_helper_imx477.cpp b/src/ipa/raspberrypi/cam_helper_imx477.cpp
index 69544456..a53b47c0 100644
--- a/src/ipa/raspberrypi/cam_helper_imx477.cpp
+++ b/src/ipa/raspberrypi/cam_helper_imx477.cpp
@@ -38,7 +38,6 @@ public:
uint32_t GainCode(double gain) const override;
double Gain(uint32_t gain_code) const override;
bool SensorEmbeddedDataPresent() const override;
- CamTransform GetOrientation() const override;
};
CamHelperImx477::CamHelperImx477()
@@ -61,12 +60,6 @@ bool CamHelperImx477::SensorEmbeddedDataPresent() const
return true;
}
-CamTransform CamHelperImx477::GetOrientation() const
-{
- /* Camera is "upside down" on this board. */
- return CamTransform_HFLIP | CamTransform_VFLIP;
-}
-
static CamHelper *Create()
{
return new CamHelperImx477();