v4l2_rect_same_position(9)
π v4l2_rect_same_position π
okay bestie, so this one's from the Kernel API Manual and it's literally called v4l2_rect_same_position β say that five times fast, i can't π. It lives in the kernel's media world and it's honestly so simple it's iconic.
β¨ NAME β¨
v4l2_rect_same_position β returns true if r1 has the same position as r2 π
Likeβ¦ that's it. That's the whole job. She's a one-trick pony and she ate. π
π¦ SYNOPSIS π¦
bool v4l2_rect_same_position (const struct v4l2_rect *r1 , const struct v4l2_rect *r2 );
yup, that's the whole signature β no cap. Returns a bool, takes two pointers, zero drama. β¨
πΈ ARGUMENTS πΈ
r1β a rectangle. that's it, that's the description, she's a rectangle bestie π«Άr2β another rectangle. second rectangle of the duo, the sidekick, the costar π
both of them are const struct v4l2_rect *, so nobody's mutating anything up in here. respectful. π
π₯ DESCRIPTION π₯
Returns true if both rectangles have the same position. π―
that's literally the whole thing, highkey the most straightforward function in the entire header file. it's giving "i have one job and i do it flawlessly". position check only β she is NOT checking sizes, she is NOT checking anything else, mind your business. π
π§ SEE ALSO π§
all the other rect girlies live in the kernel file ./include/media/v4l2-rect.h β go say hi to the whole friend group π:
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_equal(9)v4l2_rect_intersect(9)v4l2_rect_scale(9)v4l2_rect_overlap(9)v4l2_rect_enclosed(9)
like yes, there's a whole squad, and every single one of them is a baddie in her own right π
lowkey reminder: this is kernel API stuff, so it's fr fr meant for people writing kernel code β not a casual little shell command you can just vibe with in your terminal π
okay that's the whole page, mwah π β this cutie came from ./include/media and she's dated October 2026, so like, future icon behavior honestly πβ¨π¦π
π¦ 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