STRUCT PISP_BE_TONEMAP_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct pisp_be_tonemap_config β€” Kernel API Manual, bestie edition ✨

okay so this whole page lives in the Kernel API Manual, and today's main character is struct pisp_be_tonemap_config β€” literally the PiSP Back End Tonemap config πŸŽ€ we're obsessed.


🌸 NAME 🌸

struct pisp_be_tonemap_config β€” PiSP Back End Tonemap config, no cap πŸ’–


✨ SYNOPSIS ✨

struct pisp_be_tonemap_config {
    __u16 detail_constant;
    __u16 detail_slope;
    __u16 iir_strength;
    __u16 strength;
    __u32 lut[PISP_BE_TONEMAP_LUT_SIZE];
 };

like… look at her. five fields. gorgeous. iconic. πŸ’…


🫢 Members 🫢

  • detail_constant β€” the constant value used for the threshold calculation, it's giving "the fixed number in the math" πŸ”₯
  • detail_slope β€” the slope value for the threshold calculation β€” yes bestie, there's a slope involved 🌈
  • iir_strength β€” the relative strength of the IIR filter πŸ¦‹
  • strength β€” the strength factor, periodt ⭐
  • lut β€” the look-up table for the tonemap curve πŸ‘‘ (it's a __u32 array of size PISP_BE_TONEMAP_LUT_SIZE, so plan accordingly πŸ“)

πŸ’œ Description πŸ’œ

Tonemapping configuration. that's the whole vibe β€” it's the struct that holds your tonemap settings, and that's literally all the description you get, so don't come for me 😭


🧚 SEE ALSO 🧚

The kernel file lives at ./include/uapi/linux/media/raspberrypi/pisp_be_config.h β€” go read it, iykyk πŸ’–

and here's the whole friend group, fr fr, all of them linked up:

  • 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_config(9), struct pisp_be_cac_extra(9)
  • struct pisp_be_debin_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)

lowkey the whole squad shows up in this list β€” every single one of them is a real reference, so don't skip any πŸ‘€

and that's the page!! πŸŽ€ source is ./include/uapi/linux/media/ras... (the truncated kernel path, she's shy πŸ™ˆ) and the date is October 2026, so mark your calendar bestie β€” same title on the way out, struct pisp...nemap_config(9), slay πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from