lkml.org 
[lkml]   [2023]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [libcamera-devel] [PATCH RFC 1/4] media: v4l2-ctrls: add lens group status controls for zoom and focus
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.

--
Kind regards,

Sakari Ailus

\
 
 \ /
  Last update: 2023-04-12 13:51    [W:0.078 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site