v4l2_rect_overlap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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