STRUCT GSC_SCALER(9)
πΈ struct gsc_scaler(9) πΈ
okay bestie, gather round, because this is a page from the Kernel API Manual, section 9 β the kernel API one β and it's all about struct gsc_scaler. Think of it as the little vibe board that holds the configuration data for the G-Scaler inetrnal scaler π«Ά (yes, that's literally how the page spells "internal", and honestly? iconic. we respect the typo era π
).
β¨ NAME β¨
struct gsc_scaler β the configuration data for G-Scaler inetrnal scaler π
π¦ SYNOPSIS π¦
struct gsc_scaler {
u32 pre_shfactor;
u32 pre_hratio;
u32 pre_vratio;
u32 main_hratio;
u32 main_vratio;
};
that's the whole struct, no cap. five u32 fields, all in a row, all vibing β¨
π Members π
pre_shfactorβ pre sclaer shift factor πΈ (the shift factor for the prescaler β and again, the page's spelling, not mine, we stan)pre_hratioβ horizontal ratio of the prescaler π«pre_vratioβ vertical ratio of the prescaler πmain_hratioβ the main scaler's horizontal ratio π₯main_vratioβ the main scaler's vertical ratio β
so basically: prescaler gets a shift factor + an h-ratio + a v-ratio, and the main scaler gets its own h-ratio + v-ratio. two ratios for the prescaler, two for the main scaler, one shift factor, done. slay π―
π SEE ALSO π
kernel file ./drivers/media/platform/samsung/exynos-gsc/gsc-core.h, plus the whole friend group of sibling symbols β these ones literally:
enum gsc_datapath(9)struct gsc_fmt(9)struct gsc_input_buf(9)struct gsc_addr(9)struct gsc_frame(9)struct gsc_m2m_device(9)struct gsc_pix_max(9)struct gsc_pix_min(9)struct gsc_driverdata(9)struct gsc_dev(9)struct gsc_ctx(9)
go read those next, bestie, iykyk ππ
ngl there's nothing dangerous on this page β it's a struct definition, the chillest kind of manpage. no undefined behaviour, no deprecation drama, just fields. main character energy but make it boring-safe π§
okay that's the page!! mwah π this one came to you from the Kernel API Manual, section 9, source ./drivers/media/platform/samsu..., dated October 2026, and the footer was literally just struct gsc_scaler(9) again so we're bringing it full circle β bye bestie, go compile something π¦πβ¨
π¦ 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