summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2022-11-24 10:33:06 +0100
committerJacopo Mondi <jacopo@jmondi.org>2022-12-01 11:26:44 +0100
commit2af93b5d2c21db70e5798a88f8086501c9e85859 (patch)
treed1d1116275c600d2c80a2e09b5afc53888e91c3e /.gitignore
parentd36c111656627392c90b558e6a9b6ba832c5b9cd (diff)
libcamera: camera_sensor: Apply flips at setFormat()
Augment the CameraSensor::setFormat() function to configure horizontal and vertical flips before appllying the image format on the sensor. Applying flips before format is crucial as they might change the Bayer pattern ordering. To allow users of the CameraSensor class to easily pass the requested Transform add to the V4L2SubdeviceFormat class a 'transform' member, by default initialized to Transform::Identity. Moving the handling of H/V flips to the CameraSensor class allows to remove quite some boilerplate code from the IPU3 and RaspberryPi pipeline handlers. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions