STRUCT CAMIF_FMT(9)
π struct camif_fmt(9) β from the Kernel API Manual, bestie
okay so picture this: you're deep in the kernel, you open the Kernel API Manual, and there it is β struct camif_fmt(9). it's giving "small struct, big responsibilities." let's get into it π«Ά
β¨ NAME β¨
struct camif_fmt β literally just a pixel format description. that's it. that's the whole vibe. no cap. π
πΈ SYNOPSIS πΈ
struct camif_fmt {
u32 fourcc;
u32 color;
u16 colplanes;
u16 flags;
u8 depth;
u8 ybpp;
};
look at her. six fields. perfectly balanced. main character energy fr fr π
π Members π
time to meet the cast, one field at a time π
fourccβ the fourcc code for this format. and if it's not applicable? it's0. zero. nothing. a void. we respect that πcolorβ a correspondingenum img_fmt. that's the whole job. slay β¨colplanesβ the number of physically contiguous data planes. physically contiguous, like your besties at lunch πflagsβ these bad boys indicate for which SoCs revisions this format is valid. iykyk β not every SoC gets an invite to the party πdepthβ bits per pixel (total). the whole thing. the full picture. no crumbs πybppβ the number of luminance bytes per pixel. yes, specifically luminance. she's specific and we love that β
π¦ SEE ALSO π¦
lowkey the reading list is long but it's all connected, bestie β follow the lore π₯
- Kernel file
./drivers/media/platform/samsung/s3c-camif/camif-core.h struct camif_dma_offset(9)struct camif_frame(9)s3c_camif_variant(9)struct camif_vp(9)struct camif_dev(9)struct camif_addr(9)struct camif_buffer(9)
okay that's the whole page, you ate that ππ
signed, sealed, delivered with love from the kernel source at ./drivers/media/platform/samsu... β October 2026 edition π§ and yes, the manpage footer still says struct camif_fmt(9) at the end because some things never change ππ«Ά
π¦ 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