include/uapi/linux/rkisp1-config.h
Source file repositories/reference/linux-study-clean/include/uapi/linux/rkisp1-config.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/linux/rkisp1-config.h- Extension
.h- Size
- 63434 bytes
- Lines
- 1728
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/build_bug.hlinux/types.hlinux/media/v4l2-isp.h
Detected Declarations
struct rkisp1_cif_isp_windowstruct rkisp1_cif_isp_bls_fixed_valstruct rkisp1_cif_isp_bls_configstruct rkisp1_cif_isp_dpcc_methods_configstruct rkisp1_cif_isp_dpcc_configstruct rkisp1_cif_isp_gamma_corr_curvestruct rkisp1_cif_isp_gamma_curve_x_axis_pntsstruct rkisp1_cif_isp_sdg_configstruct rkisp1_cif_isp_lsc_configstruct rkisp1_cif_isp_ie_configstruct rkisp1_cif_isp_cproc_configstruct rkisp1_cif_isp_awb_meas_configstruct rkisp1_cif_isp_awb_gain_configstruct rkisp1_cif_isp_flt_configstruct rkisp1_cif_isp_bdm_configstruct rkisp1_cif_isp_ctk_configstruct rkisp1_cif_isp_goc_configstruct rkisp1_cif_isp_hst_configstruct rkisp1_cif_isp_aec_configstruct rkisp1_cif_isp_afc_configstruct rkisp1_cif_isp_dpf_nllstruct rkisp1_cif_isp_dpf_rb_fltstruct rkisp1_cif_isp_dpf_g_fltstruct rkisp1_cif_isp_dpf_gainstruct rkisp1_cif_isp_dpf_configstruct rkisp1_cif_isp_dpf_strength_configstruct rkisp1_cif_isp_isp_other_cfgstruct rkisp1_cif_isp_isp_meas_cfgstruct rkisp1_params_cfgstruct rkisp1_cif_isp_compand_bls_configstruct rkisp1_cif_isp_compand_curve_configstruct rkisp1_cif_isp_wdr_tone_curvestruct rkisp1_cif_isp_wdr_iref_configstruct rkisp1_cif_isp_wdr_configstruct rkisp1_cif_isp_cac_configstruct rkisp1_cif_isp_awb_measstruct rkisp1_cif_isp_awb_statstruct rkisp1_cif_isp_bls_meas_valstruct rkisp1_cif_isp_ae_statstruct rkisp1_cif_isp_af_meas_valstruct rkisp1_cif_isp_af_statstruct rkisp1_cif_isp_hist_statstruct rkisp1_cif_isp_statstruct rkisp1_stat_bufferstruct rkisp1_ext_params_bls_configstruct rkisp1_ext_params_dpcc_configstruct rkisp1_ext_params_sdg_configstruct rkisp1_ext_params_lsc_config
Annotated Snippet
struct rkisp1_cif_isp_window {
__u16 h_offs;
__u16 v_offs;
__u16 h_size;
__u16 v_size;
};
/**
* struct rkisp1_cif_isp_bls_fixed_val - BLS fixed subtraction values
*
* The values will be subtracted from the sensor
* values. Therefore a negative value means addition instead of subtraction!
*
* @r: Fixed (signed!) subtraction value for Bayer pattern R
* @gr: Fixed (signed!) subtraction value for Bayer pattern Gr
* @gb: Fixed (signed!) subtraction value for Bayer pattern Gb
* @b: Fixed (signed!) subtraction value for Bayer pattern B
*/
struct rkisp1_cif_isp_bls_fixed_val {
__s16 r;
__s16 gr;
__s16 gb;
__s16 b;
};
/**
* struct rkisp1_cif_isp_bls_config - Configuration used by black level subtraction
*
* @enable_auto: Automatic mode activated means that the measured values
* are subtracted. Otherwise the fixed subtraction
* values will be subtracted.
* @en_windows: enabled window
* @bls_window1: Measurement window 1 size
* @bls_window2: Measurement window 2 size
* @bls_samples: Set amount of measured pixels for each Bayer position
* (A, B,C and D) to 2^bls_samples.
* @fixed_val: Fixed subtraction values
*/
struct rkisp1_cif_isp_bls_config {
__u8 enable_auto;
__u8 en_windows;
struct rkisp1_cif_isp_window bls_window1;
struct rkisp1_cif_isp_window bls_window2;
__u8 bls_samples;
struct rkisp1_cif_isp_bls_fixed_val fixed_val;
};
/**
* struct rkisp1_cif_isp_dpcc_methods_config - DPCC methods set configuration
*
* This structure stores the configuration of one set of methods for the DPCC
* algorithm. Multiple methods can be selected in each set (independently for
* the Green and Red/Blue components) through the @method field, the result is
* the logical AND of all enabled methods. The remaining fields set thresholds
* and factors for each method.
*
* @method: Method enable bits (RKISP1_CIF_ISP_DPCC_METHODS_SET_*)
* @line_thresh: Line threshold (RKISP1_CIF_ISP_DPCC_LINE_THRESH_*)
* @line_mad_fac: Line Mean Absolute Difference factor (RKISP1_CIF_ISP_DPCC_LINE_MAD_FAC_*)
* @pg_fac: Peak gradient factor (RKISP1_CIF_ISP_DPCC_PG_FAC_*)
* @rnd_thresh: Rank Neighbor Difference threshold (RKISP1_CIF_ISP_DPCC_RND_THRESH_*)
* @rg_fac: Rank gradient factor (RKISP1_CIF_ISP_DPCC_RG_FAC_*)
*/
struct rkisp1_cif_isp_dpcc_methods_config {
__u32 method;
__u32 line_thresh;
__u32 line_mad_fac;
__u32 pg_fac;
__u32 rnd_thresh;
__u32 rg_fac;
};
/**
* struct rkisp1_cif_isp_dpcc_config - Configuration used by DPCC
*
* Configuration used by Defect Pixel Cluster Correction. Three sets of methods
* can be configured and selected through the @set_use field. The result is the
* logical OR of all enabled sets.
*
* @mode: DPCC mode (RKISP1_CIF_ISP_DPCC_MODE_*)
* @output_mode: Interpolation output mode (RKISP1_CIF_ISP_DPCC_OUTPUT_MODE_*)
* @set_use: Methods sets selection (RKISP1_CIF_ISP_DPCC_SET_USE_*)
* @methods: Methods sets configuration
* @ro_limits: Rank order limits (RKISP1_CIF_ISP_DPCC_RO_LIMITS_*)
* @rnd_offs: Differential rank offsets for rank neighbor difference (RKISP1_CIF_ISP_DPCC_RND_OFFS_*)
*/
struct rkisp1_cif_isp_dpcc_config {
__u32 mode;
__u32 output_mode;
__u32 set_use;
Annotation
- Immediate include surface: `linux/build_bug.h`, `linux/types.h`, `linux/media/v4l2-isp.h`.
- Detected declarations: `struct rkisp1_cif_isp_window`, `struct rkisp1_cif_isp_bls_fixed_val`, `struct rkisp1_cif_isp_bls_config`, `struct rkisp1_cif_isp_dpcc_methods_config`, `struct rkisp1_cif_isp_dpcc_config`, `struct rkisp1_cif_isp_gamma_corr_curve`, `struct rkisp1_cif_isp_gamma_curve_x_axis_pnts`, `struct rkisp1_cif_isp_sdg_config`, `struct rkisp1_cif_isp_lsc_config`, `struct rkisp1_cif_isp_ie_config`.
- Atlas domain: Core OS / Core Kernel Interface.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.