v4l2_rect_overlap(9)
π v4l2_rect_overlap π
okay so bestie, welcome to the Kernel API Manual entry for v4l2_rect_overlap β this is the little function that answers the question every rectangle has been dying to ask another rectangle: do we overlap? β¨
πΈ NAME πΈ
v4l2_rect_overlap β literally just: do r1 and r2 overlap? π«Ά
π¦ SYNOPSIS π¦
bool v4l2_rect_overlap (const struct v4l2_rect *r1 , const struct
v4l2_rect *r2 );
she's a bool-returning icon, she takes two const struct v4l2_rect * pointers, and she gives you a straight answer. no cap. π
π ARGUMENTS π
r1β a rectangle. that's it. that's the whole vibe. πr2β another rectangle. the other half of this situationship. π
π₯ DESCRIPTION π₯
Returns true if r1 and r2 overlap. that's the entire plot, bestie β no twist ending, no hidden lore, just a clean little vibe check between two rectangles. if they're touching each other's space, you get true. if not, you don't. simple as. β¨
β SEE ALSO β
the kernel file lives at ./include/media/v4l2-rect.h and honestly the whole rect friend group is iconic, go say hi:
v4l2_rect_set_size_to(9)v4l2_rect_set_min_size(9)v4l2_rect_set_max_size(9)v4l2_rect_map_inside(9)v4l2_rect_same_size(9)v4l2_rect_same_position(9)v4l2_rect_equal(9)v4l2_rect_intersect(9)v4l2_rect_scale(9)v4l2_rect_enclosed(9)
and that's the whole page, bestie!! π¦ this little gem came out of ./include/media, dated October 2026, and it will forever answer to the name v4l2_rect_overlap(9). mwah π
ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms