| Index: third_party/libwebp/enc/vp8i_enc.h
|
| diff --git a/third_party/libwebp/enc/vp8enci.h b/third_party/libwebp/enc/vp8i_enc.h
|
| similarity index 97%
|
| rename from third_party/libwebp/enc/vp8enci.h
|
| rename to third_party/libwebp/enc/vp8i_enc.h
|
| index 5b4e162a58f34b487cc03093484482fdd08e405b..93c95ecbfb5a915ad9c1ad37c57fdb91bd4c9c8e 100644
|
| --- a/third_party/libwebp/enc/vp8enci.h
|
| +++ b/third_party/libwebp/enc/vp8i_enc.h
|
| @@ -15,10 +15,10 @@
|
| #define WEBP_ENC_VP8ENCI_H_
|
|
|
| #include <string.h> // for memcpy()
|
| -#include "../dec/common.h"
|
| +#include "../dec/common_dec.h"
|
| #include "../dsp/dsp.h"
|
| -#include "../utils/bit_writer.h"
|
| -#include "../utils/thread.h"
|
| +#include "../utils/bit_writer_utils.h"
|
| +#include "../utils/thread_utils.h"
|
| #include "../utils/utils.h"
|
| #include "../webp/encode.h"
|
|
|
| @@ -31,8 +31,8 @@ extern "C" {
|
|
|
| // version numbers
|
| #define ENC_MAJ_VERSION 0
|
| -#define ENC_MIN_VERSION 5
|
| -#define ENC_REV_VERSION 2
|
| +#define ENC_MIN_VERSION 6
|
| +#define ENC_REV_VERSION 0
|
|
|
| enum { MAX_LF_LEVELS = 64, // Maximum loop filter level
|
| MAX_VARIABLE_LEVEL = 67, // last (inclusive) level with variable cost
|
| @@ -219,7 +219,6 @@ typedef struct {
|
| // right neighbouring data (samples, predictions, contexts, ...)
|
| typedef struct {
|
| int x_, y_; // current macroblock
|
| - int y_stride_, uv_stride_; // respective strides
|
| uint8_t* yuv_in_; // input samples
|
| uint8_t* yuv_out_; // output samples
|
| uint8_t* yuv_out2_; // secondary buffer swapped with yuv_out_.
|
| @@ -474,14 +473,6 @@ int VP8EncStartAlpha(VP8Encoder* const enc); // start alpha coding process
|
| int VP8EncFinishAlpha(VP8Encoder* const enc); // finalize compressed data
|
| int VP8EncDeleteAlpha(VP8Encoder* const enc); // delete compressed data
|
|
|
| - // in filter.c
|
| -void VP8SSIMAddStats(const VP8DistoStats* const src, VP8DistoStats* const dst);
|
| -void VP8SSIMAccumulatePlane(const uint8_t* src1, int stride1,
|
| - const uint8_t* src2, int stride2,
|
| - int W, int H, VP8DistoStats* const stats);
|
| -double VP8SSIMGet(const VP8DistoStats* const stats);
|
| -double VP8SSIMGetSquaredError(const VP8DistoStats* const stats);
|
| -
|
| // autofilter
|
| void VP8InitFilter(VP8EncIterator* const it);
|
| void VP8StoreFilterStats(VP8EncIterator* const it);
|
|
|