aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx/bttvp.h
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@gmail.com>2007-12-27 20:20:58 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:04:20 -0500
commit402aa76aa5e57801b4db5ccf8c7beea9f580bb1b (patch)
treee6575fc05013a8ad0560911d07d678570b063137 /drivers/media/video/bt8xx/bttvp.h
parent4041f1a58774249f5f26163e68b844521ece1fb4 (diff)
V4L/DVB (6911): Converted bttv to use video_ioctl2
Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bt8xx/bttvp.h')
-rw-r--r--drivers/media/video/bt8xx/bttvp.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/drivers/media/video/bt8xx/bttvp.h b/drivers/media/video/bt8xx/bttvp.h
index 4a02f0a8a467..260303065c13 100644
--- a/drivers/media/video/bt8xx/bttvp.h
+++ b/drivers/media/video/bt8xx/bttvp.h
@@ -84,6 +84,11 @@
84 84
85#define clamp(x, low, high) min (max (low, x), high) 85#define clamp(x, low, high) min (max (low, x), high)
86 86
87#define BTTV_NORMS (\
88 V4L2_STD_PAL | V4L2_STD_PAL_N | \
89 V4L2_STD_PAL_Nc | V4L2_STD_SECAM | \
90 V4L2_STD_NTSC | V4L2_STD_PAL_M | \
91 V4L2_STD_PAL_60)
87/* ---------------------------------------------------------- */ 92/* ---------------------------------------------------------- */
88 93
89struct bttv_tvnorm { 94struct bttv_tvnorm {
@@ -252,9 +257,9 @@ int bttv_overlay_risc(struct bttv *btv, struct bttv_overlay *ov,
252/* ---------------------------------------------------------- */ 257/* ---------------------------------------------------------- */
253/* bttv-vbi.c */ 258/* bttv-vbi.c */
254 259
255int bttv_vbi_try_fmt(struct bttv_fh *fh, struct v4l2_vbi_format *f); 260int vidioc_try_fmt_vbi(struct file *file, void *fh, struct v4l2_format *f);
256void bttv_vbi_get_fmt(struct bttv_fh *fh, struct v4l2_vbi_format *f); 261int vidioc_g_fmt_vbi(struct file *file, void *fh, struct v4l2_format *f);
257int bttv_vbi_set_fmt(struct bttv_fh *fh, struct v4l2_vbi_format *f); 262int vidioc_s_fmt_vbi(struct file *file, void *fh, struct v4l2_format *f);
258 263
259extern struct videobuf_queue_ops bttv_vbi_qops; 264extern struct videobuf_queue_ops bttv_vbi_qops;
260 265