STRUCT C3_ISP_PARAMS_CCM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct c3_isp_params_ccm(9) β€” like, the CCM config one πŸŽ€

okay bestie, welcome to the Kernel API Manual entry for struct c3_isp_params_ccm β€” this is the ISP CCM configuration struct and she is literally the main character of color correction rn ✨


🌸 NAME 🌸

struct c3_isp_params_ccm β€” ISP CCM configuration πŸ’–


✨ SYNOPSIS ✨

struct c3_isp_params_ccm {
    struct c3_isp_params_block_header header;
    __s16 matrix[3][3];
    __u16 reserved[3];
 };

πŸ¦‹ Members πŸ¦‹

  • header β€” the C3 ISP parameters block header, bestie. every block needs one, it's giving VIP pass 🎟️
  • matrix β€” a 3 x 3 matrix used for color correction, and the value of matrix[x][y] is orig_value x 256. range is [-4096..4095] β€” stay in your lane or else 😭
  • reserved β€” applications must zero this array. no cap, zero it. πŸ™ˆ

πŸ’œ Description πŸ’œ

so this struct is how you configure the matrix for color correction, fr fr. the matrix consists of 3 x 3 points, so you need to set matrix[3][3] β€” all nine of them, slay πŸ‘‘

and listen: header.type should be set to C3_ISP_PARAMS_BLOCK_CCM from c3_isp_params_block_type 🫢 like, don't forget, that's the whole vibe check for the block type.


🌈 SEE ALSO 🌈

Kernel file ./include/uapi/linux/media/amlogic/c3-isp-config.h plus the whole friend group πŸ‘―β€β™€οΈ:

  • 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_csc(9)
  • struct c3_isp_params_blc(9)
  • C3_ISP_PARAMS_MAX_SIZE(9)
  • struct c3_isp_params_cfg(9)

🫢 nice work babe, that's the whole page. go forth and correct those colors πŸ’…

and yeah β€” this one came out of ./include/uapi/linux/media/aml..., dated October 2026, and it's the struct c3_isp_params_ccm(9) page. mwah πŸ’‹ bye bestie! πŸŽ€

πŸ“¦ where this page comes from