[RFCv1 PATCH 1/5] videodev2.h: add new hwseek capability bits.

2012-05-27 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com

Tell the application whether the hardware seek is bounded and/or wraps around.

Signed-off-by: Hans Verkuil hans.verk...@cisco.com
---
 include/linux/videodev2.h |2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 370d111..2339678 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -2039,6 +2039,8 @@ struct v4l2_modulator {
 /*  Flags for the 'capability' field */
 #define V4L2_TUNER_CAP_LOW 0x0001
 #define V4L2_TUNER_CAP_NORM0x0002
+#define V4L2_TUNER_CAP_HWSEEK_BOUNDED  0x0004
+#define V4L2_TUNER_CAP_HWSEEK_WRAP 0x0008
 #define V4L2_TUNER_CAP_STEREO  0x0010
 #define V4L2_TUNER_CAP_LANG2   0x0020
 #define V4L2_TUNER_CAP_SAP 0x0020
-- 
1.7.10

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [RFCv1 PATCH 1/5] videodev2.h: add new hwseek capability bits.

2012-05-27 Thread Hans de Goede

Looks good:

Acked-by: Hans de Goede hdego...@redhat.com

On 05/27/2012 01:50 PM, Hans Verkuil wrote:

From: Hans Verkuilhans.verk...@cisco.com

Tell the application whether the hardware seek is bounded and/or wraps around.

Signed-off-by: Hans Verkuilhans.verk...@cisco.com
---
  include/linux/videodev2.h |2 ++
  1 file changed, 2 insertions(+)

diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 370d111..2339678 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -2039,6 +2039,8 @@ struct v4l2_modulator {
  /*  Flags for the 'capability' field */
  #define V4L2_TUNER_CAP_LOW0x0001
  #define V4L2_TUNER_CAP_NORM   0x0002
+#define V4L2_TUNER_CAP_HWSEEK_BOUNDED  0x0004
+#define V4L2_TUNER_CAP_HWSEEK_WRAP 0x0008
  #define V4L2_TUNER_CAP_STEREO 0x0010
  #define V4L2_TUNER_CAP_LANG2  0x0020
  #define V4L2_TUNER_CAP_SAP0x0020

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html