Web lists-archives.org

[PATCH] v4l2-spec: write-only controls




Hello Michael-

Please fold this new control flag into the v4l2spec.

Thanks,

	Brandon

diff -Naur v4l2spec-0.24/vidioc-queryctrl.sgml v4l2spec-0.24a/vidioc-queryctrl.sgml
--- v4l2spec-0.24/vidioc-queryctrl.sgml	2008-03-06 23:42:13.000000000 +0800
+++ v4l2spec-0.24a/vidioc-queryctrl.sgml	2008-04-16 17:27:36.000000000 +0800
@@ -361,6 +361,15 @@
             <entry>A hint that this control is best represented as a
 slider-like element in a user interface.</entry>
           </row>
+          <row>
+            <entry><constant>V4L2_CTRL_FLAG_WRITE_ONLY</constant></entry>
+            <entry>0x0040</entry>
+            <entry>This control is permanently writable only. Any
+attempt to read the control will result in an EACCES error code. This
+flag is typically present for relative controls or action controls where
+writing a value will cause the device to carry out a given action
+(e. g. motor control) but no meaningful value can be returned.</entry>
+          </row>
         </tbody>
       </tgroup>
     </table>

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list