ENUM MALI_C55_AWB_STATS_MODE(9)
π enum mali_c55_awb_stats_mode(9) β¨
okay so bestie, welcome to the Kernel API Manual π β yes that's the manual name, and yes we're reading a manpage together, it's giving study date but make it iconic. The page header up top is literally enum mali_c5...b_stats_mode(9) (they truncated it, rude, but whatever) and the full name is right below π
πΈ NAME πΈ
enum mali_c55_awb_stats_mode β the statistics mode for AWB π (AWB = auto white balance, and this enum is literally the vibe check that tells the hardware which ratios to collect, no cap)
β¨ SYNOPSIS β¨
enum mali_c55_awb_stats_mode {
MALI_C55_AWB_MODE_GRBR ,
MALI_C55_AWB_MODE_RGBG
};
that's the whole thing, that's the enum, she's short and she's perfect π«Ά (and yeah, the trailing comma after MALI_C55_AWB_MODE_RGBG is literally in the source, we respect it, periodt)
π¦ Constants π¦
MALI_C55_AWB_MODE_GRBRβ statistics get collected as Green/Red and Blue/Red ratios π like, G/R and B/R, that's the whole personalityMALI_C55_AWB_MODE_RGBGβ statistics get collected as Red/Green and Blue/Green ratios π₯ so R/G and B/G this time, same energy different denominator bestie
lowkey the only difference between the two modes is which channel goes on top of the fraction, but that's exactly the kind of detail that matters, so like, don't sleep on it π
π SEE ALSO π
bestie there is a whole friend group here, and they all live in the kernel file ./include/uapi/linux/media/arm/mali-c55-config.h π β go say hi to all of them:
struct mali_c55_ae_1024bin_hist(9)struct mali_c55_ae_5bin_hist(9)struct mali_c55_awb_average_ratios(9)struct mali_c55_af_statistics(9)struct mali_c55_stats_buffer(9)enum mali_c55_param_block_type(9)struct mali_c55_params_sensor_off_preshading(9)enum mali_c55_aexp_hist_tap_points(9)enum mali_c55_aexp_skip_x(9)enum mali_c55_aexp_skip_y(9)enum mali_c55_aexp_row_column_offset(9)enum mali_c55_aexp_hist_plane_mode(9)struct mali_c55_params_aexp_hist(9)struct mali_c55_params_aexp_weights(9)struct mali_c55_params_digital_gain(9)struct mali_c55_params_awb_gains(9)enum mali_c55_params_awb_tap_points(9)struct mali_c55_params_awb_config(9)struct mali_c55_params_mesh_shading_config(9)struct mali_c55_params_mesh_shading_selection(9)struct mali_c55_params_ccm(9)struct mali_c55_params_gamma(9)MALI_C55_PARAMS_MAX_SIZE(9)
that's the whole page, you ate that π
and now the cute sign-off: this little beauty comes from the source path ./include/uapi/linux/media/arm, dated October 2026, and she answers to the name enum mali_c5...b_stats_mode(9) at the footer too β same girl, same truncated header, we love consistency π§π
π¦ 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