diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2023-01-12 11:06:33 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-01-30 16:30:43 +0000 |
commit | 4133dbe2b3c2a0f06b4382c66a36d7adf9c72a57 (patch) | |
tree | 75ced02fdae12312530bc727cf25a545fde97a7c /src/py/cam/cam_qt.py | |
parent | bb35ac92e4e0f8304b81c659f434e8bf4d10ddec (diff) |
pipeline: raspberrypi: Improve the values reported in the ScalerCrop control
Previously the x,y offsets in the min/max ScalerCrop control values
were zero. Here we make them the same as the sensor's analogue crop
offset which is I think less misleading.
With this change, it also seems reasonable to advertise the default
scaler crop value to be the true default that you will get. This makes
it possible for applications to see what that value will be without
having to start the camera and wait for frames.
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/py/cam/cam_qt.py')
0 files changed, 0 insertions, 0 deletions