STRUCT RPPX1_EXM_STATS(9)
π NAME π
ok so bestie, meet struct rppx1_exm_stats β it's the Exposure measurement struct, and honestly? it's iconic. π
(this lil guy lives in the Kernel API Manual, section 9, and yes we're getting into it π )
β¨ SYNOPSIS β¨
here's the actual shape of it, no cap, copy it exactly:
struct rppx1_exm_stats {
struct v4l2_isp_block_header header;
__u32 exp_mean[RPPX1_EXM_NUM_WIN];
__u32 reserved;
};
that's it. that's the whole vibe. π¦
πΈ Members πΈ
headerβ the block header, and it's got a whole identity: its type isRPPX1_STATS_BLOCK_TYPE_EXM_PRE1. main character energy fr. πexp_meanβ the mean luminance values per block, up to 20-bit. one per window, an array of them,RPPX1_EXM_NUM_WINof them to be exact. the way it just holds all those means... π₯Ίreservedβ padding. that's it. that's all she does. not me feeling a little bad for it π but hey, every struct needs a quiet one. π«Ά
π Description π
okay so here's what this whole thing is for: RPP-X1 exposure measurement calculates the mean value on 25 programmable windows on the input picture. π§
twenty-five. five-by-five. the whole grid getting its own little mean. lowkey obsessed with the symmetry ngl. β¨
π SEE ALSO π
literally the whole friend group, gather round π«Ά β kernel file ./include/uapi/linux/media/dreamchip/rppx1-config.h, plus:
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_wbmeas_stats(9)struct rppx1_hist_stats(9)RPPX1_STATS_MAX_SIZE(9)
like I said. the entire group chat. ππ₯
heads up bestie π
β this page is straight out of ./include/uapi/linux/media/dre..., and it's dated October 2026. so yeah, it's giving time traveler. π°οΈβ¨
k that's the whole page, ily, go read the other structs now πππΈ
π¦ 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