mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
doc-rst: control: read the example captions
Those got removed by the doc conversion. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
09e6b3267a
commit
63ea6309f4
1 changed files with 4 additions and 0 deletions
|
@ -372,6 +372,8 @@ more menu type controls.
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
:caption: Example 8: Enumerating all user controls
|
||||||
|
|
||||||
|
|
||||||
struct v4l2_queryctrl queryctrl;
|
struct v4l2_queryctrl queryctrl;
|
||||||
struct v4l2_querymenu querymenu;
|
struct v4l2_querymenu querymenu;
|
||||||
|
@ -435,6 +437,7 @@ more menu type controls.
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
:caption: Example 9: Enumerating all user controls (alternative)
|
||||||
|
|
||||||
memset(&queryctrl, 0, sizeof(queryctrl));
|
memset(&queryctrl, 0, sizeof(queryctrl));
|
||||||
|
|
||||||
|
@ -459,6 +462,7 @@ more menu type controls.
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
:caption: Example 10: Changing controls
|
||||||
|
|
||||||
struct v4l2_queryctrl queryctrl;
|
struct v4l2_queryctrl queryctrl;
|
||||||
struct v4l2_control control;
|
struct v4l2_control control;
|
||||||
|
|
Loading…
Reference in a new issue