diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2020-09-07 08:15:58 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-09-29 11:43:06 +0100 |
commit | edf19e4c72842704933c66f519e708107a14c47b (patch) | |
tree | 0e8e0dcef9beec2e764ef039def74af7dda1334f /test/camera-sensor.cpp | |
parent | d522ad2549dfbd494c4f47222951522abecaea01 (diff) |
libcamera: Add Transform enum to represent 2D plane transforms.
We implement 2D transforms as an enum class with 8 elements,
consisting of the usual 2D plane transformations (flips, rotations
etc.).
The transform is made up of 3 bits, indicating whether the transform
includes: a transpose, a horizontal flip (mirror) and a vertical flip.
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/camera-sensor.cpp')
0 files changed, 0 insertions, 0 deletions