STRUCT GSC_PIX_MIN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct gsc_pix_min(9) β€” welcome to the Kernel API Manual, bestie

okay so picture this: you're deep in the kernel, you're looking at image pixel size limits across all the different IP configurations, and you need to know how small things are allowed to get. that's literally this struct. it's the minimum-size counterpart to struct gsc_pix_max, and she is iconic for it. 🌸


✨ NAME ✨

struct gsc_pix_min β€” the image pixel size limits in various IP configurations, no cap πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

struct gsc_pix_min {
    u16 org_w;
    u16 org_h;
    u16 real_w;
    u16 real_h;
    u16 target_rot_dis_w;
    u16 target_rot_dis_h;
    u16 target_rot_en_w;
    u16 target_rot_en_h;
 };

she's all u16, she's got eight little members, she knows exactly how small she's willing to go πŸ’…


πŸŽ€ MEMBERS πŸŽ€

  • org_w β€” the minimum source pixel width, the floor, the "don't go below this" of source widths 🫢
  • org_h β€” the minimum source pixel height, same energy, but vertical ⭐
  • real_w β€” the minimum input crop pixel width, like the smallest crop you can get away with πŸ’œ
  • real_h β€” the minimum input crop pixel height, the vertical version of that whole situation πŸ¦‹
  • target_rot_dis_w β€” the minimum output scaled pixel height when the rotator is off
  • target_rot_dis_h β€” the minimum output scaled pixel height when the rotator is off
  • target_rot_en_w β€” the minimum output scaled pixel height when the rotator is on
  • target_rot_en_h β€” the minimum output scaled pixel height when the rotator is on
ngl, the _w fields in the original doc are described as "height" too 😭 i'm not making this up, i'm not editing it, i'm just the messenger. that's literally what the manpage says, so that's what you get, fr fr. πŸ’€

🌈 SEE ALSO 🌈

  • 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_m2m_device(9)
  • struct gsc_pix_max(9)
  • struct gsc_driverdata(9)
  • struct gsc_dev(9)
  • struct gsc_ctx(9)

like, go read the whole friend group, they all hang out together in the same header πŸ‘‘


and that's the whole page, bestie!! this little beauty came out of ./drivers/media/platform/samsu... β€” the source line, you know how it is β€” and she's dated October 2026 ✨ mwah, go forth and respect your minimums πŸ§šπŸ’–

πŸ“¦ where this page comes from