STRUCT RKISP1_CIF_ISP_WDR_IREF_CONFIG(9)
π struct rkisp1_cif_isp_wdr_iref_config(9) β the Kernel API Manual glow-up π
okay so bestie, we're in the Kernel API Manual today and the star of the show is struct rkisp1_cif_isp_wdr_iref_config β literally the Illumination reference config for WDR β¨ like that's her whole job and she ate π
πΈ NAME πΈ
struct rkisp1_cif_isp_wdr_iref_config β Illumination reference config for WDR. no cap, that's the entire vibe π¦
β¨ SYNOPSIS β¨
struct rkisp1_cif_isp_wdr_iref_config {
__u8 rgb_factor;
__u8 use_y9_8;
__u8 use_rgb7_8;
__u8 disable_transient;
};
four little __u8 besties, all in a row, all iconic π
π Members π
rgb_factorβ this one defines how much influence the RGBmax approach has in comparison to Y (valid values are 0..8). so like, how much RGB is pulling up to the function vs. how much Y is just standing there π«Άuse_y9_8β use Y*9/8 for maximum value calculation along with the default of R, G, B for noise reduction π₯use_rgb7_8β decrease RGBMax by 7/8 for noise reduction. she's doing less, but make it noise reduction πdisable_transientβ disable transient calculation between Y and RGBY_max. it's giving "turn off the drama" π
π Description π
so instead of ONLY using the luminance (Y) value for tone mapping and gain calculations, you use the illumination reference value as described below β main character energy fr fr π
IRef = (rgb_factor * RGBMax_tr + (8 - rgb_factor) * Y)/8
that's the whole formula, copied exactly, no notes, she's perfect π
π¦ SEE ALSO π¦
okay this part is LONG but we don't skip, we never skip, every single one is here and every single one matters π
- 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_awb_gain_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_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)- 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)
like I said. every. single. one. π slay.
and that's the whole read, bestie β nothing dangerous in here, just a struct doing her little WDR thing π§
mwah π this page lives in ./include/uapi/linux and it's dated October 2026, signed off by struct rkis..._iref_config(9) herself β periodt. πβ¨
π¦ 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