v4l2_fill_pix_format_mplane(9)
π 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 tostruct v4l2_pix_format_mplaneto 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 tostruct v4l2_mbus_framefmtto be used as model. this one is the blueprint, the inspo, the reference pic you're copying from π¨
so like,mbus_fmtis the mood board andpix_mp_fmtis 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:
enum v4l2_mbus_csi2_cphy_line_orders_type(9)struct v4l2_mbus_config_mipi_csi2(9)struct v4l2_mbus_config_parallel(9)struct v4l2_mbus_config_mipi_csi1(9)enum v4l2_mbus_type(9)struct v4l2_mbus_config(9)v4l2_fill_pix_format(9)v4l2_fill_mbus_format(9)v4l2_fill_mbus_format_mplane(9)
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/mediacorner of the kernel tree, dated October 2026, living under theKernel API Manualumbrella, 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
- 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