summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcamerapool.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2022-11-24 10:10:26 +0100
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-01-30 11:04:29 +0100
commit1a614866a29ce1e3c185d72975ad9fc37c4f99bd (patch)
tree0b550b5af3f9e7d307485d9b867cb5ded4846eed /src/gstreamer/gstlibcamerapool.h
parente030bac39027cc960727ec3db99a68fcb01e0b2a (diff)
libcamera: camera_sensor: Validate Transform
The two pipeline handlers that currently support Transform (IPU3 and RaspberryPi) implement it by operating H/V flips on the image sensor. Centralize the code that validates a Transform request against the sensor rotation 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. The CameraSensor::validateTransform() implementation comes directly from the RaspberryPi pipeline handler, no functional changes intended. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Diffstat (limited to 'src/gstreamer/gstlibcamerapool.h')
0 files changed, 0 insertions, 0 deletions