diff options
author | Benoit Parrot <bparrot@ti.com> | 2020-05-28 16:26:05 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-04 13:30:13 +0300 |
commit | 030b161c4dc8a4d9a3dcecd7101680e3f871748d (patch) | |
tree | ede863176d640b238b3818d7935ebda3593f6213 /include/media/videobuf2-v4l2.h | |
parent | d3246337d00fcb635e4ade45f748f155e4056b28 (diff) | |
download | linux-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