summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-03-10 08:30:12 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-03-10 08:30:12 -0200
commit17a569d12a5fe6b3ec8b1ece9615cd14921a602d (patch)
treee4cf0f8dd66e00556698987726c4f39ec64585ca /linux/include
parent14a5f0740789ad75bcb0ecc5c91cc92484cd54a8 (diff)
parent3f8c2448bb82dd0b01be5d5f7d5d2de9962f83a8 (diff)
downloadmediapointer-dvb-s2-17a569d12a5fe6b3ec8b1ece9615cd14921a602d.tar.gz
mediapointer-dvb-s2-17a569d12a5fe6b3ec8b1ece9615cd14921a602d.tar.bz2
merge: http://linuxtv.org/hg/~hverkuil/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/include')
-rw-r--r--linux/include/linux/dvb/video.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/include/linux/dvb/video.h b/linux/include/linux/dvb/video.h
index a96da40c5..0c2a1c7c5 100644
--- a/linux/include/linux/dvb/video.h
+++ b/linux/include/linux/dvb/video.h
@@ -120,6 +120,13 @@ struct video_command {
};
};
+/* FIELD_UNKNOWN can be used if the hardware does not know whether
+ the Vsync is for an odd, even or progressive (i.e. non-interlaced)
+ field. */
+#define VIDEO_VSYNC_FIELD_UNKNOWN (0)
+#define VIDEO_VSYNC_FIELD_ODD (1)
+#define VIDEO_VSYNC_FIELD_EVEN (2)
+#define VIDEO_VSYNC_FIELD_PROGRESSIVE (3)
struct video_event {
int32_t type;
@@ -131,6 +138,7 @@ struct video_event {
union {
video_size_t size;
unsigned int frame_rate; /* in frames per 1000sec */
+ unsigned char vsync_field; /* unknown/odd/even/progressive */
} u;
};