public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: "Mirela Rabulea" <mirela.rabulea@nxp.com>,
	linux-media@vger.kernel.org, hans@jjverkuil.nl,
	Prabhakar <prabhakar.csengg@gmail.com>,
	"Kate Hsuan" <hpa@redhat.com>,
	"Alexander Shiyan" <eagle.alexander923@gmail.com>,
	"Dave Stevenson" <dave.stevenson@raspberrypi.com>,
	"Tommaso Merciai" <tomm.merciai@gmail.com>,
	"Umang Jain" <umang.jain@ideasonboard.com>,
	"Benjamin Mugnier" <benjamin.mugnier@foss.st.com>,
	"Sylvain Petinot" <sylvain.petinot@foss.st.com>,
	"Christophe JAILLET" <christophe.jaillet@wanadoo.fr>,
	"Julien Massot" <julien.massot@collabora.com>,
	"Naushir Patuck" <naush@raspberrypi.com>,
	"Yan, Dongcheng" <dongcheng.yan@intel.com>,
	"Cao, Bingbu" <bingbu.cao@intel.com>,
	"Qiu, Tian Shu" <tian.shu.qiu@intel.com>,
	"Wang, Hongju" <hongju.wang@intel.com>,
	"Stefan Klug" <stefan.klug@ideasonboard.com>,
	"André Apitzsch" <git@apitzsch.eu>,
	"Heimir Thor Sverrisson" <heimir.sverrisson@gmail.com>,
	"Kieran Bingham" <kieran.bingham@ideasonboard.com>,
	"Stanislaw Gruszka" <stanislaw.gruszka@linux.intel.com>,
	"Mehdi Djait" <mehdi.djait@linux.intel.com>,
	"Ricardo Ribalda Delgado" <ribalda@kernel.org>,
	"Hans de Goede" <hdegoede@redhat.com>,
	"Jacopo Mondi" <jacopo.mondi@ideasonboard.com>,
	"Tomi Valkeinen" <tomi.valkeinen@ideasonboard.com>
Subject: Re: [PATCH v10 19/64] media: v4l: uapi: Add a control for color pattern flipping effect
Date: Wed, 14 Jan 2026 00:39:40 +0200	[thread overview]
Message-ID: <20260113223940.GF30544@pendragon.ideasonboard.com> (raw)
In-Reply-To: <aWY-ldR_PMFcI1LR@kekkonen.localdomain>

On Tue, Jan 13, 2026 at 02:46:13PM +0200, Sakari Ailus wrote:
> Hi Mirela,
> 
> On Wed, Jul 23, 2025 at 01:14:44AM +0300, Mirela Rabulea wrote:
> > Hi Sakari,
> > 
> > On 6/19/25 14:57, Sakari Ailus wrote:
> > > 
> > > 
> > > Add a bitmask control (V4L2_CID_COLOR_PATTERN_FLIP) to tell whether
> > > flipping results in a change in the sensor's color pattern, separately
> > > horizontally and vertically. The information is essential for raw formats
> > > when using generic raw mbus codes.
> > > 
> > > Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> > > ---
> > >   .../userspace-api/media/v4l/ext-ctrls-image-source.rst | 10 ++++++++++
> > >   drivers/media/v4l2-core/v4l2-ctrls-defs.c              |  2 ++
> > >   include/uapi/linux/v4l2-controls.h                     |  5 +++++
> > >   3 files changed, 17 insertions(+)
> > > 
> > > diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-image-source.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-image-source.rst
> > > index b19aaaffbce0..43a62a85afb8 100644
> > > --- a/Documentation/userspace-api/media/v4l/ext-ctrls-image-source.rst
> > > +++ b/Documentation/userspace-api/media/v4l/ext-ctrls-image-source.rst
> > > @@ -131,3 +131,13 @@ Image Source Control IDs
> > >         - Raw Bayer, with alternating lines beginning with green, blue pixels and
> > >           red, green pixels.
> > >         - 3
> > > +
> > > +``V4L2_CID_COLOR_PATTERN_FLIP (bitmask)``
> > > +    Whether the horizontal or vertical flipping controls (V4L2_CID_HFLIP and
> > 
> > Maybe "Report whether the horizontal or vertical flipping controls..."
> > sounds more like a sentence?
> 
> How about "This control determines whether..."?

"whether" normally requires a correlative "or". You could write "This
control determines if the horizontal or vertical flipping controls ...".

> > Also, it looks like this is also a read-only control, so it would be nice to
> > mention it also in this doc.
> 
> Agreed.

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2026-01-13 22:40 UTC|newest]

