diff options
author | 2015-06-18 12:53:43 -0700 | |
---|---|---|
committer | 2015-06-18 12:53:43 -0700 | |
commit | 6f5e619b877b0dc1a42910637a6ffe37add98001 (patch) | |
tree | 47d908d1994934b33f33282353ae20830078f008 /dm | |
parent | bedd0e87e6e993ebb42d9867fe4651b5c95f47f9 (diff) |
Add SkWebpCodec, for decoding .webp images.
Based on SkImageDecoder_libwebp.
TODO:
Support YUV? (Longer term - may influence our API for SkImageGenerator)
BUG=skia:3257
Review URL: https://codereview.chromium.org/1044433002
Diffstat (limited to 'dm')
-rw-r--r-- | dm/DM.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -259,8 +259,8 @@ static bool codec_supported(const char* ext) { // FIXME: Once other versions of SkCodec are available, we can add them to this // list (and eventually we can remove this check once they are all supported). static const char* const exts[] = { - "bmp", "gif", "jpg", "jpeg", "png", "ico", "wbmp", - "BMP", "GIF", "JPG", "JPEG", "PNG", "ICO", "WBMP" + "bmp", "gif", "jpg", "jpeg", "png", "ico", "wbmp", "webp", + "BMP", "GIF", "JPG", "JPEG", "PNG", "ICO", "WBMP", "WEBP", }; for (uint32_t i = 0; i < SK_ARRAY_COUNT(exts); i++) { |