summaryrefslogtreecommitdiff
path: root/include/media/videobuf2-v4l2.h
diff options
context:
space:
mode:
authorBenoit Parrot <bparrot@ti.com>2020-05-28 16:26:05 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-04 13:30:13 +0300
commit030b161c4dc8a4d9a3dcecd7101680e3f871748d (patch)
treeede863176d640b238b3818d7935ebda3593f6213 /include/media/videobuf2-v4l2.h
parentd3246337d00fcb635e4ade45f748f155e4056b28 (diff)
downloadlinux-030b161c4dc8a4d9a3dcecd7101680e3f871748d.tar.xz
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/videobuf2-v4l2.h')
0 files changed, 0 insertions, 0 deletions