diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2022-11-24 10:10:26 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2022-12-09 08:57:41 +0100 |
commit | a55bd143344dd4fe9326ca7d9c4ba8c5c665559a (patch) | |
tree | de5324232ce06a6ebddf0f0d3154f650d0213c8c /test/threads.cpp | |
parent | 9227deb254f6ed29837f4f8c490137be18d26056 (diff) |
libcamera: camera_sensor: Validate Transform
The two pipeline handlers that currently support Transform do so by
operating H/V flips on the image sensor, instead of rotating on the ISP.
As the image sensor performs the actual rotation, centralize the code
that validates a requested Transform against the camera sensor rotation
and capabilities in the CameraSensor class.
The implementation in the IPU3 pipeline handler was copied from the
RaspberryPi implementation, and is now centralized in CameraSensor to
make it easier for other platforms that do not rotate on the ISP to
implement support for Transform using the CameraSensor class.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/threads.cpp')
0 files changed, 0 insertions, 0 deletions