mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Michael Riesch <michael.riesch@wolfvision.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Michael Riesch via B4 Relay 
	<devnull+michael.riesch.wolfvision.net@kernel.org>,
	linux-kernel@vger.kernel.org,
	Matthias Fend <Matthias.Fend@wolfvision.net>,
	libcamera-devel@lists.libcamera.org, linux-media@vger.kernel.org,
	hverkuil@xs4all.nl
Subject: Re: [libcamera-devel] [PATCH RFC 1/4] media: v4l2-ctrls: add lens group status controls for zoom and focus
Date: Wed, 12 Apr 2023 15:05:46 +0300	[thread overview]
Message-ID: <ZDaemghP0HQSw3Fo@kekkonen.localdomain> (raw)
In-Reply-To: <8fe5c9c5-6eb0-86ae-9e5d-fbaa72be25fe@wolfvision.net>

Hi Michael,

On Wed, Apr 12, 2023 at 01:57:36PM +0200, Michael Riesch wrote:
> Hi Sakari,
> 
> On 4/12/23 13:50, Sakari Ailus wrote:
> > Hi Michael,
> > 
> > On Wed, Apr 12, 2023 at 10:00:26AM +0200, Michael Riesch wrote:
> >>  - Different controls: If moving = (V4L2_CID_FOCUS_ABSOLUTE == current),
> >>    then what happens if the application performs a
> >>    V4L2_CID_FOCUS_RELATIVE with -3? current should reach 39,
> >>    V4L2_CID_FOCUS_ABSOLUTE is still at 42, the lens is still moving from
> >>    the application's point of view.
> > 
> > Would there be a reason to implement both of these controls in a single
> > driver? AFAIU, the relative one should be used if there absolute value
> > isn't known to the driver.
> 
> Probably not, but on the other hand there is nothing the prevents a
> driver developer from doing so, right? Point is that should there be a
> driver which does implement both controls, we are in trouble AFAIU.

I think the documentation should be improved in this regard.

Also cc Hans.

-- 
Regards,

Sakari Ailus

  reply	other threads:[~2023-04-12 12:06 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-06 14:31 [PATCH RFC 0/4] media: v4l2-ctrls: add controls for complex lens controller devices Michael Riesch via B4 Relay
2023-04-06 14:31 ` [PATCH RFC 1/4] media: v4l2-ctrls: add lens group status controls for zoom and focus Michael Riesch via B4 Relay
2023-04-06 15:16   ` [libcamera-devel] " Dave Stevenson
2023-04-11 17:33     ` Michael Riesch
2023-04-11 18:15       ` Dave Stevenson
2023-04-12  8:00         ` Michael Riesch
2023-04-12 11:50           ` Sakari Ailus
2023-04-12 11:57             ` Michael Riesch
2023-04-12 12:05               ` Sakari Ailus [this message]
2023-04-12 13:43                 ` Michael Riesch
2023-04-12 14:39                   ` Sakari Ailus
2023-04-12 14:57                     ` Dave Stevenson
2023-04-12 13:55           ` Dave Stevenson
2023-04-12 15:12             ` Sakari Ailus
2023-04-17 12:38               ` Michael Riesch
2023-04-19  9:01                 ` Sakari Ailus
2023-04-19 11:24                   ` Michael Riesch
2023-04-19 12:49                     ` Dave Stevenson
2023-04-24 19:57                     ` Sakari Ailus
2023-04-17  8:29             ` Michael Riesch
2023-04-06 14:31 ` [PATCH RFC 2/4] media: v4l2-ctrls: add lens group speed " Michael Riesch via B4 Relay
2023-04-06 14:31 ` [PATCH RFC 3/4] media: v4l2-ctrls: add lens calibration controls Michael Riesch via B4 Relay
2023-04-06 14:31 ` [PATCH RFC 4/4] media: v4l2-ctrls: add controls for individual zoom lenses Michael Riesch via B4 Relay

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=ZDaemghP0HQSw3Fo@kekkonen.localdomain \
    --to=sakari.ailus@linux.intel.com \
    --cc=Matthias.Fend@wolfvision.net \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=devnull+michael.riesch.wolfvision.net@kernel.org \
    --cc=hverkuil@xs4all.nl \
    --cc=libcamera-devel@lists.libcamera.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=michael.riesch@wolfvision.net \
    /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

all inboxes | Powered by JetHome®