STRUCT GSC_PIX_MAX(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms