summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcameraallocator.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-12-18 16:35:35 +0100
committerJacopo Mondi <jacopo@jmondi.org>2021-05-10 15:08:51 +0200
commit45c6a7e6e8277fed743e4033d39deeb36a58a4b0 (patch)
treeac850ff990231048c7be52456a916c65e85c1c6f /src/gstreamer/gstlibcameraallocator.cpp
parentcdfcb05bedd22670f42581188d9ffd07a283fb4c (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 'src/gstreamer/gstlibcameraallocator.cpp')
0 files changed, 0 insertions, 0 deletions