summaryrefslogtreecommitdiff
path: root/src/apps/qcam/viewfinder_gl.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-03-21 18:20:02 +0100
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-06-06 18:59:26 +0200
commit311e5bc1a8fa06a858e3d930ea57bff796732c8d (patch)
tree515c5ac19a9fd3184e62fdb62018183155564f28 /src/apps/qcam/viewfinder_gl.h
parentc6124d757cac2661108a806edc9b0a9b72b1abd3 (diff)
libcamera: rkisp1: Crop on ISP before downscaling
Crop on the resizer sink pad before downscaling to the aspect ratio of the desired output size. Cropping the input frame to the output aspect ratio allows to maintain the correct picture proportions, as otherwise downscaling would change the image geometry. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam/viewfinder_gl.h')
0 files changed, 0 insertions, 0 deletions