C3_ISP_PARAMS_MAX_SIZE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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