diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-05-25 16:08:22 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-06-04 09:58:02 +0200 |
commit | 64f4f667ed1c58d4889a3b00c6750a2ddfc625f2 (patch) | |
tree | 06d912ed12ebf21af1d6c6984fef4fe0a03e3761 /Documentation/api-html/index.rst | |
parent | 0ffb3a20ed61a53ba20e6d6724b1f23030bc20f8 (diff) |
android: hal_manager: Do not hardcode properties
The CameraHalManager::getCameraInfo() method hardcodes the camera facing
side and orientation (which corresponds, confusingly, to libcamera's
location and rotation properties).
Instead of hard-coding the values based on the camera id, inspect the
libcamera properties that report the camera location and rotation in a
new initialize() method, and use them to report the android camera info
and to populate the static metadata buffer.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'Documentation/api-html/index.rst')
0 files changed, 0 insertions, 0 deletions