STRUCT C3_ISP_PARAMS_CCM(9)
π 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 ofmatrix[x][y]isorig_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms