STRUCT GSC_M2M_DEVICE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… STRUCT GSC_M2M_DEVICE(9) ✨

okay so bestie, welcome to the struct gsc_m2m_device page, straight out of the Kernel API Manual, section 9 β€” yes, that's the kernel section, we're fancy here πŸŽ€


🌸 NAME 🌸

struct gsc_m2m_device β€” the v4l2 memory-to-memory device data, aka the little struct that holds all the m2m vibes πŸ¦‹


✨ SYNOPSIS ✨

here's the whole glow-up, character for character, no edits (we don't do that here):

struct gsc_m2m_device {
    struct video_device     *vfd;
    struct v4l2_m2m_dev     *m2m_dev;
    struct gsc_ctx          *ctx;
    int refcnt;
 };

🫢 MEMBERS 🫢

every field is a main character, let's meet them:

  • vfd β€” the video device node for v4l2 m2m mode. this is the actual node bestie, the thing userspace talks to πŸ’–
  • m2m_dev β€” v4l2 memory-to-memory device data. literally the m2m core's own data, held right here πŸ”₯
  • ctx β€” hardware context data. the hardware's own context situation, living its life 🧚
  • refcnt β€” the reference counter. keeping track of who's holding on, no cap ⭐

πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, iykyk β€” all of them, we're not skipping:

  • Kernel file ./drivers/media/platform/samsung/exynos-gsc/gsc-core.h
  • enum gsc_datapath(9)
  • struct gsc_fmt(9)
  • struct gsc_input_buf(9)
  • struct gsc_addr(9)
  • struct gsc_scaler(9)
  • struct gsc_frame(9)
  • struct gsc_pix_max(9)
  • struct gsc_pix_min(9)
  • struct gsc_driverdata(9)
  • struct gsc_dev(9)
  • struct gsc_ctx(9)

lowkey important: this page is generated from ./drivers/media/platform/samsung/exynos-gsc/gsc-core.h β€” the footer shows the path a lil cut off as ./drivers/media/platform/samsu... β€” and it's dated October 2026 πŸ“…

and that's the whole page bestie, slay, periodt πŸ’…βœ¨ β€” signed off from the kernel docs, source ./drivers/media/platform/samsung/exynos-gsc/gsc-core.h, October 2026, page struct gsc_m2m_device(9) πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from