STRUCT OMAP3ISP_CCDC_BLCOMP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, meet struct omap3isp_ccdc_blcomp β€” it's literally the Black Level Compensation parameters πŸŽ€ (yes, this is from the Linux Kernel API Manual, section 9, and it's the main character of this whole page, no cap πŸ’…).


🌸 SYNOPSIS 🌸

struct omap3isp_ccdc_blcomp {
    __u8 b_mg;
    __u8 gb_g;
    __u8 gr_cy;
    __u8 r_ye;
 };

like, that's the whole struct. four little __u8 besties holding your compensation values 🫢 (and yep, there's that slightly-indented closing brace β€” copying it exactly, iykyk, we don't edit the original πŸ’–).


πŸ’œ Members πŸ’œ

okay so each one of these is a pixel-shade thing and they're all the same vibe, so let's get into it:

  • b_mg β€” the B/Mg pixels value, bestie πŸ¦‹. It's 2's complement, range -128 to +127. That's it, that's the whole personality.
  • gb_g β€” the Gb/G pixels value ✨. Also 2's complement, also -128 to +127. Consistent queen.
  • gr_cy β€” the Gr/Cy pixels value πŸ’…. 2's complement, -128 to +127. slay.
  • r_ye β€” the R/Ye pixels value 🌸. 2's complement, -128 to +127. she ate, honestly.
ngl the "2's complement" thing matters β€” these are signed values riding in an unsigned __u8, so -128 to +127 is the real range. don't forget it fr fr 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

okay so if you wanna go down the rabbit hole (and you do), the kernel file is ./include/uapi/linux/omap3isp.h, and it's friends with literally everyone in the group chat:

  • struct omap3isp_h3a_aewb_config(9)
  • struct omap3isp_stat_data(9)
  • struct omap3isp_ccdc_lsc_config(9)
  • struct omap3isp_ccdc_bclamp(9)
  • struct omap3isp_ccdc_fpc(9)
  • struct omap3isp_prev_hmed(9)
  • struct omap3isp_prev_cfa(9)
  • struct omap3isp_prev_csup(9)
  • struct omap3isp_prev_wbal(9)
  • struct omap3isp_prev_blkadj(9)
  • struct omap3isp_prev_rgbtorgb(9)
  • struct omap3isp_prev_csc(9)
  • struct omap3isp_prev_yclimit(9)
  • struct omap3isp_prev_dcor(9)
  • struct omap3isp_prev_nf(9)
  • struct omap3isp_prev_gtables(9)
  • struct omap3isp_prev_luma(9)
  • struct omap3isp_prev_update_config(9)

and that's the tea β˜• β€” this page came from the ./include/uapi/linux directory, dated October 2026, and it's struct omap3isp_ccdc_blcomp(9) all the way down. go forth and compensate those black levels, bestie, ily πŸ«ΆπŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from