diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2020-09-07 08:16:01 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-09-29 11:43:07 +0100 |
commit | 4cff3937e1af979ad69d64d7658695950d1c1864 (patch) | |
tree | cefad14888f1a6a023adf442efd538a01f951c88 /src/gstreamer/gstlibcameraprovider.h | |
parent | dcae0513f799c78ad513c9c9c7dc5426e7a25161 (diff) |
libcamera: raspberrypi: Set camera flips correctly from user transform
The Raspberry Pi pipeline handler allows all transforms except those
involving a transpose. The user transform is combined with any
inherent rotation of the camera, and the camera's H and V flip bits
are set accordingly.
Note that the validate() method has to work out what the final Bayer
order of any raw streams will be, before configure() actually applies
the transform to the sensor. We make a note of the "native"
(untransformed) Bayer order when the system starts, so that we can
deduce transformed Bayer orders more easily.
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 'src/gstreamer/gstlibcameraprovider.h')
0 files changed, 0 insertions, 0 deletions