diff options
author | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-12-16 16:40:47 +0100 |
---|---|---|
committer | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-12-17 10:33:14 +0100 |
commit | d6c21e237e82fd009ddafdfcce4bade0e375d9c5 (patch) | |
tree | 8b068bcc3eb21e64f2512498f9ad5537780442c6 /utils/checkstyle.py | |
parent | 366dad2536801312a69b126fdccc86c6343bee0c (diff) |
libcamera: converter_v4l2_m2m: Refactor get crop bounds code
In an upcoming patch it is necessary to get the crop bounds on the
converter itself. The V4L2M2MConverter contains code that is very
similar to the get crop bounds code in the V4L2M2MStream. Merge these
code blocks into a static function to be used from both classes. This
patch contains no functional changes.
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'utils/checkstyle.py')
0 files changed, 0 insertions, 0 deletions