Commit a78801a4 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: control.rst: use a table for V4L2_CID_POWER_LINE

The default way to document control enums is via tables.

Use one here too. As the table is simple, just use ASCII
artwork.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent b0b6ef0b
...@@ -154,10 +154,13 @@ Control IDs ...@@ -154,10 +154,13 @@ Control IDs
``V4L2_CID_POWER_LINE_FREQUENCY`` ``(enum)`` ``V4L2_CID_POWER_LINE_FREQUENCY`` ``(enum)``
Enables a power line frequency filter to avoid flicker. Possible Enables a power line frequency filter to avoid flicker. Possible
values for ``enum v4l2_power_line_frequency`` are: values for ``enum v4l2_power_line_frequency`` are:
``V4L2_CID_POWER_LINE_FREQUENCY_DISABLED`` (0),
``V4L2_CID_POWER_LINE_FREQUENCY_50HZ`` (1), ========================================== ==
``V4L2_CID_POWER_LINE_FREQUENCY_60HZ`` (2) and ``V4L2_CID_POWER_LINE_FREQUENCY_DISABLED`` 0
``V4L2_CID_POWER_LINE_FREQUENCY_AUTO`` (3). ``V4L2_CID_POWER_LINE_FREQUENCY_50HZ`` 1
``V4L2_CID_POWER_LINE_FREQUENCY_60HZ`` 2
``V4L2_CID_POWER_LINE_FREQUENCY_AUTO`` 3
========================================== ==
``V4L2_CID_HUE_AUTO`` ``(boolean)`` ``V4L2_CID_HUE_AUTO`` ``(boolean)``
Enables automatic hue control by the device. The effect of setting Enables automatic hue control by the device. The effect of setting
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment