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 #include -#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) {