STRUCT FIMC_FRAME(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct fimc_frame(9) πŸ’…

okay bestie, so you've stumbled into the Kernel API Manual β€” welcome, you're gonna love it here ✨ this one's all about struct fimc_frame, which is literally the glow-up blueprint for your source/target frame properties. like, every little measurement and offset this frame needs to serve looks? it's all in here πŸŽ€


✨ SYNOPSIS ✨

struct fimc_frame {
    u32 f_width;
    u32 f_height;
    u32 o_width;
    u32 o_height;
    u32 offs_h;
    u32 offs_v;
    u32 width;
    u32 height;
    unsigned int            payload[VIDEO_MAX_PLANES];
    unsigned int            bytesperline[VIDEO_MAX_PLANES];
    struct fimc_addr        addr;
    struct fimc_dma_offset  dma_offset;
    const struct fimc_fmt   *fmt;
    u8 alpha;
};

ok so like β€” copy this exactly, do not retype it from memory, I'm begging 😭 this is the whole vibe right here, periodt πŸ’…


🌸 Members 🌸

  • f_width β€” the image's full width, as in the virtual screen size β€” the whole canvas vibe, not just the visible part πŸ–ΌοΈ
  • f_height β€” the image's full height, again virtual screen size β€” same canvas energy, vertically πŸ’«
  • o_width β€” the original image width, exactly as it was set by S_FMT β€” this is where the og width lives πŸ’–
  • o_height β€” the original image height, exactly as set by S_FMT β€” matching og height, no cap 🫢
  • offs_h β€” the image's horizontal pixel offset β€” how far over we're sliding, lowkey πŸ¦‹
  • offs_v β€” the image's vertical pixel offset β€” the vertical slide, highkey ✨
  • width β€” image pixel width β€” yes, this is a different width from f_width, they're both main characters, don't @ me πŸ’€
  • height β€” image pixel weight β€” that's what the manpage says bestie, "weight", keeping it exactly as written πŸ™ˆ
  • payload β€” the image size in bytes (w x h x bpp), one entry per plane β€” the actual byte count, fr fr πŸ“¦
  • bytesperline β€” the bytesperline value for each plane, so every plane knows its own stride situation πŸŽ€
  • addr β€” the image frame buffer DMA addresses β€” where the frame's living, address-wise 🏠
  • dma_offset β€” DMA offset in bytes β€” a lil' byte-level nudge πŸ’«
  • fmt β€” pointer to the fimc color format β€” the whole aesthetic/aesthetic-format situation 🎨
  • alpha β€” the alpha value β€” transparency, the finishing touch πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

kernel file: ./drivers/media/platform/samsung/exynos4-is/fimc-core.h β€” that's the source of truth bestie, go read it πŸ‘‘

and like, the whole friend group shows up here too:


and that's the whole page, bestie, you ate that πŸ«ΆπŸ’–

okay so the sign-off β€” this one's sourced from ./drivers/media/platform/samsu... (yes it's abbreviated like that, iconic of it honestly) and it's dated October 2026, so yeah, future-fresh ⭐🌈 slay, go write some frames πŸ‘‘

πŸ“¦ where this page comes from