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

Unified Diff: Source/platform/graphics/ImageFrameGenerator.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: 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
Index: Source/platform/graphics/ImageFrameGenerator.h
diff --git a/Source/platform/graphics/ImageFrameGenerator.h b/Source/platform/graphics/ImageFrameGenerator.h
index b3fbf58a2816e98b9bcbd5b80a0d21ae24e2beb4..e9ea0d407690b36f3e870a9ec7781ddacc19d2aa 100644
--- a/Source/platform/graphics/ImageFrameGenerator.h
+++ b/Source/platform/graphics/ImageFrameGenerator.h
@@ -72,7 +72,7 @@ public:
bool decodeAndScale(const SkImageInfo&, size_t index, void* pixels, size_t rowBytes);
// Decodes YUV components directly into the provided memory planes.
- bool decodeToYUV(void* planes[3], size_t rowBytes[3]);
+ bool decodeToYUV(SkISize componentSizes[3], void* planes[3], size_t rowBytes[3]);
void setData(PassRefPtr<SharedBuffer>, bool allDataReceived);
« no previous file with comments | « Source/platform/graphics/DecodingImageGenerator.cpp ('k') | Source/platform/graphics/ImageFrameGenerator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698