STRUCT RPPX1_WBMEAS_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 its type is RPPX1_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