mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-18 06:49:53 +02:00
add DequantizeLevels() placeholder
will be called by alpha post-processing, although doing nothing for now. Gradient smoothing would be nice-to-have here. Patch welcome! Change-Id: I534cde866bdc75da22d0f0a6d1373c90e21366f3
This commit is contained in:
@ -27,6 +27,11 @@ extern "C" {
|
||||
int QuantizeLevels(uint8_t* data, int width, int height, int num_levels,
|
||||
float* mse);
|
||||
|
||||
// Apply post-processing to input 'data' of size 'width'x'height' assuming
|
||||
// source what quantized to a reduced number of levels.
|
||||
// Returns false in case of error (data is NULL, invalid parameters, ...).
|
||||
int DequantizeLevels(uint8_t* data, int width, int height);
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user