STRUCT PISP_BE_CAC_CONFIG(9)
πΈ struct pisp_be_cac_config(9) β the Kernel API Manual, bestie edition πΈ
Okay so we're deep in the Linux kernel API manual today and the star of the show is struct pisp_be_cac_config, aka the PiSP Back End CAC config. Cuuute. Let's get into it π
β¨ NAME β¨
struct pisp_be_cac_config β the PiSP Back End CAC config, periodt π
β¨ SYNOPSIS β¨
Here's the whole vibe, verbatim, no cap:
struct pisp_be_cac_config {
__u16 grid_step_x;
__u16 grid_step_y;
#define PISP_BE_CAC_LUT_SIZE (PISP_BE_CAC_GRID_SIZE + 1);
__s8 lut[PISP_BE_CAC_LUT_SIZE][PISP_BE_CAC_LUT_SIZE][2][2];
};
Look at that nested little LUT, it's giving four-dimensional icon behavior π₯
π Members π
grid_step_xβ the reciprocal of the cell size width. yep, reciprocal, not the width itself, don't come for me π«Άgrid_step_yβ the reciprocal of the cell size height. same energy, other axis πlutβ the pixel shift for the CAC grid. that's the big__s8array up there doing the real main character work π
π Description π
It's the Chromatic Aberration Correction config π that's it, that's the description. Short, sweet, iconic. Chromatic aberration? corrected. slay.
ngl the whole struct exists so the CAC block knows its grid steps and its pixel-shift lookup table β and if the source says anything more than that, it's not telling us π€·ββοΈ
π¦ SEE ALSO π¦
The whole friend group, in order, all of them, no one left out π
- Kernel file
./include/uapi/linux/media/raspberrypi/pisp_be_config.h struct pisp_be_global_config(9)struct pisp_be_input_buffer_config(9)struct pisp_be_dpc_config(9)struct pisp_be_geq_config(9)struct pisp_be_tdn_input_buffer_config(9)struct pisp_be_tdn_config(9)struct pisp_be_tdn_output_buffer_config(9)struct pisp_be_sdn_config(9)struct pisp_be_stitch_input_buffer_config(9)struct pisp_be_stitch_config(9)struct pisp_be_stitch_output_buffer_config(9)struct pisp_be_cdn_config(9)struct pisp_be_lsc_config(9)struct pisp_be_lsc_extra(9)struct pisp_be_cac_extra(9)struct pisp_be_debin_config(9)struct pisp_be_tonemap_config(9)struct pisp_be_demosaic_config(9)struct pisp_be_ccm_config(9)struct pisp_be_sat_control_config(9)struct pisp_be_false_colour_config(9)struct pisp_be_sharpen_config(9)struct pisp_be_sh_fc_combine_config(9)struct pisp_be_gamma_config(9)struct pisp_be_crop_config(9)struct pisp_be_resample_config(9)struct pisp_be_resample_extra(9)struct pisp_be_downscale_config(9)struct pisp_be_downscale_extra(9)struct pisp_be_hog_config(9)enum pisp_be_transform(9)struct pisp_be_output_buffer_config(9)struct pisp_be_hog_buffer_config(9)struct pisp_be_config(9)enum pisp_tile_edge(9)struct pisp_tile(9)struct pisp_be_tiles_config(9)
That's the whole page, bestie, you ate it π
β¨ This one's from the source path ./include/uapi/linux/media/ras..., dated October 2026, and it lives under the name struct pisp_be_cac_config(9) β go forth and configure your chromatic aberration correction with confidence ππ«Άπ
π¦ 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