v4l2_rect_overlap(9) 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.

COPYRIGHT