summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera_proxy.h
diff options
context:
space:
mode:
authorUmang Jain <email@uajain.com>2020-09-09 16:17:54 +0530
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-09-10 07:12:46 +0300
commite917655d06ec86224b10b992e036460a7334b407 (patch)
treedca415071d1c9a93f79967f8926dbf35c8a029ad /src/v4l2/v4l2_camera_proxy.h
parent9ac8f3e96f6d1a3da9158bcb4984d01420b159db (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/v4l2/v4l2_camera_proxy.h')
0 files changed, 0 insertions, 0 deletions