summaryrefslogtreecommitdiff
path: root/content/content_protected.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2010-10-03 20:41:31 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2010-10-03 20:41:31 +0000
commitc0b63c111b86492f0571efeab5183ba1ff2be5ad (patch)
tree0459211768f9744c2a31c975614509025442c978 /content/content_protected.h
parentc46e0e60155c204651ce67504e10b8523bfcbdc9 (diff)
downloadnetsurf-c0b63c111b86492f0571efeab5183ba1ff2be5ad.tar.gz
netsurf-c0b63c111b86492f0571efeab5183ba1ff2be5ad.tar.bz2
WebP image support, needs libwebp (from trunk/libwebp) and libvpx.
Only enabled for Amiga build currently, may have colour issues on little-endian CPUs svn path=/trunk/netsurf/; revision=10860
Diffstat (limited to 'content/content_protected.h')
-rw-r--r--content/content_protected.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/content_protected.h b/content/content_protected.h
index c46fa6c6c..6d8d50dc7 100644
--- a/content/content_protected.h
+++ b/content/content_protected.h
@@ -75,6 +75,9 @@
#ifdef WITH_RSVG
#include "image/rsvg.h"
#endif
+#ifdef WITH_WEBP
+#include "image/webp.h"
+#endif
struct bitmap;
@@ -147,6 +150,9 @@ struct content {
#ifdef WITH_PNG
struct content_png_data png;
#endif
+#ifdef WITH_WEBP
+ struct content_webp_data webp;
+#endif
} data;
/**< URL for refresh request, in standard form as from url_join. */