STRUCT C3_ISP_PARAMS_BLC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct c3_isp_params_blc(9) ✨

okay so this is a page from the Kernel API Manual, section 9 β€” and bestie, it's literally all about the ISP Black Level Correction config πŸ’…


🌸 NAME 🌸

struct c3_isp_params_blc β€” the ISP Black Level Correction configuration, no cap πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct c3_isp_params_blc {
    struct c3_isp_params_block_header header;
    __u16 gr_ofst;
    __u16 r_ofst;
    __u16 b_ofst;
    __u16 gb_ofst;
 };

like, that's the whole vibe right there ✨


πŸ’– Members πŸ’–

  • header β€” the C3 ISP parameters block header, the main character that has to be there 🫢
  • gr_ofst β€” Gr blc offset, in Q4.12 format πŸ‘‘
  • r_ofst β€” R blc offset, also in Q4.12 format ⭐
  • b_ofst β€” B blc offset, yep, Q4.12 format 🌈
  • gb_ofst β€” Gb blc offset, Q4.12 format (notice the original literally writes it as offset(Q4.12 format) with no space before the paren β€” she's quirky like that πŸ™ˆ)

🌟 Description 🌟

This struct is what lets you configure the block level offset for each color channel β€” one offset per channel, all four accounted for πŸ’…

And here's the part you cannot skip, fr fr: header.type should be set to C3_ISP_PARAMS_BLOCK_BLC from :c:type:c3_isp_params_block_type``. That's the vibe check for this block β€” set it or the whole thing is giving wrong-block energy πŸ’€


🧚 SEE ALSO 🧚

so there's a lot of family here, iykyk β€” first up, the kernel file ./include/uapi/linux/media/amlogic/c3-isp-config.h, and then all of these besties:

  • struct c3_isp_awb_zone_stats(9)
  • struct c3_isp_awb_stats(9)
  • struct c3_isp_ae_zone_stats(9)
  • struct c3_isp_ae_stats(9)
  • struct c3_isp_af_zone_stats(9)
  • struct c3_isp_af_stats(9)
  • struct c3_isp_stats_info(9)
  • enum c3_isp_params_buffer_version(9)
  • enum c3_isp_params_block_type(9)
  • c3_isp_params_block_header(9)
  • struct c3_isp_params_awb_gains(9)
  • enum c3_isp_params_awb_tap_points(9)
  • struct c3_isp_params_awb_config(9)
  • enum c3_isp_params_ae_tap_points(9)
  • struct c3_isp_params_ae_config(9)
  • enum c3_isp_params_af_tap_points(9)
  • struct c3_isp_params_af_config(9)
  • struct c3_isp_params_pst_gamma(9)
  • struct c3_isp_params_ccm(9)
  • struct c3_isp_params_csc(9)
  • C3_ISP_PARAMS_MAX_SIZE(9)
  • struct c3_isp_params_cfg(9)

like, the whole group chat showed up πŸ”₯


quick heads up bestie: the source path at the bottom gets cut off in the original as ./include/uapi/linux/media/aml... β€” that's genuinely how it's printed, so don't come for me πŸ™ˆ

and that's the page! sourced from ./include/uapi/linux/media/aml... and dated October 2026 β€” literally from the future, periodt πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from