Thread overview: 127+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-19 11:57 [PATCH v10 00/64] Generic line based metadata support, internal pads Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 01/64] media: ov2740: Remove shorthand variables Sakari Ailus
2025-06-20  9:31   ` Jacopo Mondi
2025-06-19 11:57 ` [PATCH v10 02/64] media: Documentation: Move streams documentation one level up Sakari Ailus
2025-06-20  9:49   ` Jacopo Mondi
2025-06-19 11:57 ` [PATCH v10 03/64] media: Documentation: Clean up figure titles Sakari Ailus
2025-07-28 12:55   ` Jacopo Mondi
2025-06-19 11:57 ` [PATCH v10 04/64] media: ccs: No need to set streaming to false in power off Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 05/64] media: ccs: Move ccs_pm_get_init function up Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 06/64] media: ccs: Rename out label of ccs_start_streaming Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 07/64] media: ccs: Move ccs_validate_csi_data_format up Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 08/64] media: Documentation: Refer to internal pads in metadata documentation Sakari Ailus
2025-06-20 10:01   ` Jacopo Mondi
2025-06-20 11:09     ` Jacopo Mondi
2025-06-19 11:57 ` [PATCH v10 09/64] media: ccs: Use {enable,disable}_streams operations Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 10/64] media: ccs: Track streaming state Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 11/64] media: ccs: Support frame descriptors Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 12/64] media: uapi: v4l: subdev: Enable streams API Sakari Ailus
2025-06-20 11:10   ` Jacopo Mondi
2025-07-12 17:21     ` Mirela Rabulea
2025-06-19 11:57 ` [PATCH v10 13/64] media: mc: Add INTERNAL pad flag Sakari Ailus
2025-07-22 22:11   ` Mirela Rabulea
2026-01-13 21:35     ` Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 14/64] media: v4l2-mc: Ignore internal pads in finding source sub-devices Sakari Ailus
2025-06-20 11:16   ` Jacopo Mondi
2025-06-21  8:22     ` Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 15/64] media: uapi: Add generic CSI-2 raw pixelformats Sakari Ailus
2025-06-20 11:50   ` Jacopo Mondi
2026-01-13  8:59     ` Sakari Ailus
     [not found]   ` <41ad339a-c78c-4c16-922a-b23b6b79bdde@nxp.com>
2026-01-13 12:30     ` [EXT] " Sakari Ailus
2026-02-17 18:24       ` Mirela Rabulea
2025-06-19 11:57 ` [PATCH v10 16/64] media: uapi: Add new media bus codes for generic raw formats Sakari Ailus
2025-06-20 12:03   ` Jacopo Mondi
2025-07-22 22:12   ` Mirela Rabulea
2026-01-13 12:43     ` Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 17/64] media: uapi: Add V4L2_CID_CONFIG_MODEL control Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 18/64] media: uapi: Add V4L2_CID_COLOR_PATTERN for describing color patterns Sakari Ailus
2025-06-20 12:10   ` Jacopo Mondi
2025-06-23  8:00     ` Sakari Ailus
2025-06-23  8:05       ` Jacopo Mondi
2025-07-22 22:13   ` Mirela Rabulea
2025-06-19 11:57 ` [PATCH v10 19/64] media: v4l: uapi: Add a control for color pattern flipping effect Sakari Ailus
2025-06-20 12:14   ` Jacopo Mondi
2025-06-23  8:50     ` Sakari Ailus
2025-07-22 22:14   ` Mirela Rabulea
2026-01-13 12:46     ` Sakari Ailus
2026-01-13 22:39       ` Laurent Pinchart [this message]
2026-01-13 22:45         ` Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 20/64] media: Documentation: Document raw mbus codes and CFA for cameras Sakari Ailus
2025-07-22 22:15   ` Mirela Rabulea
2026-01-13 21:53     ` Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 21/64] media: uapi: Add V4L2_CID_METADATA_LAYOUT control Sakari Ailus
2025-06-20 12:25   ` Jacopo Mondi
2025-06-23  8:02     ` Sakari Ailus
2025-07-23 11:51   ` Mirela Rabulea
2026-01-13 12:48     ` Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 22/64] media: Documentation: v4l: Document internal sink pads Sakari Ailus
2025-06-20 12:43   ` Jacopo Mondi
2025-07-23 11:52   ` Mirela Rabulea
2026-01-13 20:37     ` Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 23/64] media: Documentation: Document embedded data guidelines for camera sensors Sakari Ailus
2025-06-20 13:19   ` Jacopo Mondi
2026-01-13 20:43     ` Sakari Ailus
2025-07-23 11:53   ` Mirela Rabulea
2026-01-13 20:47     ` Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 24/64] media: uapi: ccs: Add metadata layout for MIPI CCS embedded data Sakari Ailus
2025-06-20 13:24   ` Jacopo Mondi
2026-01-13 21:32     ` Sakari Ailus
2026-01-14  7:53       ` Jacopo Mondi
2026-01-14  9:46         ` Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 25/64] media: Documentation: Document non-CCS use of CCS embedded data layout Sakari Ailus
2025-07-23 11:54   ` Mirela Rabulea
2026-01-13 21:57     ` Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 26/64] media: ccs: Add support for embedded data stream Sakari Ailus
2025-06-19 11:57 ` [PATCH v10 27/64] media: Documentation: ccs: Document routing Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 28/64] media: ccs: Remove ccs_get_crop_compose helper Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 29/64] media: ccs: Rely on sub-device state locking Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 30/64] media: ccs: Compute binning configuration from sub-device state Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 31/64] media: ccs: Compute scaling " Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 32/64] media: ccs: Remove which parameter from ccs_propagate Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 33/64] media: ccs: Detemine emb_data_ctrl register from sub-device state Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 34/64] media: Documentation: Rework embedded data documentation Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 35/64] media: Documentation: Add a hyphen to list-based Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 36/64] media: Documentation: Reword split of sensor driver to two classes Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 37/64] media: uapi: Documentation: Improve column width hints for examples Sakari Ailus
2025-07-28 14:23   ` Jacopo Mondi
2025-06-19 11:58 ` [PATCH v10 38/64] media: uapi: Correct generic CSI-2 metadata format 4cc Sakari Ailus
2025-06-20 13:26   ` Jacopo Mondi
2025-06-23 10:05     ` Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 39/64] Revert "media: uapi: v4l: Don't expose generic metadata formats to userspace" Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 40/64] media: Documentation: Add subdev configuration models, raw sensor model Sakari Ailus
2025-07-28 15:00   ` Jacopo Mondi
2026-01-13 22:07     ` Sakari Ailus
2026-01-13 14:50   ` Jacopo Mondi
2026-01-13 22:20     ` Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 41/64] media: Documentation: Add scaling and post-scaler crop for common raw Sakari Ailus
2025-07-28 15:05   ` Jacopo Mondi
2025-06-19 11:58 ` [PATCH v10 42/64] media: uapi: Add MIPI CCS configuration model Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 43/64] media: uapi: Add V4L2_CID_BINNING control for binning configuration Sakari Ailus
2025-07-28 15:24   ` Jacopo Mondi
2026-01-14 10:42     ` Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 44/64] media: uapi: Add controls for sub-sampling configuration Sakari Ailus
2025-07-28 14:27   ` Jacopo Mondi
2025-07-28 15:30     ` Jacopo Mondi
2025-06-19 11:58 ` [PATCH v10 45/64] media: Documentation: Add binning and sub-sampling controls Sakari Ailus
2025-07-28 15:33   ` Jacopo Mondi
2026-01-14 10:43     ` Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 46/64] media: uapi: Add metadata layout for ov2740 embedded data Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 47/64] media: ov2740: Add support for " Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 48/64] media: ov2740: Add support for generic raw formats Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 49/64] media: ov2740: Add metadata layout control Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 50/64] media: ov2740: Add support for G_SELECTION IOCTL Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 51/64] media: v4l: Add V4L2_SUBDEV_ROUTE_FL_IMMUTABLE sub-device routing flag Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 52/64] media: ccs: Add IMMUTABLE route flag Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 53/64] media: ov2740: " Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 54/64] media: i2c: imx219: Inline imx219_update_pad_format() in its caller Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 55/64] media: i2c: imx219: Add internal image sink pad Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 56/64] media: i2c: imx219: Add image stream Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 57/64] media: i2c: imx219: Report internal routes to userspace Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 58/64] media: i2c: imx219: Report streams using frame descriptors Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 59/64] media: i2c: imx219: Add embedded data support Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 60/64] media: imx219: Add support for generic raw formats Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 61/64] media: ccs: Add frame descriptor quirk Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 62/64] media: ipu6: isys: Set embedded data type correctly for metadata formats Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 63/64] media: ipu6: Add support for luma-only formats Sakari Ailus
2025-06-19 11:58 ` [PATCH v10 64/64] media: ipu6: Add support for raw CFA-agnostic formats Sakari Ailus
2025-06-19 22:28 ` [PATCH v10 00/64] Generic line based metadata support, internal pads Laurent Pinchart

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=20260113223940.GF30544@pendragon.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=benjamin.mugnier@foss.st.com \
    --cc=bingbu.cao@intel.com \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=dongcheng.yan@intel.com \
    --cc=eagle.alexander923@gmail.com \
    --cc=git@apitzsch.eu \
    --cc=hans@jjverkuil.nl \
    --cc=hdegoede@redhat.com \
    --cc=heimir.sverrisson@gmail.com \
    --cc=hongju.wang@intel.com \
    --cc=hpa@redhat.com \
    --cc=jacopo.mondi@ideasonboard.com \
    --cc=julien.massot@collabora.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mehdi.djait@linux.intel.com \
    --cc=mirela.rabulea@nxp.com \
    --cc=naush@raspberrypi.com \
    --cc=prabhakar.csengg@gmail.com \
    --cc=ribalda@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=stanislaw.gruszka@linux.intel.com \
    --cc=stefan.klug@ideasonboard.com \
    --cc=sylvain.petinot@foss.st.com \
    --cc=tian.shu.qiu@intel.com \
    --cc=tomi.valkeinen@ideasonboard.com \
    --cc=tomm.merciai@gmail.com \
    --cc=umang.jain@ideasonboard.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox