media: ext-ctrls-codec-stateless.rst: change a FWHT flag description
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 10 Dec 2020 07:20:11 +0000 (08:20 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Mar 2021 10:59:39 +0000 (11:59 +0100)
Instead of using "- 1", use "minus one".

The reason is that, if the table is split like:

  V4L2_FWHT_FL_COMPONENTS_NUM_MSK  0x00070000  The number of color components
                                               - 1.

One might not realize the meaning of the second line.

As a side effect, using text instead of arabic numbers is
more appropriate for formal documents like this spec.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst

index 01e3b1a3fb9909086248fc2f0c0fd2fcb2032534..e1537ffc6eaab1beaeb40d79464152eac737d8ef 100644 (file)
@@ -778,7 +778,7 @@ FWHT Flags
       - Set if this is an I-frame.
     * - ``V4L2_FWHT_FL_COMPONENTS_NUM_MSK``
       - 0x00070000
-      - The number of color components - 1.
+      - The number of color components minus one.
     * - ``V4L2_FWHT_FL_PIXENC_MSK``
       - 0x00180000
       - The mask for the pixel encoding.