v4l2_fill_pix_format_mplane(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… v4l2_fill_pix_format_mplane ✨

okay so bestie, welcome to the Kernel API Manual page for v4l2_fill_pix_format_mplane (yes the whole squad calls it that, it's a mouthful, i know 😭). this is the 9-section manpage vibe and we're gonna get you through it fr fr.


🌸 NAME 🌸

v4l2_fill_pix_format_mplane β€” the ancillary routine that fills a &struct v4l2_pix_format_mplane's fields from a media bus structure. it's giving "personal assistant for your pixel format" energy, and honestly? iconic πŸŽ€


✨ SYNOPSIS ✨

void v4l2_fill_pix_format_mplane (struct v4l2_pix_format_mplane
*pix_mp_fmt , const struct v4l2_mbus_framefmt *mbus_fmt );

literally just two pointers and a dream, no cap πŸ’« (and yeah, it returns void β€” it does the thing and dips, main character energy πŸ‘‘)


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pix_mp_fmt β€” pointer to struct v4l2_pix_format_mplane to be filled. this is the empty cup, the blank canvas, the "not me being an uninitialized struct" one πŸ™ˆ you're filling this baby up.
  • mbus_fmt β€” pointer to struct v4l2_mbus_framefmt to be used as model. this one is the blueprint, the inspo, the reference pic you're copying from 🎨
so like, mbus_fmt is the mood board and pix_mp_fmt is the final fit. slay.

πŸ’œ SEE ALSO πŸ’œ

kernel file ./include/media/v4l2-mediabus.h β€” that's the home base, the source of truth, the addy πŸ“

and the whole friend group, alphabetically-ish by vibe:

like, go read those too if you wanna be a completionist, we stan a thorough queen 🫢


tiny reminder bestie: this page is from the ./include/media corner of the kernel tree, dated October 2026, living under the Kernel API Manual umbrella, section 9. don't lose the receipt πŸ’€

and that's the whole page, no crumbs left 🌈 mwah, go fill those formats, you're doing amazing sweetie πŸ“πŸ’– β€” signed, the Kernel API Manual (v4l2_fill_pix_format_mplane(9)), ./include/media, October 2026 ✨🧚

πŸ“¦ where this page comes from