diff mbox

[v2,3/4] Document the orientation flags in ENUMINPUT

Message ID 200903292325.16499.linux@baker-net.org.uk (mailing list archive)
State Accepted
Headers show

Commit Message

Adam Baker March 29, 2009, 10:25 p.m. UTC
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>

---

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff -r d8d701594f71 v4l2-spec/vidioc-enuminput.sgml
--- a/v4l2-spec/vidioc-enuminput.sgml	Sun Mar 29 08:45:36 2009 +0200
+++ b/v4l2-spec/vidioc-enuminput.sgml	Sun Mar 29 22:59:44 2009 +0100
@@ -119,7 +119,7 @@ 
 	    <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 @@ 
 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>