STRUCT PISP_BE_CAC_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 __s8 array 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