aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/media
diff options
context:
space:
mode:
authorBenoit Parrot <bparrot@ti.com>2020-05-28 15:26:05 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-04 12:30:13 +0200
commit030b161c4dc8a4d9a3dcecd7101680e3f871748d (patch)
treeede863176d640b238b3818d7935ebda3593f6213 /include/media
parentmedia: v4l2-rect.h: add enclosed rectangle helper (diff)
downloadwireguard-linux-030b161c4dc8a4d9a3dcecd7101680e3f871748d.tar.xz
wireguard-linux-030b161c4dc8a4d9a3dcecd7101680e3f871748d.zip
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>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions