| Index: third_party/libwebp/dec/webpi_dec.h
|
| diff --git a/third_party/libwebp/dec/webpi.h b/third_party/libwebp/dec/webpi_dec.h
|
| similarity index 90%
|
| rename from third_party/libwebp/dec/webpi.h
|
| rename to third_party/libwebp/dec/webpi_dec.h
|
| index 991b194c228c61b310c44d6e8e57e76863deb207..696abc1958aac8e82db841d7520bd1857435bf22 100644
|
| --- a/third_party/libwebp/dec/webpi.h
|
| +++ b/third_party/libwebp/dec/webpi_dec.h
|
| @@ -18,8 +18,8 @@
|
| extern "C" {
|
| #endif
|
|
|
| -#include "../utils/rescaler.h"
|
| -#include "./decode_vp8.h"
|
| +#include "../utils/rescaler_utils.h"
|
| +#include "./vp8_dec.h"
|
|
|
| //------------------------------------------------------------------------------
|
| // WebPDecParams: Decoding output parameters. Transient internal object.
|
| @@ -38,27 +38,18 @@ struct WebPDecParams {
|
|
|
| int last_y; // coordinate of the line that was last output
|
| const WebPDecoderOptions* options; // if not NULL, use alt decoding features
|
| - // rescalers
|
| - WebPRescaler scaler_y, scaler_u, scaler_v, scaler_a;
|
| +
|
| + WebPRescaler* scaler_y, *scaler_u, *scaler_v, *scaler_a; // rescalers
|
| void* memory; // overall scratch memory for the output work.
|
|
|
| OutputFunc emit; // output RGB or YUV samples
|
| OutputAlphaFunc emit_alpha; // output alpha channel
|
| OutputRowFunc emit_alpha_row; // output one line of rescaled alpha values
|
| -
|
| - WebPDecBuffer* final_output; // In case the user supplied a slow-memory
|
| - // output, we decode image in temporary buffer
|
| - // (this::output) and copy it here.
|
| - WebPDecBuffer tmp_buffer; // this::output will point to this one in case
|
| - // of slow memory.
|
| };
|
|
|
| // Should be called first, before any use of the WebPDecParams object.
|
| void WebPResetDecParams(WebPDecParams* const params);
|
|
|
| -// Delete all memory (after an error occurred, for instance)
|
| -void WebPFreeDecParams(WebPDecParams* const params);
|
| -
|
| //------------------------------------------------------------------------------
|
| // Header parsing helpers
|
|
|
|
|