STRUCT CAMIF_FRAME(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ struct camif_frame(9) β€” the Kernel API Manual, bestie edition ✨

okay so picture this: it's the Linux kernel, it's the Samsung s3c-camif camera interface situation, and somebody has to keep track of where the picture actually goes. That's this struct. It lives in the kernel API manual (that's the (9) vibe, iykyk), and it is literally just the source/target frame properties, packaged up all cute πŸŽ€


✨ NAME ✨

struct camif_frame β€” source/target frame properties πŸ’…

like, the frame's whole personality: how big it is, what part of it you're cropping or composing, and how the DMA wants its offsets. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct camif_frame {
    u16 f_width;
    u16 f_height;
    struct v4l2_rect rect;
    struct camif_dma_offset dma_offset;
 };

that's her. four fields. main character energy, zero filler πŸ’–


🌸 Members 🌸

  • f_width β€” the full pixel width, fr fr. like the whole entire width, not a cropped situation.
  • f_height β€” the full pixel height πŸ’― same deal, the whole height, nothing cut off.
  • rect β€” a struct v4l2_rect holding the crop/composition rectangle. that's the "okay but this part of it actually" rectangle 🫢
  • dma_offset β€” a struct camif_dma_offset with the DMA offset configuration. the DMA's little offset preferences, slay ⭐

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/media/platform/samsung/s3c-camif/camif-core.h β€” that's where the source of truth lives, go read it bestie πŸ‘€
  • struct camif_fmt(9)
  • struct camif_dma_offset(9)
  • struct s3c_camif_variant(9)
  • struct camif_vp(9)
  • struct camif_dev(9)
  • struct camif_addr(9)
  • struct camif_buffer(9)

the whole friend group honestly 🌈 all of them, in that order, exactly like that.


ok final vibe check: no options, no exit statuses, no warnings, no bugs listed β€” this page is just a struct and its four members. don't go looking for drama that isn't there πŸ™ˆ

that's the whole page, periodt πŸ’œ this cutie came out of ./drivers/media/platform/samsu… β€” yes it's truncated, blame the footer, not me 😭 β€” and it's tagged October 2026 in the manual, which is giving time-travel main character. anyway, stan struct camif_frame(9), go build something iconic πŸ§šπŸŒΈπŸ“

πŸ“¦ where this page comes from