diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2021-01-28 17:45:44 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2021-02-01 09:41:40 +0900 |
commit | 78f49d5e348814ae8d7c6bd0c2686112f790ca88 (patch) | |
tree | 875015da4b84899bd078b2055e5d81e350cd3088 /test/utils.cpp | |
parent | c763ae023d9b64e7910c2dfc849f6c1f5081f657 (diff) |
android: camera_device: Fix exposure time tag in exif and android
The ExposureTime libcamera control is in microseconds while android and
our exif component use nanoseconds. Convert it appropriately.
CTS also expects the ExposureTime exif tag to match the ExposureTime set
in the android result metadata. Fix it.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/utils.cpp')
0 files changed, 0 insertions, 0 deletions