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_imx477.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/ipa/raspberrypi/cam_helper_imx477.cpp') 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(); -- cgit v1.2.1