All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@iki.fi>
To: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
Cc: Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
	Jai Luthra <jai.luthra+renesas@ideasonboard.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Subject: Re: [PATCH v10 12/13] media: rppx1: ga: Add support for gamma out correction
Date: Tue, 28 Jul 2026 19:49:58 +0300	[thread overview]
Message-ID: <amjdtsd7N65pyN76@valkosipuli.retiisi.eu> (raw)
In-Reply-To: <amjM5n2eYqnrpJfb@valkosipuli.retiisi.eu>

On Tue, Jul 28, 2026 at 06:38:14PM +0300, Sakari Ailus wrote:
> Hejssan,
> 
> On Thu, Jun 11, 2026 at 10:41:47PM +0200, Niklas Söderlund wrote:
> > +/**
> > + * struct rppx1_ga_params - Gamma Out Correction configuration
> > + *
> > + * The Gamma Out Correction module is available on the Human Vision Output
> > + * Pipe (HV) and the Machine Vision Output Pipe (MV). Userspace selects
> > + * which pipe to operate by setting the @header.type field to
> > + * RPPX1_PARAMS_BLOCK_TYPE_GA_HV or RPPX1_PARAMS_BLOCK_TYPE_GA_MV.
> > + *
> > + * The module allows to apply a @gamma_y gamma correction curve to RGB data
> > + * represented as a table of 16 entries. The 16 input sampling points can be
> > + * equidistant or segmented using a logarithmic scale according to the value of
> > + * @mode.
> > + *
> > + * The gamma curve values are 12 bits on the HV output pipe and 24 bits on the
> > + * MV output pipe. Userspace is expected to provide the curve values with a
> > + * bit-depth matching the one of pipe in use.
> > + *
> > + * @header: block header (type = RPPX1_PARAMS_BLOCK_TYPE_GA_HV or
> > + *	    type = RPPX1_PARAMS_BLOCK_TYPE_GA_MV)
> > + * @mode: gamma curve input segmentation mode (see rppx1_ga_seg_mode)
> > + * @gamma_y: gamma out curve y-axis values
> > + */
> > +struct rppx1_ga_params {
> > +	struct v4l2_isp_params_block_header header;
> > +	__u8 mode;
> 
> Please use reserved fields to avoid holes in structs!

The same appears to apply to the rest of the UAPI patches, too.

-- 
Sakari Ailus

  parent reply	other threads:[~2026-07-28 16:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-11 20:41 [PATCH v10 00/13] media: Add support for R-Car ISP using Dreamchip RPPX1 ISP Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 01/13] media: Add RPP_X1_PARAMS and RPP_X1_STATS meta formats Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 02/13] media: uapi: Add extensible param and stats blocks for RPPX1 Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 03/13] media: rppx1: Add framework to support Dreamchip RPPX1 ISP Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 04/13] media: rcar-isp: Add support for ISPCORE Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 05/13] media: rppx1: wbmeas: Add support for white balance measurement Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 06/13] media: rppx1: awbg: Add support for white balance gain settings Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 07/13] media: rppx1: exm: Add support for exposure measurement Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 08/13] media: rppx1: hist: Add support histogram measurement Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 09/13] media: rppx1: bls: Add support for black level compensation Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 10/13] media: rppx1: ccor: Add support for color correction matrix Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 11/13] media: rppx1: lsc: Add support for lens shade correction Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 12/13] media: rppx1: ga: Add support for gamma out correction Niklas Söderlund
2026-07-28 15:38   ` Sakari Ailus
2026-07-28 16:14     ` Jacopo Mondi
2026-07-28 16:49     ` Sakari Ailus [this message]
2026-07-30 17:08     ` Niklas Söderlund
2026-06-11 20:41 ` [PATCH v10 13/13] media: rppx1: lin: Add support for gamma sensor linearization Niklas Söderlund

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=amjdtsd7N65pyN76@valkosipuli.retiisi.eu \
    --to=sakari.ailus@iki.fi \
    --cc=jacopo.mondi+renesas@ideasonboard.com \
    --cc=jacopo.mondi@ideasonboard.com \
    --cc=jai.luthra+renesas@ideasonboard.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=niklas.soderlund+renesas@ragnatech.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.