diff options
author | msarett <msarett@google.com> | 2015-04-15 07:32:19 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-15 07:32:20 -0700 |
commit | e16b04aa6041efb6507546547737e9603fa1606e (patch) | |
tree | 3bd78e41a9ff3df445c64d3c0429d83bb698570d /dm/DM.cpp | |
parent | f91e676f941c7e9ec91ac298eaa32e4bf8f52762 (diff) |
SkJpegCodec
Enables basic decoding for jpegs
Includes rewinding
565, YUV, and Jpeg encoding are not yet implemented
BUG=skia:3257
Review URL: https://codereview.chromium.org/1076923002
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r-- | dm/DM.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -223,8 +223,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", "png", "ico", "wbmp", - "BMP", "GIF", "PNG", "ICO", "WBMP" + "bmp", "gif", "jpg", "jpeg", "png", "ico", "wbmp", + "BMP", "GIF", "JPG", "JPEG", "PNG", "ICO", "WBMP" }; for (uint32_t i = 0; i < SK_ARRAY_COUNT(exts); i++) { |