Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1091)

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h

Issue 1403393004: JPEGImageDecoder RGB565 and downsample support and related Skia imagegenerator changes Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
index 3507ba973494c3a0b1c81c87265749efa17ac94b..3f484c031691fd5cf2f067b31a1f4c60b4319542 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
@@ -292,6 +292,8 @@ public:
virtual bool canDecodeToYUV() { return false; }
virtual bool decodeToYUV() { return false; }
virtual void setImagePlanes(PassOwnPtr<ImagePlanes>) { }
+ virtual bool canDecodeToRGB565() { return false; }
+ virtual bool setDecodeRGB565Enabled(const bool enable) { return false; }
protected:
// Calculates the most recent frame whose image data may be needed in

Powered by Google App Engine
This is Rietveld 408576698