diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2022-03-03 12:11:13 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-03-04 16:21:03 +0000 |
commit | cdad084a913540c15050dd0a5d6b10f612b2730b (patch) | |
tree | 9cd8529a56fd012edaf67468fa467d896ddcf63a /src/qcam/assets/feathericons/columns.svg | |
parent | e68e0f1ed2880ea26b5e317f94e2bbd5332e1598 (diff) |
libcamera: pipeline: raspberrypi: Fix scaler crop when sensor is configured
We must calculate the initial scaler crop when the camera is
configured, otherwise the metadata will report this rectangle as being
all zeroes.
Because the calculation is identical to that performed later in handling
the scaler crop control, we factor it into a small helper function,
RPiCameraData::scaleIspCrop.
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/columns.svg')
0 files changed, 0 insertions, 0 deletions