summaryrefslogtreecommitdiff
path: root/linux/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-07-20 14:29:43 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2007-07-20 14:29:43 +0200
commit840c06e96e392492a0127c0ea3e49b9d41061bf0 (patch)
tree44794c75de4237201004ff45accb86f7c755a27a /linux/include/media
parent66bdbb2c4fd4d078e0497e4643e20ecd3eab6622 (diff)
downloadmediapointer-dvb-s2-840c06e96e392492a0127c0ea3e49b9d41061bf0.tar.gz
mediapointer-dvb-s2-840c06e96e392492a0127c0ea3e49b9d41061bf0.tar.bz2
Add ivtv-fb framebuffer driver.
From: Hans Verkuil <hverkuil@xs4all.nl> 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>
Diffstat (limited to 'linux/include/media')
-rw-r--r--linux/include/media/ivtv-fb.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/linux/include/media/ivtv-fb.h b/linux/include/media/ivtv-fb.h
new file mode 100644
index 000000000..902b2f3d3
--- /dev/null
+++ b/linux/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