STRUCT RPPX1_WBMEAS_STATS(9)
π struct rppx1_wbmeas_stats(9) β the AWB statistics one π
okay bestie, so this is a page from the Kernel API Manual, and it's all about struct rppx1_wbmeas_stats, which is lowkey just⦠AWB statistics. Auto white balance tea. ⨠Let's get into it.
β¨ SYNOPSIS β¨
struct rppx1_wbmeas_stats {
struct v4l2_isp_block_header header;
__u32 cnt;
__u32 mean_y_or_g;
__u32 mean_cb_or_b;
__u32 mean_cr_or_r;
};
that's the whole struct, no cap. five fields and we're done. π«Ά
πΈ MEMBERS πΈ
headerβ the block header, and itstypeisRPPX1_STATS_BLOCK_TYPE_WBMEAS_POSTπ that's literally the whole vibe of this field.cntβ how many pixels matched. the headcount, the attendance list, the "who showed up" number πmean_y_or_gβ the mean Y value, or the mean G value if you're in RGB mode. it's a 24-bit number. so in RGB mode it's giving G, otherwise it's giving Y. iykyk πmean_cb_or_bβ the mean Cb value, or the mean B value if RGB mode is on. also 24-bit. yes bestie, the naming is doing that thing where it lists both lives π¦mean_cr_or_rβ the mean Cr value, or the mean R value when you're in RGB mode. 24-bit again. three little means, all matching the same energy π
π SEE ALSO π
so many friends, omg. this struct does NOT exist in a vacuum, bestie. go say hi to:
This all lives in the kernel file ./include/uapi/linux/media/dreamchip/rppx1-config.h β bookmark it fr fr.
- struct
rppx1_window(9) - enum
rppx1_meas_chan(9) - enum
rppx1_params_block_type(9) - enum
rppx1_wbmeas_mode(9) - struct
rppx1_wbmeas_params(9) - struct
rppx1_awbg_params(9) - enum
rppx1_exm_mode(9) - struct
rppx1_exm_params(9) - enum
rppx1_hist_mode(9) - struct
rppx1_hist_params(9) - struct
rppx1_bls_fixed(9) - enum
rppx1_bls_mode(9) - enum
rppx1_bls_win_en(9) - struct
rppx1_bls_params(9) - struct
rppx1_ccor_params(9) - struct
rppx1_lsc_params(9) - enum
rppx1_ga_seg_mode(9) - struct
rppx1_ga_params(9) - struct
rppx1_lin_params(9) RPPX1_PARAMS_MAX_SIZE(9)- enum
rppx1_stats_block_type(9) - struct
rppx1_exm_stats(9) - struct
rppx1_hist_stats(9) RPPX1_STATS_MAX_SIZE(9)
like, that's a whole group chat right there. main character energy from every single one of them honestly π§
ok that's the page!! source: ./include/uapi/linux/media/dre... and it's dated October 2026 β mwah, slay, periodt, bye 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