From f1f437cc89be3c9d7c888c245fef849adc30dc51 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Sun, 5 Nov 2017 01:39:06 -0800 Subject: [PATCH] remove mention of 'lossy-only parameters' from the doc it's confusing and mildly accurate. BUG=webp:355 Change-Id: Ie9667bcdf429f1092b8a523a473391b741164523 --- src/webp/encode.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/webp/encode.h b/src/webp/encode.h index 976f2353..7ec3543d 100644 --- a/src/webp/encode.h +++ b/src/webp/encode.h @@ -102,7 +102,6 @@ struct WebPConfig { WebPImageHint image_hint; // Hint for image type (lossless only for now). - // Parameters related to lossy compression only: int target_size; // if non-zero, set the desired target size in bytes. // Takes precedence over the 'compression' parameter. float target_PSNR; // if non-zero, specifies the minimal distortion to @@ -198,7 +197,7 @@ WEBP_EXTERN int WebPValidateConfig(const WebPConfig* config); //------------------------------------------------------------------------------ // Input / Output -// Structure for storing auxiliary statistics (mostly for lossy encoding). +// Structure for storing auxiliary statistics. struct WebPAuxStats { int coded_size; // final size