STRUCT RPPX1_AWBG_PARAMS(9)
π struct rppx1_awbg_params(9) π
okay bestie, this one is straight from the Kernel API Manual, and it's giving white balance, but make it kernel struct. no cap, it's lowkey iconic. π
β¨ NAME β¨
struct rppx1_awbg_params β WB gain configuration. that's the whole vibe, periodt.
π SYNOPSIS π
struct rppx1_awbg_params {
struct v4l2_isp_params_block_header header;
__u32 gain_red;
__u32 gain_green_r;
__u32 gain_blue;
__u32 gain_green_b;
};
π§© Members π§©
headerβ block header (type =RPPX1_PARAMS_BLOCK_TYPE_AWBG_PRE1or type =RPPX1_PARAMS_BLOCK_TYPE_AWBG_PRE2or type =RPPX1_PARAMS_BLOCK_TYPE_AWBG_POST)gain_redβ gain for red component, 18-bit (unsigned Q6.12)gain_green_rβ gain for green component in red lines, 18-bit (unsigned Q6.12)gain_blueβ gain for blue component, 18-bit (unsigned Q6.12)gain_green_bβ gain for green component in blue lines, 18-bit (unsigned Q6.12)
πΈ Description πΈ
so the RPP-X1 White Balance Gain module is available in the PRE1 and PRE2 pre-fusion pipes and in the MAIN_POST post-fusion pipe. userspace selects which pipe to operate by setting the header.type field to RPPX1_PARAMS_BLOCK_TYPE_AWBG_PRE1, RPPX1_PARAMS_BLOCK_TYPE_AWBG_PRE2 or RPPX1_PARAMS_BLOCK_TYPE_AWBG_POST. slay. π
the White Balance module allows you to specify per-color channel gains, expressed as unsigned fixed-point values as 18 bits unsigned integers in Q6.12 format with a maximum of 63.999. that's the math, bestie, and it ate. π₯
π¦ SEE ALSO π¦
- Kernel file
./include/uapi/linux/media/dreamchip/rppx1-config.h 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)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_exm_stats(9)struct rppx1_hist_stats(9)RPPX1_STATS_MAX_SIZE(9)
made with love from the Kernel API Manual, source ./include/uapi/linux/media/dre..., dated October 2026, and yes we're closing with struct rppx1_awbg_params(9) because main character energy demands it πβ¨π
π¦ 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