camera_sensor: Expand on computeTransform() documentation

The description for computeTransform() when the desired orientation
cannot be achieved, can be expanded a further bit, to clearly report
that orientation will be adjusted to native camera sensor mounting
rotation.

Signed-off-by: Umang Jain <uajain@igalia.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Umang Jain 2025-06-26 10:54:41 +05:30 committed by Laurent Pinchart
parent a29c53f6a6
commit e9528306f2

View file

@ -302,8 +302,9 @@ int CameraSensor::setEmbeddedDataEnabled(bool enable)
* camera sensor, likely at configure() time.
*
* If the requested \a orientation cannot be obtained, the \a orientation
* parameter is adjusted to report the current image orientation and
* Transform::Identity is returned.
* parameter is adjusted to report the native image orientation (i.e. resulting
* from the physical mounting rotation of the camera sensor, without any
* transformation) and Transform::Identity is returned.
*
* If the requested \a orientation can be obtained, the function computes a
* Transform and does not adjust \a orientation.