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