STRUCT PXA_MBUS_PIXELFMT(9)
π 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 aconst char *, so it's just a cute little label telling you what you're looking at πfourccβ au32fourcc 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 anenum pxa_mbus_layout. where everything sits, fr fr πΈbits_per_sampleβ how many bits the bridge has to sample. it's au8, so keep it smol π
π¦ SEE ALSO π¦
- Kernel file
./drivers/media/platform/intel/pxa_camera.c enum pxa_mbus_packing(9)enum pxa_mbus_order(9)enum pxa_mbus_layout(9)struct pxa_mbus_lookup(9)struct pxa_camera_format_xlate(9)pxa_init_dma_channel(9)pxa_dma_start_channels(9)pxa_camera_start_capture(9)pxa_camera_check_link_miss(9)
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 asstruct pxa_mbus_pixelfmt(9). that's the whole source/version/date situation β slay, periodt ππ
π¦ 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