summaryrefslogtreecommitdiff
path: root/v4l2-spec/vidioc-enuminput.sgml
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-29 22:25:16 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-29 22:25:16 +0000
commit371e9cd5d73f498038bb2dacf7c5d052c66e73a8 (patch)
treebde0ced800f663803cb27444734beba173664e7c /v4l2-spec/vidioc-enuminput.sgml
parent66048dd53c78a9e76b7fad379652e9632bb4df5e (diff)
downloadmediapointer-dvb-s2-371e9cd5d73f498038bb2dacf7c5d052c66e73a8.tar.gz
mediapointer-dvb-s2-371e9cd5d73f498038bb2dacf7c5d052c66e73a8.tar.bz2
Document the orientation flags in ENUMINPUT
From: Adam Baker <linux@baker-net.org.uk> Add documentation for the flags that have been added to VIDIOC_ENUMINPUT to specify the sensor orientation. Signed-off-by: Adam Baker <linux@baker-net.org.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l2-spec/vidioc-enuminput.sgml')
-rw-r--r--v4l2-spec/vidioc-enuminput.sgml19
1 files changed, 18 insertions, 1 deletions
diff --git a/v4l2-spec/vidioc-enuminput.sgml b/v4l2-spec/vidioc-enuminput.sgml
index 1c1486b43..824b47e5f 100644
--- a/v4l2-spec/vidioc-enuminput.sgml
+++ b/v4l2-spec/vidioc-enuminput.sgml
@@ -119,7 +119,7 @@ linkend="standard">.</entry>
<entry><structfield>status</structfield></entry>
<entry>This field provides status information about the
input. See <xref linkend="input-status"> for flags.
-<structfield>status</structfield> is only valid when this is the
+With the exception of the sensor orientation bits <structfield>status</structfield> is only valid when this is the
current input.</entry>
</row>
<row>
@@ -188,6 +188,23 @@ is OK." -->
detect color modulation in the signal.</entry>
</row>
<row>
+ <entry spanname="hspan">Sensor Orientation</entry>
+ </row>
+ <row>
+ <entry><constant>V4L2_IN_ST_HFLIP</constant></entry>
+ <entry>0x00000010</entry>
+ <entry>The input is connected to a device that produces a signal
+that is flipped horizontally and does not correct this before passing the
+signal to userspace.</entry>
+ </row>
+ <row>
+ <entry><constant>V4L2_IN_ST_VFLIP</constant></entry>
+ <entry>0x00000020</entry>
+ <entry>The input is connected to a device that produces a signal
+that is flipped vertically and does not correct this before passing the
+signal to userspace. Note that a 180 degree rotation is the same as HFLIP | VFLIP</entry>
+ </row>
+ <row>
<entry spanname="hspan">Analog Video</entry>
</row>
<row>