summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcamera-utils.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-05-12 10:49:47 +0200
committerJacopo Mondi <jacopo@jmondi.org>2021-05-20 10:58:36 +0200
commit1da35058ec65e2ec17c788fd0aad7b80a269b469 (patch)
tree3c8f1f7fc9295bd1e46d2e3b01414d6544f32a03 /src/gstreamer/gstlibcamera-utils.h
parent92411679b1197754e29dd4824de8533f482f7c07 (diff)
libcamera: ipu3: imgu: Filter resolutions < IF_CROP_MAX
As reported in https://bugs.libcamera.org/show_bug.cgi?id=32 allowing resolutions < IF_CROP_MAX leads to a not manageable number configurations to be tested, slowing down the ImgU pipe configuration to a point which is not acceptable for production devices. Filter all resolutions < IF_CROP_MAX to maintain the run-time complexity acceptable and remove the safety check that was meant to avoid overflows when computing the IF rectangle sizes. Bug: https://bugs.libcamera.org/show_bug.cgi?id=32 Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcamera-utils.h')
0 files changed, 0 insertions, 0 deletions