diff options
| author | Benoit Parrot <[email protected]> | 2020-05-28 15:26:05 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-04 12:30:13 +0200 |
| commit | 030b161c4dc8a4d9a3dcecd7101680e3f871748d (patch) | |
| tree | ede863176d640b238b3818d7935ebda3593f6213 /include | |
| parent | d3246337d00fcb635e4ade45f748f155e4056b28 (diff) | |
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 <[email protected]>
Acked-by: Andrzej Pietrasiewicz <[email protected]>
Reviewed-by: Lad Prabhakar <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions