STRUCT FIMC_VARIANT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct fimc_variant(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” today's main character is struct fimc_variant, and it's literally the little cheat-sheet that tells you what a given FIMC device variant can and can't do. no cap.


🌸 NAME 🌸

struct fimc_variant β€” FIMC device variant information πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct fimc_variant {
    unsigned int    has_inp_rot:1;
    unsigned int    has_out_rot:1;
    unsigned int    has_mainscaler_ext:1;
    unsigned int    has_cam_if:1;
    unsigned int    has_isp_wb:1;
    const struct fimc_pix_limit *pix_limit;
    u16 min_inp_pixsize;
    u16 min_out_pixsize;
    u16 hor_offs_align;
    u16 min_vsize_align;
 };

look at her. a whole vibe check for a hardware revision πŸ’…


πŸ’œ Members πŸ’œ

  • has_inp_rot β€” set if has input rotator πŸ”„
  • has_out_rot β€” set if has output rotator πŸ”„
  • has_mainscaler_ext β€” 1 if extended mainscaler ratios in the CIEXTEN register are present in this IP revision πŸ‘‘
  • has_cam_if β€” set if this instance has a camera input interface πŸ“·
  • has_isp_wb β€” set if this instance has ISP writeback input ✨
  • pix_limit β€” pixel size constraints for the scaler πŸ“
  • min_inp_pixsize β€” minimum input pixel size πŸ“
  • min_out_pixsize β€” minimum output pixel size πŸ“
  • hor_offs_align β€” horizontal pixel offset alignment 🎯
  • min_vsize_align β€” minimum vertical pixel size alignment 🎯

🌈 SEE ALSO 🌈

kernel file ./drivers/media/platform/samsung/exynos4-is/fimc-core.h β€” that's where the real lore lives, iykyk πŸ“–

and the whole friend group, fr fr:


ngl, that's the whole page β€” every bit flag, every constraint, every alignment value. nothing skipped, bestie. periodt. 🫢

and that's a wrap on this one, mwah πŸ’‹ β€” brought to you by ./drivers/media/platform/samsu..., dated October 2026, and filed under struct fimc_variant(9) forever and ever. slay 🌟

πŸ“¦ where this page comes from