STRUCT RKISP1_CIF_ISP_AWB_GAIN_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for struct rkisp1_cif_isp_awb_gain_config, and it's literally the little config struct that auto white balance gain uses to do its thing πŸŽ€. yes, the header up top is all squished like struct rkis..._gain_config(9) because apparently the man page generator was having a moment 😭 β€” it's the same struct, i promise.


✨ NAME ✨

struct rkisp1_cif_isp_awb_gain_config β€” the configuration used by auto white balance gain πŸ¦‹


🌸 SYNOPSIS 🌸

struct rkisp1_cif_isp_awb_gain_config {
    __u16 gain_red;
    __u16 gain_green_r;
    __u16 gain_blue;
    __u16 gain_green_b;
 };

bestie it's giving four little __u16 fields and they're all about gain πŸ”₯


πŸŽ€ Members πŸŽ€

  • gain_red β€” the gain value for the red component, she's the red one πŸ’…
  • gain_green_r β€” the gain value for the green component in the red line, yes that's a real distinction, iykyk πŸ‘‘
  • gain_blue β€” the gain value for the blue component, blue crew stand up πŸ’™
  • gain_green_b β€” the gain value for the green component in the blue line, sibling of gain_green_r 🌈

πŸ¦‹ Description πŸ¦‹

so here's the vibe check: all fields in this struct are 10 bit ⭐. and 0x100h = 1, it's an unsigned integer value, range 0 to 4 with an 8 bit fractional part. no cap, that's the whole scale 🧚

and the math is literally right here, bestie β€” do not freelance on this one:

out_data_x = ( AWB_GAIN_X * in_data + 128) >> 8

that's the glow-up formula for your data ✨


πŸ’œ SEE ALSO πŸ’œ

the whole friend group shows up here, grab a snack πŸ“:

  • Kernel file ./include/uapi/linux/rkisp1-config.h
  • enum rkisp1_cif_isp_version(9)
  • enum rkisp1_cif_isp_exp_ctrl_autostop(9)
  • enum rkisp1_cif_isp_exp_meas_mode(9)
  • struct rkisp1_cif_isp_window(9)
  • struct rkisp1_cif_isp_bls_fixed_val(9)
  • struct rkisp1_cif_isp_bls_config(9)
  • struct rkisp1_cif_isp_dpcc_methods_config(9)
  • struct rkisp1_cif_isp_dpcc_config(9)
  • struct rkisp1_cif_isp_gamma_corr_curve(9)
  • struct rkisp1_cif_isp_gamma_curve_x_axis_pnts(9)
  • struct rkisp1_cif_isp_sdg_config(9)
  • struct rkisp1_cif_isp_lsc_config(9)
  • struct rkisp1_cif_isp_ie_config(9)
  • struct rkisp1_cif_isp_cproc_config(9)
  • struct rkisp1_cif_isp_awb_meas_config(9)
  • struct rkisp1_cif_isp_flt_config(9)
  • struct rkisp1_cif_isp_bdm_config(9)
  • struct rkisp1_cif_isp_ctk_config(9)
  • struct rkisp1_cif_isp_goc_config(9)
  • struct rkisp1_cif_isp_hst_config(9)
  • struct rkisp1_cif_isp_aec_config(9)
  • struct rkisp1_cif_isp_afc_config(9)
  • enum rkisp1_cif_isp_dpf_gain_usage(9)
  • enum rkisp1_cif_isp_dpf_rb_filtersize(9)
  • enum rkisp1_cif_isp_dpf_nll_scale_mode(9)
  • struct rkisp1_cif_isp_dpf_nll(9)
  • struct rkisp1_cif_isp_dpf_rb_flt(9)
  • struct rkisp1_cif_isp_dpf_g_flt(9)
  • struct rkisp1_cif_isp_dpf_gain(9)
  • struct rkisp1_cif_isp_dpf_config(9)
  • struct rkisp1_cif_isp_dpf_strength_config(9)
  • struct rkisp1_cif_isp_isp_other_cfg(9)
  • struct rkisp1_cif_isp_isp_meas_cfg(9)
  • struct rkisp1_params_cfg(9)
  • struct rkisp1_cif_isp_compand_bls_config(9)
  • struct rkisp1_cif_isp_compand_curve_config(9)
  • struct rkisp1_cif_isp_wdr_tone_curve(9)
  • struct rkisp1_cif_isp_wdr_iref_config(9)
  • struct rkisp1_cif_isp_wdr_config(9)
  • enum rkisp1_cif_isp_cac_v_clip_mode(9)
  • struct rkisp1_cif_isp_cac_config(9)
  • struct rkisp1_cif_isp_awb_meas(9)
  • struct rkisp1_cif_isp_awb_stat(9)
  • struct rkisp1_cif_isp_bls_meas_val(9)
  • struct rkisp1_cif_isp_ae_stat(9)
  • struct rkisp1_cif_isp_af_meas_val(9)
  • struct rkisp1_cif_isp_af_stat(9)
  • struct rkisp1_cif_isp_hist_stat(9)
  • struct rkisp1_cif_isp_stat(9)
  • struct rkisp1_stat_buffer(9)
  • enum rkisp1_ext_params_block_type(9)
  • rkisp1_ext_params_block_header(9) (yes this one has no struct in front, that's just how she is πŸ™ˆ)
  • struct rkisp1_ext_params_bls_config(9)
  • struct rkisp1_ext_params_dpcc_config(9)
  • struct rkisp1_ext_params_sdg_config(9)
  • struct rkisp1_ext_params_lsc_config(9)
  • struct rkisp1_ext_params_awb_gain_config(9)
  • struct rkisp1_ext_params_flt_config(9)
  • struct rkisp1_ext_params_bdm_config(9)
  • struct rkisp1_ext_params_ctk_config(9)
  • struct rkisp1_ext_params_goc_config(9)
  • struct rkisp1_ext_params_dpf_config(9)
  • struct rkisp1_ext_params_dpf_strength_config(9)
  • struct rkisp1_ext_params_cproc_config(9)
  • struct rkisp1_ext_params_ie_config(9)
  • struct rkisp1_ext_params_awb_meas_config(9)
  • struct rkisp1_ext_params_hst_config(9)
  • struct rkisp1_ext_params_aec_config(9)
  • struct rkisp1_ext_params_afc_config(9)
  • struct rkisp1_ext_params_compand_bls_config(9)
  • struct rkisp1_ext_params_compand_curve_config(9)
  • struct rkisp1_ext_params_wdr_config(9)
  • struct rkisp1_ext_params_cac_config(9)
  • enum rkisp1_ext_param_buffer_version(9)
  • struct rkisp1_ext_params_cfg(9)

bestie this is a kernel struct page, so yeah, the SEE ALSO section is basically a whole group chat πŸ’€ but every single one of those is exactly as written, no edits, periodt πŸ’…

okay that's the page!! 🫢 this lil icon was brought to you from ./include/uapi/linux, dated October 2026, and she lives in the Kernel API Manual β€” mwah, bye bestie πŸ˜­πŸ’–

πŸ“¦ where this page comes from