Index: src/codec/SkJpegCodec.h |
diff --git a/src/codec/SkJpegCodec.h b/src/codec/SkJpegCodec.h |
index 8e2db81b73a1ff8f1a6b6a6407721d44ce089313..283dd8fe3779551ea2928423d5dcac7990dd742a 100644 |
--- a/src/codec/SkJpegCodec.h |
+++ b/src/codec/SkJpegCodec.h |
@@ -48,6 +48,10 @@ protected: |
Result onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options&, |
SkPMColor*, int*, int*) override; |
+ bool onQueryYUV8(YUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const override; |
+ |
+ Result onGetYUV8Planes(const YUVSizeInfo& sizeInfo, void* pixels[3]) override; |
+ |
SkEncodedFormat onGetEncodedFormat() const override { |
return kJPEG_SkEncodedFormat; |
} |