summaryrefslogtreecommitdiff
path: root/test/gstreamer/gstreamer_memory_lifetime_test.cpp
diff options
context:
space:
mode:
authorStefan Klug <stefan.klug@ideasonboard.com>2024-12-16 16:40:42 +0100
committerStefan Klug <stefan.klug@ideasonboard.com>2024-12-17 10:31:44 +0100
commitdb9b6f8e2302842e0bb153f0c9600444a21ef670 (patch)
treeb12f85f7c31106232af344f95ddaad4d0723ab4f /test/gstreamer/gstreamer_memory_lifetime_test.cpp
parent479e8c851c4adc354472af1cd70abda802f9da2e (diff)
pipeline: rkisp1: Keep aspect ratio on imx8mp
In the current code, the input stage of the image resizer is used to apply a crop to keep the aspect ratio in cases where the requested output aspect ratio differs from the one of the selected sensor mode. On the imx8mp the resizer hardware is not capable of cropping (for reference see also rkisp1-resizer.c:rkisp1_rsz_set_sink_crop() in the linux kernel v6.10). Therefore apply the necessary cropping on the output of the ISP (on the image stabilization block). The cropping code on the image resizer doesn't need modifications as the requested crop gets ignored by the kernel. While at it, remove a todo comment that is no longer needed. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'test/gstreamer/gstreamer_memory_lifetime_test.cpp')
0 files changed, 0 insertions, 0 deletions