All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@skynet.be>
To: video4linux-list@redhat.com
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>,
	Michael Schimek <mschimek@gmx.at>
Subject: [PATCH v2 1/4] v4l2: Add camera zoom controls
Date: Fri, 12 Dec 2008 14:04:10 +0100	[thread overview]
Message-ID: <200812121404.10640.laurent.pinchart@skynet.be> (raw)
In-Reply-To: <200812121401.55277.laurent.pinchart@skynet.be>

The zoom controls move the zoom lens group to a an absolute position, as a
relative displacement or at a given speed until reaching physical device
limits. Positive values move the zoom lens group towards the telephoto
direction, negative values towards the wide-angle direction.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
--

diff -r 0280330fd4a0 linux/include/linux/videodev2.h
--- a/linux/include/linux/videodev2.h	Wed Nov 26 00:20:42 2008 +0100
+++ b/linux/include/linux/videodev2.h	Thu Nov 27 15:38:15 2008 +0100
@@ -1118,6 +1118,10 @@
 #define V4L2_CID_FOCUS_RELATIVE			(V4L2_CID_CAMERA_CLASS_BASE+11)
 #define V4L2_CID_FOCUS_AUTO			(V4L2_CID_CAMERA_CLASS_BASE+12)
 
+#define V4L2_CID_ZOOM_ABSOLUTE			(V4L2_CID_CAMERA_CLASS_BASE+13)
+#define V4L2_CID_ZOOM_RELATIVE			(V4L2_CID_CAMERA_CLASS_BASE+14)
+#define V4L2_CID_ZOOM_CONTINUOUS		(V4L2_CID_CAMERA_CLASS_BASE+15)
+
 /*
  *	T U N I N G
  */

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2008-12-12 13:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-12 13:01 [PATCH v2 0/4] Add zoom and privacy controls Laurent Pinchart
2008-12-12 13:04 ` Laurent Pinchart [this message]
2008-12-12 13:06 ` [PATCH v2 2/4] v4l2: Add privacy control Laurent Pinchart
2008-12-12 13:10 ` [PATCH v2 3/4] v4l2: Add missing control names Laurent Pinchart
2008-12-12 13:25   ` Hans Verkuil
2008-12-12 17:51     ` Andy Walls
2008-12-14 19:18       ` Laurent Pinchart
2008-12-12 13:11 ` [PATCH v2 4/4] v4l2: Document zoom and privacy controls 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=200812121404.10640.laurent.pinchart@skynet.be \
    --to=laurent.pinchart@skynet.be \
    --cc=mchehab@redhat.com \
    --cc=mschimek@gmx.at \
    --cc=video4linux-list@redhat.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 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.