STRUCT GSC_PIX_MAX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct gsc_pix_max(9) β€” the Kernel API Manual, but make it cute

okay so bestie, welcome to struct gsc_pix_max(9) β€” this is the page about image pixel size limits in various IP configurations. that's it, that's the vibe. it's the little struct that tells you how big a picture is allowed to get depending on which blocks of the pipeline are switched on. slay. πŸŽ€


✨ SYNOPSIS ✨

here's the whole glow-up, exactly as declared:

struct gsc_pix_max {
    u16 org_scaler_bypass_w;
    u16 org_scaler_bypass_h;
    u16 org_scaler_input_w;
    u16 org_scaler_input_h;
    u16 real_rot_dis_w;
    u16 real_rot_dis_h;
    u16 real_rot_en_w;
    u16 real_rot_en_h;
    u16 target_rot_dis_w;
    u16 target_rot_dis_h;
    u16 target_rot_en_w;
    u16 target_rot_en_h;
 };

twelve u16s and every single one of them is a max-pixel budget for a different configuration. no cap, it's giving "spreadsheet of limits but make it hardware." πŸ’€


🌸 Members 🌸

okay so let's go through the cast, one icon at a time:

  • org_scaler_bypass_w β€” max pixel width when the scaler is disabled 🚫
  • org_scaler_bypass_h β€” max pixel height when the scaler is disabled 🚫
  • org_scaler_input_w β€” max pixel width when the scaler is enabled βœ…
  • org_scaler_input_h β€” max pixel height when the scaler is enabled βœ…
  • real_rot_dis_w β€” max pixel src cropped height with the rotator is off πŸŒ€
ngl bestie, yes, the _w one says "height" β€” that's literally what the page says, so i'm not gonna gaslight you and change it. iykyk. πŸ‘€
  • real_rot_dis_h β€” max pixel src cropped width with the rotator is off πŸŒ€
  • real_rot_en_w β€” max pixel src cropped width with the rotator is on πŸ”„
  • real_rot_en_h β€” max pixel src cropped height with the rotator is on πŸ”„
  • target_rot_dis_w β€” max pixel dst scaled width with the rotator is off 🎯
  • target_rot_dis_h β€” max pixel dst scaled height with the rotator is off 🎯
  • target_rot_en_w β€” max pixel dst scaled width with the rotator is on 🎯
  • target_rot_en_h β€” max pixel dst scaled height with the rotator is on 🎯

periodt. twelve members, twelve limits, zero skips. you're so welcome. πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

go touch grass in the kernel file ./drivers/media/platform/samsung/exynos-gsc/gsc-core.h, and then go say hi to all these besties:

  • 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_m2m_device(9)
  • struct gsc_pix_min(9) β€” yes, the min one, its sibling, the loml 🫢
  • struct gsc_driverdata(9)
  • struct gsc_dev(9)
  • struct gsc_ctx(9)

🧚 a lil heads-up: this struct only describes the limits, it doesn't enforce anything by itself β€” that's somebody else's main character energy.

and that's the whole page, bestie!! 🌈 source/version is ./drivers/media/platform/samsu... and the date on this masterpiece is October 2026 β€” mwah, iconic, no notes. βœ¨πŸ’…πŸ“

πŸ“¦ where this page comes from