summaryrefslogtreecommitdiff
path: root/drivers/webp/utils/quant_levels_dec.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/webp/utils/quant_levels_dec.h')
-rw-r--r--drivers/webp/utils/quant_levels_dec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/webp/utils/quant_levels_dec.h b/drivers/webp/utils/quant_levels_dec.h
index 29c7e6e205..c99a475386 100644
--- a/drivers/webp/utils/quant_levels_dec.h
+++ b/drivers/webp/utils/quant_levels_dec.h
@@ -21,11 +21,11 @@ extern "C" {
#endif
// Apply post-processing to input 'data' of size 'width'x'height' assuming that
-// the source was quantized to a reduced number of levels.
+// the source was quantized to a reduced number of levels. 'stride' is in bytes.
// Strength is in [0..100] and controls the amount of dithering applied.
// Returns false in case of error (data is NULL, invalid parameters,
// malloc failure, ...).
-int WebPDequantizeLevels(uint8_t* const data, int width, int height,
+int WebPDequantizeLevels(uint8_t* const data, int width, int height, int stride,
int strength);
#ifdef __cplusplus