Name

v4l2_rect_intersect — 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.