mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
[media] DocBook media: document new u8 and u16 control types
These types are needed for the upcoming Motion Detection matrix controls, so document them. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
dda4a4d5ea
commit
5e6ec6b0f7
2 changed files with 36 additions and 1 deletions
|
@ -183,6 +183,20 @@ type <constant>V4L2_CTRL_TYPE_INTEGER64</constant> and
|
||||||
<entry><structfield>string</structfield></entry>
|
<entry><structfield>string</structfield></entry>
|
||||||
<entry>A pointer to a string. Valid if this control is of
|
<entry>A pointer to a string. Valid if this control is of
|
||||||
type <constant>V4L2_CTRL_TYPE_STRING</constant>.</entry>
|
type <constant>V4L2_CTRL_TYPE_STRING</constant>.</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>__u8 *</entry>
|
||||||
|
<entry><structfield>p_u8</structfield></entry>
|
||||||
|
<entry>A pointer to a matrix control of unsigned 8-bit values.
|
||||||
|
Valid if this control is of type <constant>V4L2_CTRL_TYPE_U8</constant>.</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
<entry>__u16 *</entry>
|
||||||
|
<entry><structfield>p_u16</structfield></entry>
|
||||||
|
<entry>A pointer to a matrix control of unsigned 16-bit values.
|
||||||
|
Valid if this control is of type <constant>V4L2_CTRL_TYPE_U16</constant>.</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry></entry>
|
<entry></entry>
|
||||||
|
|
|
@ -289,7 +289,8 @@ accepts values 0-511 and the driver reports 0-65535, step should be
|
||||||
<entry>The default value of a
|
<entry>The default value of a
|
||||||
<constant>V4L2_CTRL_TYPE_INTEGER</constant>, <constant>_INTEGER64</constant>,
|
<constant>V4L2_CTRL_TYPE_INTEGER</constant>, <constant>_INTEGER64</constant>,
|
||||||
<constant>_BOOLEAN</constant>, <constant>_BITMASK</constant>,
|
<constant>_BOOLEAN</constant>, <constant>_BITMASK</constant>,
|
||||||
<constant>_MENU</constant> or <constant>_INTEGER_MENU</constant> control.
|
<constant>_MENU</constant>, <constant>_INTEGER_MENU</constant>,
|
||||||
|
<constant>_U8</constant> or <constant>_U16</constant> control.
|
||||||
Not valid for other types of controls.
|
Not valid for other types of controls.
|
||||||
Note that drivers reset controls to their default value only when the
|
Note that drivers reset controls to their default value only when the
|
||||||
driver is first loaded, never afterwards.
|
driver is first loaded, never afterwards.
|
||||||
|
@ -510,6 +511,26 @@ ioctl returns the name of the control class and this control type.
|
||||||
Older drivers which do not support this feature return an
|
Older drivers which do not support this feature return an
|
||||||
&EINVAL;.</entry>
|
&EINVAL;.</entry>
|
||||||
</row>
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry><constant>V4L2_CTRL_TYPE_U8</constant></entry>
|
||||||
|
<entry>any</entry>
|
||||||
|
<entry>any</entry>
|
||||||
|
<entry>any</entry>
|
||||||
|
<entry>An unsigned 8-bit valued control ranging from minimum to
|
||||||
|
maximum inclusive. The step value indicates the increment between
|
||||||
|
values which are actually different on the hardware. This type is only used
|
||||||
|
in array controls.</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry><constant>V4L2_CTRL_TYPE_U16</constant></entry>
|
||||||
|
<entry>any</entry>
|
||||||
|
<entry>any</entry>
|
||||||
|
<entry>any</entry>
|
||||||
|
<entry>An unsigned 16-bit valued control ranging from minimum to
|
||||||
|
maximum inclusive. The step value indicates the increment between
|
||||||
|
values which are actually different on the hardware. This type is only used
|
||||||
|
in array controls.</entry>
|
||||||
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Add table
Reference in a new issue