drm_format_...s_yuv_planar(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ drm_format_info_is_yuv_planar β€” the "is this a three-plane YUV baddie?" check

okay so picture this, you're deep in the Kernel API Manual (that's the manual name btw, slay) and you need to know if some format info is giving planar YUV energy. that's literally the whole job of this function. it's a vibe check for pixel formats πŸŽ€


✨ SYNOPSIS ✨

bool drm_format_info_is_yuv_planar (const struct drm_format_info *info
);

it returns a bool, bestie. a simple yes-or-no. no drama, no side effects, no cap πŸ’…


🌸 ARGUMENTS 🌸

  • info β€” the format info you're interrogating. that's it. that's the whole argument. one (1) single format info struct, and she's const so nobody's touching her ✨

πŸ¦‹ RETURN πŸ¦‹

it hands you back a boolean indicating whether the format info matches a planar YUV format β€” like, YUV with the data laid out in three separate planes, one for each YUV component. three planes, three components, one iconic little bool πŸ’–

so to be crystal clear: true = yes queen, three planes, one per YUV component. false = not that. we move on 🫢

🌈 SEE ALSO 🌈

the whole friend group, honestly. go say hi πŸ‘‘


and that's the whole page, babe πŸ’€βœ¨ this one lives in ./include/drm, dated October 2026 β€” so like, future iconic. bookmark it, screenshot it, send it to the group chat. periodt πŸ“πŸ§š

πŸ“¦ where this page comes from