lkml.org 
[lkml]   [2020]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/13] media: ext-ctrls-jpeg.rst: cleanup V4L2_CID_JPEG_COMPRESSION_QUALITY text
    Date
    The text is repeating the name of the control, which causes
    it to be displayed outside the page with PDF output.

    Besides that, this is the only JPEG control doing that. Removing
    the name duplication doesn't affect the description, but, instead,
    make it nicer.

    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    ---
    .../userspace-api/media/v4l/ext-ctrls-jpeg.rst | 13 ++++++-------
    1 file changed, 6 insertions(+), 7 deletions(-)

    diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-jpeg.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-jpeg.rst
    index e07a2dbcd65d..60f9a09422d6 100644
    --- a/Documentation/userspace-api/media/v4l/ext-ctrls-jpeg.rst
    +++ b/Documentation/userspace-api/media/v4l/ext-ctrls-jpeg.rst
    @@ -64,13 +64,12 @@ JPEG Control IDs
    .. _jpeg-quality-control:

    ``V4L2_CID_JPEG_COMPRESSION_QUALITY (integer)``
    - ``V4L2_CID_JPEG_COMPRESSION_QUALITY`` control determines trade-off
    - between image quality and size. It provides simpler method for
    - applications to control image quality, without a need for direct
    - reconfiguration of luminance and chrominance quantization tables. In
    - cases where a driver uses quantization tables configured directly by
    - an application, using interfaces defined elsewhere,
    - ``V4L2_CID_JPEG_COMPRESSION_QUALITY`` control should be set by
    + Determines trade-off between image quality and size.
    + It provides simpler method for applications to control image quality,
    + without a need for direct reconfiguration of luminance and chrominance
    + quantization tables. In cases where a driver uses quantization tables
    + configured directly by an application, using interfaces defined
    + elsewhere, ``V4L2_CID_JPEG_COMPRESSION_QUALITY`` control should be set by
    driver to 0.

    The value range of this control is driver-specific. Only positive,
    --
    2.29.2
    \
     
     \ /
      Last update: 2020-12-10 12:04    [W:3.277 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site