STRUCT CAMIF_ADDR(9)
π struct camif_addr(9) β like, the Kernel API Manual bestie era π
okay so real talk, this is a page straight out of the Kernel API Manual, and it's all about struct camif_addr. no cap, it's a tiny struct but it's literally the main character of your Y/Cb/Cr DMA setup. let's get into it π¦
β¨ NAME β¨
struct camif_addr β the Y/Cb/Cr DMA start address structure. that's it, that's the vibe. three addresses, one struct, zero drama π
πΈ SYNOPSIS πΈ
here's the whole thing, iconically short:
struct camif_addr {
dma_addr_t y;
dma_addr_t cb;
dma_addr_t cr;
};
likeβ¦ she's compact. she's elegant. she ate. π₯
π Members π
okay so let's meet the three besties inside:
yβ the luminance plane dma address π©· literally where your Y plane lives in DMA landcbβ the Cb plane dma address π©΅ yup, that one's for Cbcrβ the Cr plane dma address π and this one? Cr. we love a complete set fr fr
three members, three planes, three dma addresses β the way that it's structured is so satisfying ngl β¨
π«Ά SEE ALSO π«Ά
if you're obsessed (and you should be), go check out the kernel file:
./drivers/media/platform/samsung/s3c-camif/camif-core.h
and the whole friend group of related structs, no gatekeeping here:
struct camif_fmt(9)struct camif_dma_offset(9)struct camif_frame(9)struct s3c_camif_variant(9)struct camif_vp(9)struct camif_dev(9)struct camif_buffer(9)
like, read the whole squad, iykyk π
aaaand that's the page!! mwah π sign-off time: this little beauty comes to you from ./drivers/media/platform/samsu... and it's dated October 2026, filed under struct camif_addr(9) β go forth and configure your DMA addresses, bestie, you're gonna slay πβπ§
π¦ 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