STRUCT CAMIF_BUFFER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ struct camif_buffer(9)

okay bestie, welcome to the Kernel API Manual ✨ this one's about struct camif_buffer β€” literally the camif video buffer structure, no cap πŸŽ€


πŸ’– NAME

struct camif_buffer β€” the camif video buffer structure. that's it, that's the vibe πŸ¦‹


🌸 SYNOPSIS

struct camif_buffer {
    struct vb2_v4l2_buffer vb;
    struct list_head list;
    struct camif_addr paddr;
    unsigned int index;
 };

✨ Members

like, here's the whole cast of characters, and every single one is a main character in their own way πŸ’…

  • vb β€” the vb2 buffer. iconic, essential, we love her 🫢
  • list β€” list head for the buffers queue. she's the one keeping everyone in line, fr fr πŸ“‹
  • paddr β€” DMA start addresses. lowkey the actual physical whereabouts of your data ✨
  • index β€” an identifier of this buffer at the DMA engine. her little name tag at the party πŸŽ€
ngl, this struct is small but she's highkey doing a lot. four fields, zero fluff πŸ’€

πŸ¦‹ SEE ALSO

  • Kernel file ./drivers/media/platform/samsung/s3c-camif/camif-core.h β€” go read the source, it's giving homework but make it cute πŸ“š
  • 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_addr(9)

the whole friend group, assembled 🌈


πŸ’œ and that's the page!! written from ./drivers/media/platform/samsu... (the path got a little truncated on the way out, we don't gatekeep 🌸), dated October 2026 β€” mwah, love that for us. periodt. πŸ‘‘

πŸ“¦ where this page comes from