STRUCT RPPX1_AWBG_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct rppx1_awbg_params(9) πŸ’…

okay bestie, this one is straight from the Kernel API Manual, and it's giving white balance, but make it kernel struct. no cap, it's lowkey iconic. πŸ’–


✨ NAME ✨

struct rppx1_awbg_params β€” WB gain configuration. that's the whole vibe, periodt.


πŸŽ€ SYNOPSIS πŸŽ€

struct rppx1_awbg_params {
    struct v4l2_isp_params_block_header header;
    __u32 gain_red;
    __u32 gain_green_r;
    __u32 gain_blue;
    __u32 gain_green_b;
 };

🧩 Members 🧩

  • header β€” block header (type = RPPX1_PARAMS_BLOCK_TYPE_AWBG_PRE1 or type = RPPX1_PARAMS_BLOCK_TYPE_AWBG_PRE2 or type = RPPX1_PARAMS_BLOCK_TYPE_AWBG_POST)
  • gain_red β€” gain for red component, 18-bit (unsigned Q6.12)
  • gain_green_r β€” gain for green component in red lines, 18-bit (unsigned Q6.12)
  • gain_blue β€” gain for blue component, 18-bit (unsigned Q6.12)
  • gain_green_b β€” gain for green component in blue lines, 18-bit (unsigned Q6.12)

🌸 Description 🌸

so the RPP-X1 White Balance Gain module is available in the PRE1 and PRE2 pre-fusion pipes and in the MAIN_POST post-fusion pipe. userspace selects which pipe to operate by setting the header.type field to RPPX1_PARAMS_BLOCK_TYPE_AWBG_PRE1, RPPX1_PARAMS_BLOCK_TYPE_AWBG_PRE2 or RPPX1_PARAMS_BLOCK_TYPE_AWBG_POST. slay. πŸ’…

the White Balance module allows you to specify per-color channel gains, expressed as unsigned fixed-point values as 18 bits unsigned integers in Q6.12 format with a maximum of 63.999. that's the math, bestie, and it ate. πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./include/uapi/linux/media/dreamchip/rppx1-config.h
  • struct rppx1_window(9)
  • enum rppx1_meas_chan(9)
  • enum rppx1_params_block_type(9)
  • enum rppx1_wbmeas_mode(9)
  • struct rppx1_wbmeas_params(9)
  • enum rppx1_exm_mode(9)
  • struct rppx1_exm_params(9)
  • enum rppx1_hist_mode(9)
  • struct rppx1_hist_params(9)
  • struct rppx1_bls_fixed(9)
  • enum rppx1_bls_mode(9)
  • enum rppx1_bls_win_en(9)
  • struct rppx1_bls_params(9)
  • struct rppx1_ccor_params(9)
  • struct rppx1_lsc_params(9)
  • enum rppx1_ga_seg_mode(9)
  • struct rppx1_ga_params(9)
  • struct rppx1_lin_params(9)
  • RPPX1_PARAMS_MAX_SIZE(9)
  • enum rppx1_stats_block_type(9)
  • struct rppx1_wbmeas_stats(9)
  • struct rppx1_exm_stats(9)
  • struct rppx1_hist_stats(9)
  • RPPX1_STATS_MAX_SIZE(9)

made with love from the Kernel API Manual, source ./include/uapi/linux/media/dre..., dated October 2026, and yes we're closing with struct rppx1_awbg_params(9) because main character energy demands it πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from