aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_video4linux.txt
diff options
context:
space:
mode:
authorNecip Fazil Yildiran <necip@google.com>2020-08-12 20:40:54 +0000
committerDmitry Vyukov <dvyukov@google.com>2020-08-13 13:50:25 +0200
commitcc59e7e4adf110e2ddd4f8ae57df8ecc7b369b38 (patch)
treef5a33e869b653be70f7141f30057d4ff26f83395 /sys/linux/dev_video4linux.txt
parentf5442bde55872d703f184f8617329f706bad8149 (diff)
sys/linux: use per-field directions in descriptions
Diffstat (limited to 'sys/linux/dev_video4linux.txt')
-rw-r--r--sys/linux/dev_video4linux.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/linux/dev_video4linux.txt b/sys/linux/dev_video4linux.txt
index 138add756..e0c49e035 100644
--- a/sys/linux/dev_video4linux.txt
+++ b/sys/linux/dev_video4linux.txt
@@ -273,6 +273,8 @@ type v4l2_requestbuffers[BUF_TYPE] {
reserved const[0, int32]
}
+# TODO: The field directions needs to be defined. Recursively, v4l2_buffer_union,
+# v4l2_plane, v4l2_plane_union needs checking.
type v4l2_buffer[BUF_TYPE] {
index int32
type flags[BUF_TYPE, int32]
@@ -343,6 +345,8 @@ type v4l2_exportbuffer[BUF_TYPE] {
index int32
plane int32
flags flags[pipe_flags, int32]
+# TODO: This should've been out, look into the problem. Otherwise, the resource is
+# never used.
fd fd_dmabuf[opt]
reserved array[const[0, int32], 11]
}
@@ -499,7 +503,7 @@ v4l2_ext_controls {
ctrl_class flags[v4l2_ext_ctrl_class, int32]
count int32
error_idx int32
- request_fd fd[opt]
+ request_fd fd[opt] (in)
reserved const[0, int32]
controls ptr[inout, v4l2_ext_control]
}