diff options
author | Ingo Molnar <mingo@kernel.org> | 2014-08-22 04:04:15 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-08-22 04:04:15 -0400 |
commit | 80b304fd00e8b667775ff791121b61ecd7cd0c03 (patch) | |
tree | b4f2ec59fe062c43343ee4c2f10a6bcd0e4dcd1b /Documentation/DocBook/media/v4l/io.xml | |
parent | fb21b84e7f809ef04b1e5aed5d463cf0d4866638 (diff) | |
parent | 6a7519e81321343165f89abb8b616df186d3e57a (diff) |
Merge tag 'efi-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi into x86/urgent
Pull EFI fixes from Matt Fleming:
* WARN_ON(!spin_is_locked()) always triggers on non-SMP machines.
Swap it for the more canonical lockdep_assert_held() which always
does the right thing - Guenter Roeck
* Assign the correct value to efi.runtime_version on arm64 so that all
the runtime services can be invoked - Semen Protsenko
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/DocBook/media/v4l/io.xml')
-rw-r--r-- | Documentation/DocBook/media/v4l/io.xml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/DocBook/media/v4l/io.xml b/Documentation/DocBook/media/v4l/io.xml index a086a5db7a18..e5e8325aa3d7 100644 --- a/Documentation/DocBook/media/v4l/io.xml +++ b/Documentation/DocBook/media/v4l/io.xml | |||
@@ -870,7 +870,8 @@ should set this to 0.</entry> | |||
870 | If the application sets this to 0 for an output stream, then | 870 | If the application sets this to 0 for an output stream, then |
871 | <structfield>bytesused</structfield> will be set to the size of the | 871 | <structfield>bytesused</structfield> will be set to the size of the |
872 | plane (see the <structfield>length</structfield> field of this struct) | 872 | plane (see the <structfield>length</structfield> field of this struct) |
873 | by the driver.</entry> | 873 | by the driver. Note that the actual image data starts at |
874 | <structfield>data_offset</structfield> which may not be 0.</entry> | ||
874 | </row> | 875 | </row> |
875 | <row> | 876 | <row> |
876 | <entry>__u32</entry> | 877 | <entry>__u32</entry> |
@@ -919,6 +920,10 @@ should set this to 0.</entry> | |||
919 | <entry>Offset in bytes to video data in the plane. | 920 | <entry>Offset in bytes to video data in the plane. |
920 | Drivers must set this field when <structfield>type</structfield> | 921 | Drivers must set this field when <structfield>type</structfield> |
921 | refers to an input stream, applications when it refers to an output stream. | 922 | refers to an input stream, applications when it refers to an output stream. |
923 | Note that data_offset is included in <structfield>bytesused</structfield>. | ||
924 | So the size of the image in the plane is | ||
925 | <structfield>bytesused</structfield>-<structfield>data_offset</structfield> at | ||
926 | offset <structfield>data_offset</structfield> from the start of the plane. | ||
922 | </entry> | 927 | </entry> |
923 | </row> | 928 | </row> |
924 | <row> | 929 | <row> |
@@ -1066,7 +1071,7 @@ state, in the application domain so to say.</entry> | |||
1066 | <entry>Drivers set or clear this flag when calling the | 1071 | <entry>Drivers set or clear this flag when calling the |
1067 | <constant>VIDIOC_DQBUF</constant> ioctl. It may be set by video | 1072 | <constant>VIDIOC_DQBUF</constant> ioctl. It may be set by video |
1068 | capture devices when the buffer contains a compressed image which is a | 1073 | capture devices when the buffer contains a compressed image which is a |
1069 | key frame (or field), &ie; can be decompressed on its own. Also know as | 1074 | key frame (or field), &ie; can be decompressed on its own. Also known as |
1070 | an I-frame. Applications can set this bit when <structfield>type</structfield> | 1075 | an I-frame. Applications can set this bit when <structfield>type</structfield> |
1071 | refers to an output stream.</entry> | 1076 | refers to an output stream.</entry> |
1072 | </row> | 1077 | </row> |