From 371e9cd5d73f498038bb2dacf7c5d052c66e73a8 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 29 Mar 2009 22:25:16 +0000 Subject: Document the orientation flags in ENUMINPUT From: Adam Baker Add documentation for the flags that have been added to VIDIOC_ENUMINPUT to specify the sensor orientation. Signed-off-by: Adam Baker Signed-off-by: Mauro Carvalho Chehab --- v4l2-spec/vidioc-enuminput.sgml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'v4l2-spec') 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">. status This field provides status information about the input. See for flags. -status is only valid when this is the +With the exception of the sensor orientation bits status is only valid when this is the current input. @@ -186,6 +186,23 @@ is OK." --> 0x00000004 The hardware supports color decoding, but does not detect color modulation in the signal. + + + Sensor Orientation + + + V4L2_IN_ST_HFLIP + 0x00000010 + 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. + + + V4L2_IN_ST_VFLIP + 0x00000020 + 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 Analog Video -- cgit v1.2.3