v4l2_rect_intersect(9) calculate the intersection of two rects.

SYNOPSIS

void v4l2_rect_intersect(struct v4l2_rect * r, const struct v4l2_rect * r1, const struct v4l2_rect * r2);

ARGUMENTS

r

intersection of r1 and r2.

r1

rectangle.

r2

rectangle.

COPYRIGHT