Name

v4l2_rect_overlap — do r1 and r2 overlap?

Synopsis

bool v4l2_rect_overlap (const struct v4l2_rect * r1,
 const struct v4l2_rect * r2);
 

Arguments

r1

rectangle.

r2

rectangle.

Description

Returns true if r1 and r2 overlap.