summaryrefslogtreecommitdiff
path: root/src/apps
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2022-11-22 11:30:49 +0000
committerJacopo Mondi <jacopo@jmondi.org>2022-12-09 08:57:40 +0100
commit01a70cfc4a47893292f4f223c5a44d2cb3411a1e (patch)
tree1c74a23152c67118662abd012dc5aa0afb244727 /src/apps
parent7a727a66cab151b2ad0936c2474eb02f81987079 (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 'src/apps')
0 files changed, 0 insertions, 0 deletions