Home
last modified time | relevance | path

Searched refs:rescaleMode (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/image/
DSkRescaleAndReadPixels.cpp21 SkImage::RescaleMode rescaleMode, in SkRescaleAndReadPixels() argument
32 if (rescaleMode != SkImage::RescaleMode::kNearest) { in SkRescaleAndReadPixels()
49 if (rescaleMode != SkImage::RescaleMode::kNearest) { in SkRescaleAndReadPixels()
50 rescaleMode = SkImage::RescaleMode::kRepeatedLinear; in SkRescaleAndReadPixels()
54 auto rescaling_to_sampling = [](SkImage::RescaleMode rescaleMode) { in SkRescaleAndReadPixels() argument
56 if (rescaleMode == SkImage::RescaleMode::kRepeatedLinear) { in SkRescaleAndReadPixels()
58 } else if (rescaleMode == SkImage::RescaleMode::kRepeatedCubic) { in SkRescaleAndReadPixels()
63 SkSamplingOptions sampling = rescaling_to_sampling(rescaleMode); in SkRescaleAndReadPixels()
DSkSurface.cpp80 RescaleMode rescaleMode, in onAsyncRescaleAndReadPixels() argument
98 return SkRescaleAndReadPixels(src, info, srcRect, rescaleGamma, rescaleMode, callback, in onAsyncRescaleAndReadPixels()
248 RescaleMode rescaleMode, in asyncRescaleAndReadPixels() argument
257 info, srcRect, rescaleGamma, rescaleMode, callback, context); in asyncRescaleAndReadPixels()
265 RescaleMode rescaleMode, in asyncRescaleAndReadPixelsYUV420() argument
278 rescaleMode, in asyncRescaleAndReadPixelsYUV420()
DSkImage.cpp78 RescaleMode rescaleMode, in asyncRescaleAndReadPixels() argument
87 info, srcRect, rescaleGamma, rescaleMode, callback, context); in asyncRescaleAndReadPixels()
95 RescaleMode rescaleMode, in asyncRescaleAndReadPixelsYUV420() argument
108 rescaleMode, in asyncRescaleAndReadPixelsYUV420()
275 RescaleMode rescaleMode, in onAsyncRescaleAndReadPixels() argument
295 return SkRescaleAndReadPixels(src, info, srcRect, rescaleGamma, rescaleMode, callback, context); in onAsyncRescaleAndReadPixels()
DSkSurface_Gpu.cpp157 RescaleMode rescaleMode, in onAsyncRescaleAndReadPixels() argument
166 sdc->asyncRescaleAndReadPixels(dContext, info, srcRect, rescaleGamma, rescaleMode, callback, in onAsyncRescaleAndReadPixels()
175 RescaleMode rescaleMode, in onAsyncRescaleAndReadPixelsYUV420() argument
190 rescaleMode, in onAsyncRescaleAndReadPixelsYUV420()
DSkImage_Gpu.cpp333 RescaleMode rescaleMode, in onAsyncRescaleAndReadPixels() argument
349 ctx->asyncRescaleAndReadPixels(dContext, info, srcRect, rescaleGamma, rescaleMode, in onAsyncRescaleAndReadPixels()
358 RescaleMode rescaleMode, in onAsyncRescaleAndReadPixelsYUV420() argument
380 rescaleMode, in onAsyncRescaleAndReadPixelsYUV420()
/external/skia/src/gpu/
DGrSurfaceContext.cpp636 RescaleMode rescaleMode, in asyncRescaleAndReadPixels() argument
690 tempFC = this->rescale(info, kTopLeft_GrSurfaceOrigin, srcRect, rescaleGamma, rescaleMode); in asyncRescaleAndReadPixels()
880 RescaleMode rescaleMode, in asyncRescaleAndReadPixelsYUV420() argument
920 rescaleMode); in asyncRescaleAndReadPixelsYUV420()
1139 RescaleMode rescaleMode) { in rescale() argument
1151 rescaleMode)) { in rescale()
1161 RescaleMode rescaleMode) { in rescaleInto() argument
1192 rescaleMode = RescaleMode::kNearest; in rescaleInto()
1237 if (rescaleMode != RescaleMode::kNearest) { in rescaleInto()
1269 if (rescaleMode == RescaleMode::kRepeatedCubic) { in rescaleInto()
[all …]
/external/skia/gm/
Dasyncrescaleandread.cpp49 SkImage::RescaleMode rescaleMode) { in do_read_and_scale() argument
51 src->asyncRescaleAndReadPixels(ii, srcRect, rescaleGamma, rescaleMode, async_callback, in do_read_and_scale()
76 SkImage::RescaleMode rescaleMode, in do_read_and_scale_yuv() argument
86 rescaleGamma, rescaleMode, async_callback, &asyncContext); in do_read_and_scale_yuv()
/external/skia/include/core/
DSkSurface.h793 RescaleMode rescaleMode,
831 RescaleMode rescaleMode,
DSkImage.h922 RescaleMode rescaleMode,
960 RescaleMode rescaleMode,