drm_format_...sampling_410(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_format_info_is_yuv_sampling_410 β€” a Kernel API Manual moment πŸŽ€

okay so bestie, welcome to the Kernel API Manual ✨ this one's a little baby page about one very specific little function, and honestly? she's iconic in her own lowkey way. let's get into it 🫢


✨ NAME ✨

drm_format_info_is_yuv_sampling_410 β€” literally just checks that the format info matches a YUV format with 4:1:0 sub-sampling 🌸 that's it, that's the whole job, and she does it slayfully πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

bool drm_format_info_is_yuv_sampling_410 (const struct drm_format_info
*info );

no cap, that's the whole signature β€” she takes one pointer and hands you back a bool πŸ‘‘


πŸ“ ARGUMENTS πŸ“

  • info β€” format info πŸ’– yeah that's the entire description in the original and we're keeping it fr fr. it's the format info. that's the vibe.

🌈 RETURN 🌈

A boolean indicating whether the format info matches a YUV format with 4:1:0 sub-sampling ⭐

so like… true = yes bestie she's 4:1:0, false = nope, not this one πŸ™ˆ no guessing, no extra lore, that's the documented deal ✨


πŸ‘‘ SEE ALSO πŸ‘‘

go touch some grass in the kernel file ./include/drm/drm_fourcc.h 🌱 and while you're there, the whole friend group is linked up:

the sampling sisters 411, 420, 422, 444 are all there and 410 is serving main character energy in her own entry πŸ˜­πŸ’œ


lowkey reminder: this page documents exactly one check. don't go asking her about packing or planes, she'll point you at the SEE ALSO list and politely move on πŸ’€

and that's the wrap, bestie πŸŽ€πŸ¦‹ this cutie lives under ./include/drm and the docs are dated October 2026 β€” go forth and sample your 4:1:0 formats responsibly, ily, periodt πŸ’–βœ¨

πŸ“¦ where this page comes from