C3_ISP_PARAMS_MAX_SIZE(9)
π C3_ISP_PARAMS_MAX_SIZE π
okay bestie, so this is a page from the Kernel API Manual, section 9 β like, kernel-internals territory. the whole vibe here is C3_ISP_PARAMS_MAX_SIZE. buckle up, it's a short one but it's important β¨
πΈ NAME πΈ
C3_ISP_PARAMS_MAX_SIZE β the Maximum size of all C3 ISP Parameters π no cap, that's literally the whole name. it's the ceiling. the limit. the "how big can this get" of it all.
π¦ SYNOPSIS π¦
C3_ISP_PARAMS_MAX_SIZE
that's it. that's the whole thing. a macro living its best main-character life π
β¨ DESCRIPTION β¨
okay so picture this: the parameters for the C3 ISP get passed in as optional blocks β very choose-your-own-adventure, very flexible, we love that for them π«Ά
BUT. the driver still needs to know the absolute maximum size, because bestieβ¦ it has to allocate a buffer. and that buffer has to be big enough for the worst-case scenario: userspace deciding to set all possible parameters in a single frame π like every single one. all at once. in one frame. feral behavior honestly, but the driver is not about to get caught lacking.
so that's the whole deal β this is the number that says "if someone went absolutely unhinged and set every param, this is how much room you need". allocate accordingly or perish π
π SEE ALSO π
the whole friend group, in the order they appeared π all from the 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)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)struct c3_isp_params_blc(9)struct c3_isp_params_cfg(9)
go read them. all of them. i'll wait π
and that's the tea, bestie π§β¨ this icon came from ./include/uapi/linux/media/aml... (the source path, cute) and it's dated October 2026 β mark your calendars, mwah ππ
π¦ 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