summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPascal Massimino <pascal.massimino@gmail.com>2015-12-12 13:39:59 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-12-12 13:39:59 +0000
commit46bb1e34b09a3f1c6a11981ac50aa1a240fbbc54 (patch)
treeb72e39c59fd3e7252b8780e25de33680b889be25 /examples
parent2b882e94af4b89d1c306b291775f5a5f07e6bc83 (diff)
parent4077d9447be8f3a9c7db993065c1869ae510616b (diff)
downloadlibwebp-46bb1e34b09a3f1c6a11981ac50aa1a240fbbc54.tar.gz
Merge "gifdec: remove utils.h include"
Diffstat (limited to 'examples')
-rw-r--r--examples/gifdec.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/gifdec.c b/examples/gifdec.c
index b12d2df4..1f15d247 100644
--- a/examples/gifdec.c
+++ b/examples/gifdec.c
@@ -18,9 +18,8 @@
#include <stdlib.h>
#include <string.h>
-#include "utils/utils.h"
-#include "webp/mux_types.h"
#include "webp/encode.h"
+#include "webp/mux_types.h"
#define GIF_TRANSPARENT_COLOR 0x00ffffff
#define GIF_WHITE_COLOR 0xffffffff
@@ -28,6 +27,13 @@
#define GIF_DISPOSE_MASK 0x07
#define GIF_DISPOSE_SHIFT 2
+// from utils/utils.h
+extern void WebPCopyPlane(const uint8_t* src, int src_stride,
+ uint8_t* dst, int dst_stride,
+ int width, int height);
+extern void WebPCopyPixels(const WebPPicture* const src,
+ WebPPicture* const dst);
+
void GIFGetBackgroundColor(const ColorMapObject* const color_map,
int bgcolor_index, int transparent_index,
uint32_t* const bgcolor) {