diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-07-12 15:55:45 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-30 19:23:11 -0400 |
commit | e0a9b1770bac048171961625875aaf15118a7ae9 (patch) | |
tree | 21961241a5623a6213db2cfcf3ffb0c68fb59706 /include/linux | |
parent | 6652c716a5e46f0631d26a7f83a8f7247d293ae7 (diff) |
[media] v4l2: Add rangelow and rangehigh fields to the v4l2_hw_freq_seek struct
To allow apps to limit a hw-freq-seek to a specific band, for further
info see the documentation this patch adds for these new fields.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/videodev2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 63c950f6fcc2..7a147c8299ab 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -2033,6 +2033,7 @@ struct v4l2_modulator { | |||
2033 | #define V4L2_TUNER_CAP_RDS_BLOCK_IO 0x0100 | 2033 | #define V4L2_TUNER_CAP_RDS_BLOCK_IO 0x0100 |
2034 | #define V4L2_TUNER_CAP_RDS_CONTROLS 0x0200 | 2034 | #define V4L2_TUNER_CAP_RDS_CONTROLS 0x0200 |
2035 | #define V4L2_TUNER_CAP_FREQ_BANDS 0x0400 | 2035 | #define V4L2_TUNER_CAP_FREQ_BANDS 0x0400 |
2036 | #define V4L2_TUNER_CAP_HWSEEK_PROG_LIM 0x0800 | ||
2036 | 2037 | ||
2037 | /* Flags for the 'rxsubchans' field */ | 2038 | /* Flags for the 'rxsubchans' field */ |
2038 | #define V4L2_TUNER_SUB_MONO 0x0001 | 2039 | #define V4L2_TUNER_SUB_MONO 0x0001 |
@@ -2078,7 +2079,9 @@ struct v4l2_hw_freq_seek { | |||
2078 | __u32 seek_upward; | 2079 | __u32 seek_upward; |
2079 | __u32 wrap_around; | 2080 | __u32 wrap_around; |
2080 | __u32 spacing; | 2081 | __u32 spacing; |
2081 | __u32 reserved[7]; | 2082 | __u32 rangelow; |
2083 | __u32 rangehigh; | ||
2084 | __u32 reserved[5]; | ||
2082 | }; | 2085 | }; |
2083 | 2086 | ||
2084 | /* | 2087 | /* |