STRUCT RKISP1_CIF_ISP_AF_STAT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct rkisp1_cif_isp_af_stat β€” from the Kernel API Manual, bestie 🌸

okay so picture this: you're deep in the kernel docs, the Kernel API Manual is open, and you land on struct rkisp1_cif_isp_af_stat(9). don't panic. it's actually so chill. this is the lil struct that holds the auto focus stats, and i'm gonna walk you through it like we're texting at 2am πŸ’…


✨ NAME ✨

struct rkisp1_cif_isp_af_stat β€” the statistics auto focus data container. literally that's its whole job. it holds the numbers. it's giving "quiet kid who does all the group project" energy 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

struct rkisp1_cif_isp_af_stat {
    struct rkisp1_cif_isp_af_meas_val
window[RKISP1_CIF_ISP_AFM_MAX_WINDOWS];
 };

bestie, yes, that line break in the middle is exactly how it's written. we don't fix it, we respect it. it's iconic in its own way πŸ’€

so what you're seeing: a window array of struct rkisp1_cif_isp_af_meas_val, and it's sized by RKISP1_CIF_ISP_AFM_MAX_WINDOWS. that's the whole vibe. that's the entire struct. no cap, it's that simple ✨


πŸŽ€ Members πŸŽ€

  • window β€” the AF measured value of window x. that's it, that's the member. one array, doing its thing, holding the sharpness result for each window. main character energy, honestly πŸ‘‘

πŸ’– Description πŸ’–

okay so the why: the module measures the sharpness in 3 windows of selectable size via register settings (ISP_AFM_*_A/B/C). yes β€” 3 windows. and yes, the size is selectable, and the whole thing is driven by register settings with that ISP_AFM_*_A/B/C pattern β€” keep those registers in mind, iykyk 🌈

so like, AF (auto focus) needs to know how sharp stuff is, right? that's this. sharpness go brrr, stats get collected per window, and it all lands in that window array you just met. obsessed fr 🧚


πŸ”₯ SEE ALSO πŸ”₯

buckle up bestie, this list is long long. like, scroll-for-a-while long. but every single one is here, because we don't skip entries in this house πŸ’œ

  • 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_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_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)
ngl, that's a lot of friends. but they're all part of the same rkisp1 config family, so like… chosen family vibes 🫢

and that's the whole page, bestie!! one struct, one member, 3 windows, sharpness measured via register settings, and a SEE ALSO list longer than my screen time report 😭

sign-off time πŸŽ€ this one comes from the source path ./include/uapi/linux, dated October 2026, living in the Kernel API Manual. slay. periodt. go read rkisp1_cif_isp_af_meas_val(9) next, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from