summaryrefslogtreecommitdiff
path: root/thirdparty/libwebp/enc/vp8enci.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2016-12-28 23:17:42 +0100
committerGitHub <noreply@github.com>2016-12-28 23:17:42 +0100
commit86e428eea0b9ef5c1732af3a5c29b5c365fbf6e8 (patch)
tree847c3a15508aea33384ad9a93e915c268f379ce1 /thirdparty/libwebp/enc/vp8enci.h
parentc798ff15510997fdbe6848687804f5e2cb17eefb (diff)
parente04c7e11ec2fabf34aaf515103bc0b6086e1aabd (diff)
Merge pull request #7350 from volzhs/webp-0.5.2
Update libwebp to 0.5.2
Diffstat (limited to 'thirdparty/libwebp/enc/vp8enci.h')
-rw-r--r--thirdparty/libwebp/enc/vp8enci.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/thirdparty/libwebp/enc/vp8enci.h b/thirdparty/libwebp/enc/vp8enci.h
index c1fbd7644e..5b4e162a58 100644
--- a/thirdparty/libwebp/enc/vp8enci.h
+++ b/thirdparty/libwebp/enc/vp8enci.h
@@ -32,7 +32,7 @@ extern "C" {
// version numbers
#define ENC_MAJ_VERSION 0
#define ENC_MIN_VERSION 5
-#define ENC_REV_VERSION 1
+#define ENC_REV_VERSION 2
enum { MAX_LF_LEVELS = 64, // Maximum loop filter level
MAX_VARIABLE_LEVEL = 67, // last (inclusive) level with variable cost
@@ -325,9 +325,7 @@ int VP8EmitTokens(VP8TBuffer* const b, VP8BitWriter* const bw,
const uint8_t* const probas, int final_pass);
// record the coding of coefficients without knowing the probabilities yet
-int VP8RecordCoeffTokens(const int ctx, const int coeff_type,
- int first, int last,
- const int16_t* const coeffs,
+int VP8RecordCoeffTokens(int ctx, const struct VP8Residual* const res,
VP8TBuffer* const tokens);
// Estimate the final coded size given a set of 'probas'.