include/uapi/linux/media/raspberrypi/pisp_be_config.h
Source file repositories/reference/linux-study-clean/include/uapi/linux/media/raspberrypi/pisp_be_config.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/linux/media/raspberrypi/pisp_be_config.h- Extension
.h- Size
- 31101 bytes
- Lines
- 970
- 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/types.hpisp_common.h
Detected Declarations
struct pisp_be_global_configstruct pisp_be_input_buffer_configstruct pisp_be_dpc_configstruct pisp_be_geq_configstruct pisp_be_tdn_input_buffer_configstruct pisp_be_tdn_configstruct pisp_be_tdn_output_buffer_configstruct pisp_be_sdn_configstruct pisp_be_stitch_input_buffer_configstruct pisp_be_stitch_configstruct pisp_be_stitch_output_buffer_configstruct pisp_be_cdn_configstruct pisp_be_lsc_configstruct pisp_be_lsc_extrastruct pisp_be_cac_configstruct pisp_be_cac_extrastruct pisp_be_debin_configstruct pisp_be_tonemap_configstruct pisp_be_demosaic_configstruct pisp_be_ccm_configstruct pisp_be_sat_control_configstruct pisp_be_false_colour_configstruct pisp_be_sharpen_configstruct pisp_be_sh_fc_combine_configstruct pisp_be_gamma_configstruct pisp_be_crop_configstruct pisp_be_resample_configstruct pisp_be_resample_extrastruct pisp_be_downscale_configstruct pisp_be_downscale_extrastruct pisp_be_hog_configstruct pisp_be_axi_configstruct pisp_be_output_format_configstruct pisp_be_output_buffer_configstruct pisp_be_hog_buffer_configstruct pisp_be_configstruct pisp_tilestruct pisp_be_tiles_configenum pisp_be_bayer_enableenum pisp_be_rgb_enableenum pisp_be_dirtyenum pisp_be_transformenum pisp_tile_edge
Annotated Snippet
struct pisp_be_global_config {
__u32 bayer_enables;
__u32 rgb_enables;
__u8 bayer_order;
__u8 pad[3];
} __attribute__((packed));
/**
* struct pisp_be_input_buffer_config - PiSP Back End input buffer
* @addr: Input buffer address
*/
struct pisp_be_input_buffer_config {
/* low 32 bits followed by high 32 bits (for each of up to 3 planes) */
__u32 addr[3][2];
} __attribute__((packed));
/**
* struct pisp_be_dpc_config - PiSP Back End DPC config
*
* Defective Pixel Correction configuration
*
* @coeff_level: Coefficient for the darkest neighbouring pixel value
* @coeff_range: Coefficient for the range of pixels for this Bayer channel
* @pad: Padding byte
* @flags: DPC configuration flags
*/
struct pisp_be_dpc_config {
__u8 coeff_level;
__u8 coeff_range;
__u8 pad;
#define PISP_BE_DPC_FLAG_FOLDBACK 1
__u8 flags;
} __attribute__((packed));
/**
* struct pisp_be_geq_config - PiSP Back End GEQ config
*
* Green Equalisation configuration
*
* @offset: Offset value for threshold calculation
* @slope_sharper: Slope/Sharper configuration
* @min: Minimum value the threshold may have
* @max: Maximum value the threshold may have
*/
struct pisp_be_geq_config {
__u16 offset;
#define PISP_BE_GEQ_SHARPER (1U << 15)
#define PISP_BE_GEQ_SLOPE ((1 << 10) - 1)
/* top bit is the "sharper" flag, slope value is bottom 10 bits */
__u16 slope_sharper;
__u16 min;
__u16 max;
} __attribute__((packed));
/**
* struct pisp_be_tdn_input_buffer_config - PiSP Back End TDN input buffer
* @addr: TDN input buffer address
*/
struct pisp_be_tdn_input_buffer_config {
/* low 32 bits followed by high 32 bits */
__u32 addr[2];
} __attribute__((packed));
/**
* struct pisp_be_tdn_config - PiSP Back End TDN config
*
* Temporal Denoise configuration
*
* @black_level: Black level value subtracted from pixels
* @ratio: Multiplier for the LTA input frame
* @noise_constant: Constant offset value used in noise estimation
* @noise_slope: Noise estimation multiplier
* @threshold: Threshold for TDN operations
* @reset: Disable TDN operations
* @pad: Padding byte
*/
struct pisp_be_tdn_config {
__u16 black_level;
__u16 ratio;
__u16 noise_constant;
__u16 noise_slope;
__u16 threshold;
__u8 reset;
__u8 pad;
} __attribute__((packed));
/**
* struct pisp_be_tdn_output_buffer_config - PiSP Back End TDN output buffer
* @addr: TDN output buffer address
*/
Annotation
- Immediate include surface: `linux/types.h`, `pisp_common.h`.
- Detected declarations: `struct pisp_be_global_config`, `struct pisp_be_input_buffer_config`, `struct pisp_be_dpc_config`, `struct pisp_be_geq_config`, `struct pisp_be_tdn_input_buffer_config`, `struct pisp_be_tdn_config`, `struct pisp_be_tdn_output_buffer_config`, `struct pisp_be_sdn_config`, `struct pisp_be_stitch_input_buffer_config`, `struct pisp_be_stitch_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.