STRUCT PXA_MBUS_PIXELFMT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct pxa_mbus_pixelfmt β€” Kernel API Manual ✨

okay so this is the glow-up guide to struct pxa_mbus_pixelfmt, straight out of the Kernel API Manual, and honestly? it's giving "data format on the media bus" and we're obsessed πŸŽ€


🌸 NAME 🌸

struct pxa_mbus_pixelfmt β€” literally just: the data format on the media bus. that's the whole vibe. πŸ¦‹


✨ SYNOPSIS ✨

struct pxa_mbus_pixelfmt {
    const char              *name;
    u32 fourcc;
    enum pxa_mbus_packing   packing;
    enum pxa_mbus_order     order;
    enum pxa_mbus_layout    layout;
    u8 bits_per_sample;
 };

no cap, that's the whole struct. six members, all iconic, all doing their little job πŸ‘‘


πŸŽ€ Members πŸŽ€

  • name β€” the name of the format, bestie. it's a const char *, so it's just a cute little label telling you what you're looking at πŸ’–
  • fourcc β€” a u32 fourcc code, and this is the one you'd get if the data gets stored in memory in the following way: (yes, that's how the original tells it β€” the "following way" is just vibes and context, iykyk πŸ™ˆ)
  • packing β€” the type of sample-packing that has to be used. enum pxa_mbus_packing, mandatory, no skipping ✨
  • order β€” sample order when storing in memory. enum pxa_mbus_order. it's giving "sequence matters" πŸ’…
  • layout β€” planes layout in memory, as an enum pxa_mbus_layout. where everything sits, fr fr 🌸
  • bits_per_sample β€” how many bits the bridge has to sample. it's a u8, so keep it smol πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹

like, go read those too, they're all part of the same friend group 🫢


ngl bestie, this page came from ./drivers/media/platform/intel, dated October 2026, and it's filed as struct pxa_mbus_pixelfmt(9). that's the whole source/version/date situation β€” slay, periodt πŸ’€πŸ‘‘
πŸ“¦ where this page comes from