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

Unified Diff: blimp/client/feature/compositor/decoding_image_generator.h

Issue 1719533002: Modify YUV codecs to match Skia's API change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update DEPS again Created 4 years, 9 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 | « DEPS ('k') | blimp/client/feature/compositor/decoding_image_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/feature/compositor/decoding_image_generator.h
diff --git a/blimp/client/feature/compositor/decoding_image_generator.h b/blimp/client/feature/compositor/decoding_image_generator.h
index 1062cb85b236a1459c0ea740c4120cd02f359051..3a3d2dea6113b89991c38f0e22dac505067fb937 100644
--- a/blimp/client/feature/compositor/decoding_image_generator.h
+++ b/blimp/client/feature/compositor/decoding_image_generator.h
@@ -30,10 +30,11 @@ class DecodingImageGenerator : public SkImageGenerator {
SkPMColor table[],
int* tableCount) override;
- bool onGetYUV8Planes(SkISize sizes[3],
- void* planes[3],
- size_t rowBytes[3],
- SkYUVColorSpace*) override;
+ bool onQueryYUV8(SkYUVSizeInfo* sizeInfo,
+ SkYUVColorSpace* colorSpace) const override;
+
+ bool onGetYUV8Planes(const SkYUVSizeInfo&,
+ void* planes[3]) override;
private:
SkBitmap decoded_bitmap_;
« no previous file with comments | « DEPS ('k') | blimp/client/feature/compositor/decoding_image_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698