STRUCT RKISP1_CIF_ISP_AWB_MEAS_CONFIG(9)
π NAME π
struct rkisp1_cif_isp_awb_meas_config β bestie, this is the Configuration for the AWB statistics. that's it, that's the vibe β¨
(also hi, you're reading the Kernel API Manual, and yes the page header is literally truncated to struct rkis..._meas_config(9) β we don't know her full name either, she's mysterious like that π)
β¨ SYNOPSIS β¨
okay so here's the whole struct, look at her, she's iconic π
struct rkisp1_cif_isp_awb_meas_config {
struct rkisp1_cif_isp_window awb_wnd;
__u32 awb_mode;
__u8 max_y;
__u8 min_y;
__u8 max_csum;
__u8 min_c;
__u8 frames;
__u8 awb_ref_cr;
__u8 awb_ref_cb;
__u8 enable_ymax_cmp;
};
π¦ Members π¦
time to meet the whole squad, one field at a time π«Ά
awb_wndβ the white balance measurement window, measured in pixels. that's the little box where she's allowed to look πawb_modeβ the awb meas mode, fr. it comes fromenum rkisp1_cif_isp_awb_mode_type. pick your fighter πmax_yβ only pixel values <max_ycontribute to the awb measurement. set it to0and this whole feature is disabled, like she's off duty π΄min_yβ only pixel values >min_ycontribute to the awb measurement. gatekeeping, but make it statistics β¨max_csumβ Chrominance sum maximum value. only consider pixels with Cb+Cr smaller than this threshold for awb measurements. it's giving "you must be this short to ride" π’min_cβ Chrominance minimum value. only consider pixels with Cb/Cr each greater than this threshold value for awb measurements. lowkey the opposite vibe ofmax_csumπΈframesβ number of frames minus 1 used for the mean value calculation.ucFrames=0means 1 Frame, no cap. math girlies stay winning π₯awb_ref_crβ reference Cr value for AWB regulation, aka the target for AWB π―awb_ref_cbβ reference Cb value for AWB regulation, also a target for AWB π―enable_ymax_cmpβ enable Y_MAX compare. > heads up bestie: this is Not valid in RGB measurement mode. π so don't come for her if it ghosts you in RGB
π SEE ALSO π
the whole extended friend group, literally the entire /dev group chat π¬
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_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_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)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)
that's the whole page bestie, you ate that π and before you close the tab: this masterpiece lives in ./include/uapi/linux, dated October 2026, and the footer still calls her struct rkis..._meas_config(9) π she's shy. 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