STRUCT MALI_C55_PARAMS_AEXP_WEIGHTS(9)
π NAME π
struct mali_c55_params_aexp_weights β the array of weights for AEXP metering, bestie. It's giving "control panel for your zones" β¨
Okay so real quick, this page lives in the Kernel API Manual and it's all about one struct. Let's get into it π«Ά
πΈ SYNOPSIS πΈ
struct mali_c55_params_aexp_weights {
struct v4l2_isp_params_block_header header;
__u8 nodes_used_horiz;
__u8 nodes_used_vert;
__u8 zone_weights[MALI_C55_MAX_ZONES];
};
π Members π
headerβ the Mali-C55 parameters block header, no notes, it's just doing header things πnodes_used_horizβ how many zones are active horizontally, in the range[0..15]nodes_used_vertβ how many zones are active vertically, in the range[0..15]zone_weightsβ the actual zone weighting, iconic. The index isrow*col, where0,0is the top left zone and it continues in raster order. Every zone can be weighted in the range[0..15]. The number of rows and columns is defined bynodes_used_vertandnodes_used_horizβ
π¦ Description π¦
This struct lets you configure the weighting for both of the 1024-bin AEXP histograms, periodt. The pixel data collected for each zone gets multiplied by the corresponding weight from this array β and that weight may totally be zero if your intention is to mask off the zone entirely. Masking slay π
Heads up bestie:header.typeshould be set to one of eitherMALI_C55_PARAM_BLOCK_AEXP_HIST_WEIGHTSorMALI_C55_PARAM_BLOCK_AEXP_IHIST_WEIGHTSfrom:c:type:mali_c55_param_block_type`` β don't forget, iykyk π
π SEE ALSO π
Kernel file ./include/uapi/linux/media/arm/mali-c55-config.h, plus the whole friend group π
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_digital_gain(9)enum mali_c55_awb_stats_mode(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)
okay that's the whole page, mwah π This little beauty lives over in ./include/uapi/linux/media/arm, dated October 2026, and it's filed under struct mali...aexp_weights(9). Go forth and weight your zones, 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