diff options
author | Umang Jain <email@uajain.com> | 2020-09-09 16:17:54 +0530 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-09-10 07:12:46 +0300 |
commit | e917655d06ec86224b10b992e036460a7334b407 (patch) | |
tree | dca415071d1c9a93f79967f8926dbf35c8a029ad /src/qcam/assets/feathericons/rotate-ccw.svg | |
parent | 9ac8f3e96f6d1a3da9158bcb4984d01420b159db (diff) |
android: camera_device: Fix value of orientation metadata
Android's orientation metadata cannot have identical numerical
value to libcamera's rotation property. This is due to the fact
that libcamera's rotation property specifies the correction angle
in anticlockwise direction whereas Android's orientation metadata
specifies the value in clockwise direction. Fix that by computing
corresponding value for clockwise direction from libcamera's rotation
property.
Signed-off-by: Umang Jain <email@uajain.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/rotate-ccw.svg')
0 files changed, 0 insertions, 0 deletions