diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2022-11-22 11:30:49 +0000 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2022-12-01 11:26:44 +0100 |
commit | a2ccaf661694fe9f309dc3d48babd4239dda2bc9 (patch) | |
tree | 24c886b4d004aa71d13eb1e96a40ada6be147ad9 /.gitignore | |
parent | d2f9c1f0c344f884a8a4296ee77fc0c47655df7a (diff) |
libcamera: camera_sensor: Do not clear camera flips when listing formats
Previously the code used to clear the camnera's h and v flip bits when
enumerating the supported formats so as to obtain any Bayer formats in
the sensor's native (untransformed) orientation. However this fails
when the camera is already in use elsewhere.
Instead, we query the current state of the flip bits and transform the
formats - which we obtain in their flipped orientation - back into
their native orientation to be stored.
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions