| Index: third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
|
| index 65ce816863b5a8a378fc0cbc7f67b3c2607e2d2d..6d06ef5c2c7d42066309bdc2bd859a34faacd3f5 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
|
| @@ -73,8 +73,9 @@ class PLATFORM_EXPORT ImageFrameGenerator final
|
|
|
| ~ImageFrameGenerator();
|
|
|
| - // Decodes and scales the specified frame at |index|. The dimensions and
|
| - // output format are given in SkImageInfo. Decoded pixels are written into
|
| + // Decodes and scales the specified frame at |index|. The dimensions and
|
| + // output format are given in SkImageInfo. Decoded pixels are scaled if
|
| + // necessary, applying the specified filter-quality, and then written into
|
| // |pixels| with a stride of |rowBytes|. Returns true if decoding was
|
| // successful.
|
| bool decodeAndScale(SegmentReader*,
|
| @@ -82,7 +83,8 @@ class PLATFORM_EXPORT ImageFrameGenerator final
|
| size_t index,
|
| const SkImageInfo&,
|
| void* pixels,
|
| - size_t rowBytes);
|
| + size_t rowBytes,
|
| + SkFilterQuality = kLow_SkFilterQuality);
|
|
|
| // Decodes YUV components directly into the provided memory planes. Must not
|
| // be called unless getYUVComponentSizes has been called and returned true.
|
|
|