ENUM C3_ISP_PARAMS_BLOCK_TYPE(9)
π enum c3_isp_params_block_type(9) β the glow-up
okay so this is from the Kernel API Manual, and bestie it is literally the cheat sheet for telling the C3 ISP driver which parameter block is which. no cap, it's a whole enum and it ate. β¨
β¨ NAME β¨
enum c3_isp_params_block_type β the enumeration of C3 ISP parameter blocks π
π¦ SYNOPSIS π¦
enum c3_isp_params_block_type {
C3_ISP_PARAMS_BLOCK_AWB_GAINS ,
C3_ISP_PARAMS_BLOCK_AWB_CONFIG ,
C3_ISP_PARAMS_BLOCK_AE_CONFIG ,
C3_ISP_PARAMS_BLOCK_AF_CONFIG ,
C3_ISP_PARAMS_BLOCK_PST_GAMMA ,
C3_ISP_PARAMS_BLOCK_CCM ,
C3_ISP_PARAMS_BLOCK_CSC ,
C3_ISP_PARAMS_BLOCK_BLC ,
C3_ISP_PARAMS_BLOCK_SENTINEL
};
like yes the blank line before the closing brace is supposed to be there, we don't question the kernel's aesthetic choices π
πΈ Constants πΈ
each of these is a little icon in the group chat, bestie β here's who's who:
C3_ISP_PARAMS_BLOCK_AWB_GAINSβ white balance gains πC3_ISP_PARAMS_BLOCK_AWB_CONFIGβ the AWB statistic format configuration, and it covers all the blocks that control how stats are generated π₯C3_ISP_PARAMS_BLOCK_AE_CONFIGβ the AE statistic format configuration, again for all the blocks that control how stats are generated πC3_ISP_PARAMS_BLOCK_AF_CONFIGβ the AF statistic format configuration, same deal, all the blocks that control how stats are generated βC3_ISP_PARAMS_BLOCK_PST_GAMMAβ post gamma parameters πC3_ISP_PARAMS_BLOCK_CCMβ color correction matrix parameters πC3_ISP_PARAMS_BLOCK_CSCβ color space conversion parameters π¦C3_ISP_PARAMS_BLOCK_BLCβ black level correction parameters πC3_ISP_PARAMS_BLOCK_SENTINELβ the first non-valid block index π (she's the boundary, the end of the line, the "you shall not pass")
π Description π
so the vibe here is: every single block configures one specific processing block of the C3 ISP. that's it, that's the tweet. and the block type is what lets the driver correctly interpret the parameters block data β without it the driver would be out here guessing and we simply do not do guessing in this house π
periodt. π«Ά
π SEE ALSO π
go read these, iykyk, they're all part of the same friend group:
- Kernel file
./include/uapi/linux/media/amlogic/c3-isp-config.h 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)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)struct c3_isp_params_blc(9)C3_ISP_PARAMS_MAX_SIZE(9)struct c3_isp_params_cfg(9)
ngl the whole thing lives under ./include/uapi/linux/media/aml... and it's dated October 2026 β so yeah, this page got dragged into the future and she's thriving π
β¨ mwah, go read your headers bestie, ily π«Άπ
π¦ 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