linux/drivers/media/platform/am437x
Benoit Parrot 030b161c4d media: use v4l2_rect_enclosed helper
Several drivers implement the same enclosed_rectangle() function to
check if a rectangle is enclosed into another. Replace this with the
newly added v4l2_rect_enclosed() helper function.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Acked-by: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>
Reviewed-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-07-04 12:30:13 +02:00
..
am437x-vpfe.c media: use v4l2_rect_enclosed helper 2020-07-04 12:30:13 +02:00
am437x-vpfe.h media: am437x-vpfe: Switch to SPDX Licensing 2019-10-01 16:15:38 -03:00
am437x-vpfe_regs.h media: am437x-vpfe: Switch to SPDX Licensing 2019-10-01 16:15:38 -03:00
Kconfig media: Kconfig files: use select for V4L2 subdevs and MC 2020-04-14 10:29:05 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00