summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/zoran/videocodec.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-02-19 21:31:17 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2009-02-19 21:31:17 +0100
commit58dfb1e7efa2bd70a814acae3d512733168feb95 (patch)
treebc7a24f7a32d2e8146b8e07c867d5a8bdc045808 /linux/drivers/media/video/zoran/videocodec.h
parent2bc35f692273756abf6b34a349e43a47bd9b8e14 (diff)
downloadmediapointer-dvb-s2-58dfb1e7efa2bd70a814acae3d512733168feb95.tar.gz
mediapointer-dvb-s2-58dfb1e7efa2bd70a814acae3d512733168feb95.tar.bz2
v4l-dvb: cleanup obsolete references to v4l1 headers.
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/zoran/videocodec.h')
-rw-r--r--linux/drivers/media/video/zoran/videocodec.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/linux/drivers/media/video/zoran/videocodec.h b/linux/drivers/media/video/zoran/videocodec.h
index 1b40df14f..5fc11caf2 100644
--- a/linux/drivers/media/video/zoran/videocodec.h
+++ b/linux/drivers/media/video/zoran/videocodec.h
@@ -97,7 +97,7 @@
available) - it returns 0 if the mode is possible
set_size -> this fn-ref. sets the norm and image size for
compression/decompression (returns 0 on success)
- the norm param is defined in videodev.h (VIDEO_MODE_*)
+ the norm param is defined in videodev2.h (V4L2_STD_*)
additional setup may be available, too - but the codec should work with
some default values even without this
@@ -145,9 +145,8 @@ M zr36055[1] 0001 0000c001 00000000 (zr36050[1])
#define __LINUX_VIDEOCODEC_H
#include "compat.h"
-#include <linux/videodev.h>
+#include <linux/videodev2.h>
-//should be in videodev.h ??? (VID_DO_....)
#define CODEC_DO_COMPRESSION 0
#define CODEC_DO_EXPANSION 1
@@ -238,10 +237,6 @@ struct vfe_settings {
__u32 width, height; /* Area to capture */
__u16 decimation; /* Decimation divider */
__u16 flags; /* Flags for capture */
-/* flags are the same as in struct video_capture - see videodev.h:
-#define VIDEO_CAPTURE_ODD 0
-#define VIDEO_CAPTURE_EVEN 1
-*/
__u16 quality; /* quality of the video */
};