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

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

Issue 544323002: Non DCTSIZE multiple width support for JPEG YUV decoding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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: Source/platform/image-decoders/ImageDecoder.h
diff --git a/Source/platform/image-decoders/ImageDecoder.h b/Source/platform/image-decoders/ImageDecoder.h
index 2a305c40b8887d342726adac3a3ba8d2fe3e0420..b1900a477504c58cf733fa116b3d3ed7f925538e 100644
--- a/Source/platform/image-decoders/ImageDecoder.h
+++ b/Source/platform/image-decoders/ImageDecoder.h
@@ -120,7 +120,7 @@ public:
// Decoders which support YUV decoding can override this to
// give potentially different sizes per component.
- virtual IntSize decodedYUVSize(int component) const { return decodedSize(); }
+ virtual IntSize decodedYUVSize(int component, bool memoryAllocation) const { return decodedSize(); }
Stephen White 2014/09/08 16:58:20 Naming nit: memoryAllocation seems a little confus
sugoi1 2014/09/09 15:08:15 Acknowledged.
// This will only differ from size() for ICO (where each frame is a
// different icon) or other formats where different frames are different

Powered by Google App Engine
This is Rietveld 408576698