mbox series

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

Message ID 20200528132605.18339-1-bparrot@ti.com (mailing list archive)
Headers show
Series media: v4l2-rect.h: add enclosed rectangle helper | expand

Message

Benoit Parrot May 28, 2020, 1:26 p.m. UTC
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(-)