STRUCT PISP_BE_STITCH_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct pisp_be_stitch_config(9) ✨

okay so bestie, welcome to the Kernel API Manual entry for struct pisp_be_stitch_config(9) β€” yes that's the actual page title, and yes it's a whole vibe. this is the part of the PiSP Back End where the stitch block gets configured, and we're gonna get into it. grab a strawberry πŸ“


🌸 NAME 🌸

struct pisp_be_stitch_config β€” PiSP Back End Stitch config. that's the whole name, no crumbs left behind, periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the struct in all her main character glory, copied exactly, no cap:

struct pisp_be_stitch_config {
    __u16 threshold_lo;
    __u8 threshold_diff_power;
    __u8 pad;
    __u16 exposure_ratio;
    __u8 motion_threshold_256;
    __u8 motion_threshold_recip;
};

she's small, she's tidy, she has padding. iconic behavior honestly πŸ’…


πŸŽ€ Members πŸŽ€

okay field-by-field, let's go:

  • threshold_lo β€” the low threshold value. that's it, that's the field, she's the low one πŸ’–
  • threshold_diff_power β€” the difference between the low and high threshold. so like, how far apart the two thresholds are chillin'.
  • pad β€” padding bytes πŸ™ˆ literally just padding, doing absolutely nothing, living her best life so the struct lines up right.
  • exposure_ratio β€” the multiplier that converts long exposure pixels into short exposure pixels. math but make it fashion ✨
  • motion_threshold_256 β€” the motion threshold; above this value, short exposure pixels get used. so cross that line and it's short-exposure o'clock ⭐
  • motion_threshold_recip β€” the reciprocal of the motion_threshold_256 value. yep, the flip side of the same coin πŸͺ™

🧚 Description 🧚

Stitch block configuration. short and sweet, just like the manpage said. it's giving "she said what she said" and honestly, respect. πŸ‘‘


🌈 SEE ALSO 🌈

bestie there are SO many siblings, it's a whole family reunion. first up, the actual kernel file where this lives:

  • ./include/uapi/linux/media/raspberrypi/pisp_be_config.h

and now the extended friend group, in order, no one left out:

  • 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_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_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)

like I said. huge family. lowkey obsessed 🫢


ngl bestie, this page is short but she ate. read the sibling pages too if you wanna understand the whole pipeline, iykyk πŸ’œ

and that's the tea πŸŽ€ this came from the kernel header path ./include/uapi/linux/media/raspberrypi/pisp_be_config.h (the source line got a lil truncated in the footer, we don't gatekeep), and the page is dated October 2026. bye bestie, slay your config πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from