Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: third_party/libwebp/webp/demux.h

Issue 22802020: libwebp: upstream animation cherry-picks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libwebp/webp/demux.h
diff --git a/third_party/libwebp/webp/demux.h b/third_party/libwebp/webp/demux.h
index c7cd5d66dbb0405e649bd6972205e99cf9251f79..894ff4ef247e1842c54756fe92ee2bd52f688c2c 100644
--- a/third_party/libwebp/webp/demux.h
+++ b/third_party/libwebp/webp/demux.h
@@ -53,7 +53,7 @@
extern "C" {
#endif
-#define WEBP_DEMUX_ABI_VERSION 0x0100 // MAJOR(8b) + MINOR(8b)
+#define WEBP_DEMUX_ABI_VERSION 0x0101 // MAJOR(8b) + MINOR(8b)
// Note: forward declaring enumerations is not allowed in (strict) C and C++,
// the types are left here for reference.
@@ -136,8 +136,10 @@ struct WebPIterator {
// may still be decoded with the WebP incremental decoder.
WebPData fragment; // The frame or fragment given by 'frame_num' and
// 'fragment_num'.
+ int has_alpha; // True if the frame or fragment contains transparency.
+ WebPMuxAnimBlend blend_method; // Blend operation for the frame.
- uint32_t pad[4]; // padding for later use.
+ uint32_t pad[2]; // padding for later use.
void* private_; // for internal use only.
};

Powered by Google App Engine
This is Rietveld 408576698