STRUCT RKISP1_CIF_ISP_LSC_CONFIG(9)
π struct rkisp1_cif_isp_lsc_config (9) π
okay so bestie, welcome to the Kernel API Manual β yes, that's the manual name, and yes, we're reading kernel headers together like it's a group chat at 2am π«Ά this one's a struct, it lives in ./include/uapi/linux/rkisp1-config.h, and it is literally the configuration used by Lens shading correction. lens shading?? like when your camera pic is dark in the corners and the vibes are uneven?? yeah, this struct is the fix. iconic behavior honestly π
β¨ NAME β¨
struct rkisp1_cif_isp_lsc_config β the configuration used by Lens shading correction. that's it, that's the whole name section, she's concise π
π¦ SYNOPSIS π¦
struct rkisp1_cif_isp_lsc_config {
__u16
r_data_tbl[RKISP1_CIF_ISP_LSC_SAMPLES_MAX][RKISP1_CIF_ISP_LSC_SAMPLES_MAX];
__u16
gr_data_tbl[RKISP1_CIF_ISP_LSC_SAMPLES_MAX][RKISP1_CIF_ISP_LSC_SAMPLES_MAX];
__u16
gb_data_tbl[RKISP1_CIF_ISP_LSC_SAMPLES_MAX][RKISP1_CIF_ISP_LSC_SAMPLES_MAX];
__u16
b_data_tbl[RKISP1_CIF_ISP_LSC_SAMPLES_MAX][RKISP1_CIF_ISP_LSC_SAMPLES_MAX];
__u16 x_grad_tbl[RKISP1_CIF_ISP_LSC_SECTORS_TBL_SIZE];
__u16 y_grad_tbl[RKISP1_CIF_ISP_LSC_SECTORS_TBL_SIZE];
__u16 x_size_tbl[RKISP1_CIF_ISP_LSC_SECTORS_TBL_SIZE];
__u16 y_size_tbl[RKISP1_CIF_ISP_LSC_SECTORS_TBL_SIZE];
__u16 config_width;
__u16 config_height;
};
look at her. ten members. all __u16. no cap, every single one is an unsigned 16-bit lil guy πΈ
π Members π
the glow-up tour, field by field, no skipping, we do not skip in this house β¨
r_data_tblβ sample table red. that's the red samples, bestie π΄gr_data_tblβ sample table green (red). green-red, iykyk π’gb_data_tblβ sample table green (blue). green-blue, the other green π’b_data_tblβ sample table blue. blue samples, blue like your fave's text bubbles π΅x_grad_tblβ gradient table x. the gradient, but horizontal π«y_grad_tblβ gradient table y. the gradient, but vertical π«x_size_tblβ size table x. horizontal sizes, queen of widths πy_size_tblβ size table y. vertical sizes, equally queen πconfig_widthβ not used at the moment. she's sitting there, being decorative, we respect her anyway πconfig_heightβ not used at the moment. matching energy, also decorative, also respected π
lowkey the four*_data_tblones are[RKISP1_CIF_ISP_LSC_SAMPLES_MAX][RKISP1_CIF_ISP_LSC_SAMPLES_MAX]β that's a 2D table, not a vibe, an entire grid, and the fourx_grad_tbl/y_grad_tbl/x_size_tbl/y_size_tblones are[RKISP1_CIF_ISP_LSC_SECTORS_TBL_SIZE]. keep those macros exactly as-is, do not touch, they are not decorative π
π₯ SEE ALSO π₯
bestie this list is long but we are getting through all of it, grab a snack π
Kernel file ./include/uapi/linux/rkisp1-config.h, plus:
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_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_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).
not me reading that entire list out loud like a roll call π but every single one of them is in the index, no cap, no omissions, we ate π₯
and that's the page bestie!! πβ¨ this one came from the source path ./include/uapi/linux and it's dated October 2026 β so yeah, screenshot it before the future changes it, mwah πππ¦πΈπ
π¦ 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