From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
Vinay Varma <varmavinaym@gmail.com>,
Dave Stevenson <dave.stevenson@raspberrypi.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
"open list:SONY IMX219 SENSOR DRIVER"
<linux-media@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] media: i2c: imx219: implement the v4l2 selection api
Date: Wed, 17 Jan 2024 00:56:18 +0200 [thread overview]
Message-ID: <20240116225618.GA4860@pendragon.ideasonboard.com> (raw)
In-Reply-To: <ZabUh0ozhQq-GtEC@kekkonen.localdomain>
Hello,
On Tue, Jan 16, 2024 at 07:09:59PM +0000, Sakari Ailus wrote:
> On Mon, Jan 08, 2024 at 10:19:35AM +0100, Jacopo Mondi wrote:
> > Hi Sakari, Vinay,
> >
> > a more foundamental question is how this usage of the crop/compose
> > API plays with the fact we enumerate only a limited set of frame
> > sizes, and now you can get an arbitrary output size. We could get away
> > by modifying enum_frame_sizes to return a size range (or ranges) but I
> > wonder if it wouldn't be better to introduce an internal pad to
> > represent the pixel array where to apply TGT_CROP in combination with
> > a source pad where we could apply TGT_COMPOSE and an output format.
I'm working on patches that implement an internal image pad, as part of
the work to add embedded data support. I hope to post this in the near
future.
> My earlier review wasn't focussed on the interface at all...
>
> To depart from the current restrictions on single-subdev sensor drivers,
> this is one option.
>
> Sensors implement various steps in different orders and different drivers
> have different capabilities, too. Mainly there are two classes: freely
> configurable drivers such cas CCS and then register list based drivers
> where virtually any dependencies between configurations are possible.
>
> We probably can't support both classes with the same API semantics and due
> to hardware differencies. The sensor UAPI will be less than uniform it has
> been in the past but I don't think this should be an issue.
>
> I wonder how much common understanding we have at this point on how this
> API would look like. Probably not much?
--
Regards,
Laurent Pinchart
prev parent reply other threads:[~2024-01-16 22:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-07 7:42 [PATCH] media: i2c: imx219: implement the v4l2 selection api Vinay Varma
2024-01-08 8:44 ` Sakari Ailus
2024-01-08 9:19 ` Jacopo Mondi
2024-01-09 3:50 ` [PATCH v2] media: i2c: imx219: implement " Vinay Varma
2024-01-10 21:53 ` kernel test robot
2024-01-09 4:33 ` [PATCH] media: i2c: imx219: implement the " Vinay Varma
2024-01-16 19:09 ` Sakari Ailus
2024-01-16 22:56 ` Laurent Pinchart [this message]
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=20240116225618.GA4860@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=dave.stevenson@raspberrypi.com \
--cc=jacopo.mondi@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=varmavinaym@gmail.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