| /* | |
| * Copyright 2020 Google LLC | |
| * | |
| * Use of this source code is governed by a BSD-style license that can be | |
| * found in the LICENSE file. | |
| */ | |
| #include "include/core/SkBitmap.h" | |
| #include "include/core/SkFilterQuality.h" | |
| #include "include/core/SkImage.h" | |
| struct SkImageInfo; | |
| struct SkIRect; | |
| /** Generic/synchronous implementation for SkImage:: and SkSurface::asyncRescaleAndReadPixels. */ | |
| void SkRescaleAndReadPixels(SkBitmap src, | |
| const SkImageInfo& resultInfo, | |
| const SkIRect& srcRect, | |
| SkImage::RescaleGamma, | |
| SkFilterQuality, | |
| SkImage::ReadPixelsCallback, | |
| SkImage::ReadPixelsContext); |