Re: [PATCH v2 12/14] media: uapi: Add CAMSS ISP configuration definition

Konrad Dybcio
2026-04-27T12:56:08Z

On 4/27/26 2:43 PM, Loic Poulain wrote:
> Add the uapi header camss-config.h defining the ISP parameter
> structures used by the CAMSS Offline Processing Engine (OPE) driver.
> This includes structures for white balance, chroma enhancement and
> color correction configuration.
>
> Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
> ---

[...]

> +/**
> + * struct camss_params_wb_gain - White Balance gains
> + *
> + * @header: generic block header; @header.type = CAMSS_PARAMS_WB_GAIN
> + * @g_gain: green channel gain (15uQ10)
> + * @b_gain: blue channel gain (15uQ10)
> + * @r_gain: red channel gain (15uQ10)
> + */
> +struct camss_params_wb_gain {
> + struct v4l2_isp_params_block_header header;
> + __u16 g_gain;
> + __u16 b_gain;
> + __u16 r_gain;
> + __u16 _pad;
> +} __attribute__((aligned(8)));

Should this be __le for all of the related types?

Konrad