STRUCT RKISP1_CIF_ISP_GOC_CONFIG(9)
π struct rkisp1_cif_isp_goc_config β from the Kernel API Manual, section 9 π
okay so bestie, you opened the page for struct rkisp1_cif_isp_goc_config, and the manual it lives in is the Kernel API Manual (section 9, the kernel-struct girlies section). we're talking about Gamma Out correction config rn, it's giving "tiny struct, big responsibilities" energy, and honestly? iconic.
β¨ NAME β¨
struct rkisp1_cif_isp_goc_config β the Configuration used by Gamma Out correction. that's literally what it is, no notes π
πΈ SYNOPSIS πΈ
like, here's the whole struct, verbatim, don't touch the formatting bestie:
struct rkisp1_cif_isp_goc_config {
__u32 mode;
__u16 gamma_y[RKISP1_CIF_ISP_GAMMA_OUT_MAX_SAMPLES];
};
π¦ Members π¦
modeβ the goc mode π and it comes fromenum rkisp1_cif_isp_goc_mode, so go check that one out.gamma_yβ the gamma out curve y-axis for all color components. every single one. all of them. she's thorough π
β Description β
okay so here's the nuance, and it's actually lowkey important π the number of entries in gamma_y isn't a fixed number-fixed number β it depends on the hardware revision, as is reported by the hw_revision field of the struct media_device_info that is returned by ioctl MEDIA_IOC_DEVICE_INFO. so like, check your hw rev before you assume anything, fr fr.
- V10 has
RKISP1_CIF_ISP_GAMMA_OUT_MAX_SAMPLES_V10entries π©΅ - V12 has
RKISP1_CIF_ISP_GAMMA_OUT_MAX_SAMPLES_V12entries π - and
RKISP1_CIF_ISP_GAMMA_OUT_MAX_SAMPLESis equal to the maximum of the two π (she's the ceiling, she's the bigger sister, she ate)
π«Ά reminder bestie: don't hardcode the array count off the wrong revision, that's a vibe check you will fail π
π SEE ALSO π
everything adjacent, all of it, in order, because we do not skip entries on this page:
- 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_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)
and that's the whole page bestie, you ate that πβ¨
π sign-off: this gem lives at./include/uapi/linux, dated October 2026, and the page title is (you guessed it)struct rkisp...p_goc_config(9). go be a main character in the kernel, ily π§π
π¦ 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