Index: third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h |
diff --git a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h |
index dd2c690cc513aecad60f42b92901c39f9e5f9fb3..98e5a5b4f3f6c3477399fab28668e04d1b60a6f7 100644 |
--- a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h |
+++ b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h |
@@ -54,6 +54,9 @@ public: |
bool decodeToYUV() override; |
void setImagePlanes(PassOwnPtr<ImagePlanes>) override; |
bool hasImagePlanes() const { return m_imagePlanes; } |
+ bool canDecodeToRGB565() override; |
+ bool setDecodeRGB565Enabled(bool) override; |
+ bool decodeToRGB565Enabled() const { return m_decodeToRGB565; } |
bool outputScanlines(); |
unsigned desiredScaleNumerator() const; |
@@ -77,6 +80,7 @@ private: |
OwnPtr<ImagePlanes> m_imagePlanes; |
IntSize m_decodedSize; |
bool m_hasColorProfile; |
+ bool m_decodeToRGB565; |
}; |
} // namespace blink |