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

Unified Diff: Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp

Issue 544323002: Non DCTSIZE multiple width support for JPEG YUV decoding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tidying up the code 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
« no previous file with comments | « Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp
diff --git a/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp b/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp
index c089d3f19ef06c0b35be16d571fbc7ef98f7e29c..ef22f6bb2134a4227b64f913ec5c2b65ccb8925b 100644
--- a/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp
+++ b/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp
@@ -93,9 +93,9 @@ void readYUV(size_t maxDecodedBytes, unsigned* outputYWidth, unsigned* outputYHe
ASSERT_TRUE(sizeIsAvailable);
IntSize size = decoder->decodedSize();
- IntSize ySize = decoder->decodedYUVSize(0);
- IntSize uSize = decoder->decodedYUVSize(1);
- IntSize vSize = decoder->decodedYUVSize(2);
+ IntSize ySize = decoder->decodedYUVSize(0, ImageDecoder::ActualSize);
+ IntSize uSize = decoder->decodedYUVSize(1, ImageDecoder::ActualSize);
+ IntSize vSize = decoder->decodedYUVSize(2, ImageDecoder::ActualSize);
ASSERT_TRUE(size.width() == ySize.width());
ASSERT_TRUE(size.height() == ySize.height());
« no previous file with comments | « Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698