summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-07-20 09:29:43 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 22:03:02 -0300
commit32db775452818656d5fd8fd8b0f54425f5cfc177 (patch)
tree36289a03f0cea5cb247181700e62fe38a094b2ff /include/media
parentd3c35acf2455fe354bdd00085511bef6bd6d52f1 (diff)
downloadblackbird-op-linux-32db775452818656d5fd8fd8b0f54425f5cfc177.tar.gz
blackbird-op-linux-32db775452818656d5fd8fd8b0f54425f5cfc177.zip
V4L/DVB (5902): Add ivtv-fb framebuffer driver.
Add the ivtv-fb framebuffer driver for cx23415 devices (currently only the Hauppauge PVR-350 cards). This makes it possible to use the On-Screen Display functionality of these cards, either for menus during MPEG playback, or as a console or X display. Signed-off-by: Kevin Thayer <nufan_wfk@yahoo.com> Signed-off-by: Chris Kennedy <c@groovy.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: John P Harvey <john.p.harvey@btinternet.com> Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/ivtv-fb.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/media/ivtv-fb.h b/include/media/ivtv-fb.h
new file mode 100644
index 000000000000..902b2f3d3cb6
--- /dev/null
+++ b/include/media/ivtv-fb.h
@@ -0,0 +1,35 @@
+/*
+ On Screen Display cx23415 Framebuffer driver
+
+ Copyright (C) 2006 Ian Armstrong <ian@iarmst.demon.co.uk>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef _LINUX_IVTV_FB_H
+#define _LINUX_IVTV_FB_H
+
+/* Framebuffer external API */
+
+struct ivtvfb_ioctl_dma_host_to_ivtv_args {
+ void __user *source;
+ unsigned long dest_offset;
+ int count;
+};
+
+/* Framebuffer ioctls should use the range 1 - 28 */
+#define IVTVFB_IOCTL_PREP_FRAME _IOW('@', 3, struct ivtvfb_ioctl_dma_host_to_ivtv_args)
+
+#endif
OpenPOWER on IntegriCloud