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>
This commit is contained in:
Laurent Pinchart 2020-07-04 02:21:26 +03:00
parent 44aa793056
commit c0b0b7205c
5 changed files with 0 additions and 33 deletions

View file

@ -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();