diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-12-18 16:35:35 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-05-10 15:08:51 +0200 |
commit | 45c6a7e6e8277fed743e4033d39deeb36a58a4b0 (patch) | |
tree | ac850ff990231048c7be52456a916c65e85c1c6f /test/v4l2_compat | |
parent | cdfcb05bedd22670f42581188d9ffd07a283fb4c (diff) |
android: camera_device: Report sensor physical size
Calculate the value of the ANDROID_SENSOR_INFO_PHYSICAL_SIZE property
multiplying the number of sensor's readable pixels with the pixel unit
cell size if provided by the Camera.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/v4l2_compat')
0 files changed, 0 insertions, 0 deletions