mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-12 11:56:47 +02:00
remove mention of 'lossy-only parameters' from the doc
it's confusing and mildly accurate. BUG=webp:355 Change-Id: Ie9667bcdf429f1092b8a523a473391b741164523
This commit is contained in:
parent
3879074d99
commit
f1f437cc89
@ -102,7 +102,6 @@ struct WebPConfig {
|
|||||||
|
|
||||||
WebPImageHint image_hint; // Hint for image type (lossless only for now).
|
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.
|
int target_size; // if non-zero, set the desired target size in bytes.
|
||||||
// Takes precedence over the 'compression' parameter.
|
// Takes precedence over the 'compression' parameter.
|
||||||
float target_PSNR; // if non-zero, specifies the minimal distortion to
|
float target_PSNR; // if non-zero, specifies the minimal distortion to
|
||||||
@ -198,7 +197,7 @@ WEBP_EXTERN int WebPValidateConfig(const WebPConfig* config);
|
|||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// Input / Output
|
// Input / Output
|
||||||
// Structure for storing auxiliary statistics (mostly for lossy encoding).
|
// Structure for storing auxiliary statistics.
|
||||||
|
|
||||||
struct WebPAuxStats {
|
struct WebPAuxStats {
|
||||||
int coded_size; // final size
|
int coded_size; // final size
|
||||||
|
Loading…
x
Reference in New Issue
Block a user