v4l2_rect_overlap — do r1 and r2 overlap?
bool v4l2_rect_overlap (
)
r1
rectangle.
r2
Returns true if r1 and r2 overlap.