X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Flibwebp%2Futils%2Fquant_levels_dec.h;h=9aab06807626315359a4b47dcf927f4dcba77877;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=0288383aeb7498f18a0ae0974a1e73035e225a94;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/libwebp/utils/quant_levels_dec.h b/src/third_party/libwebp/utils/quant_levels_dec.h index 0288383..9aab068 100644 --- a/src/third_party/libwebp/utils/quant_levels_dec.h +++ b/src/third_party/libwebp/utils/quant_levels_dec.h @@ -21,11 +21,12 @@ 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 post-processing -// will be applied to 'num_rows' rows of 'data' starting from 'row'. -// Returns false in case of error (data is NULL, invalid parameters, ...). -int DequantizeLevels(uint8_t* const data, int width, int height, - int row, int num_rows); +// the source was quantized to a reduced number of levels. +// 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 strength); #ifdef __cplusplus } // extern "C"