[Patch 0/2] media: v4l2-rect.h: add enclosed rectangle helper

From: Benoit Parrot
Date: Thu May 28 2020 - 09:26:55 EST


This series introduces a new v4l2_rect_enclosed helper function which
already exist in some form in several drivers. It then proceed to
update those drivers to use the new helper function.

Benoit Parrot (2):
media: v4l2-rect.h: add enclosed rectangle helper
media: use v4l2_rect_enclosed helper

drivers/media/platform/am437x/am437x-vpfe.c | 19 +++---------------
.../media/platform/exynos4-is/fimc-capture.c | 18 +++--------------
drivers/media/platform/exynos4-is/fimc-lite.c | 18 +++--------------
drivers/media/platform/s5p-jpeg/jpeg-core.c | 16 ++-------------
include/media/v4l2-rect.h | 20 +++++++++++++++++++
5 files changed, 31 insertions(+), 60 deletions(-)

--
2.17.1