STRUCT CAMIF_ADDR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 land
  • cb β€” the Cb plane dma address 🩡 yup, that one's for Cb
  • cr β€” 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