Home
last modified time | relevance | path

Searched refs:RescaleMode (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/image/
DSkRescaleAndReadPixels.cpp21 SkImage::RescaleMode rescaleMode, in SkRescaleAndReadPixels()
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()
56 if (rescaleMode == SkImage::RescaleMode::kRepeatedLinear) { in SkRescaleAndReadPixels()
58 } else if (rescaleMode == SkImage::RescaleMode::kRepeatedCubic) { in SkRescaleAndReadPixels()
DSkSurface_Gpu.h40 RescaleGamma rescaleGamma, RescaleMode,
48 RescaleMode,
DSkSurface_Base.h61 RescaleMode,
72 RescaleMode,
DSkImage_Gpu.h61 RescaleMode,
70 RescaleMode,
DSkSurface.cpp80 RescaleMode rescaleMode, in onAsyncRescaleAndReadPixels()
104 const SkISize& dstSize, RescaleGamma rescaleGamma, RescaleMode, in onAsyncRescaleAndReadPixelsYUV420() argument
248 RescaleMode rescaleMode, in asyncRescaleAndReadPixels()
265 RescaleMode rescaleMode, in asyncRescaleAndReadPixelsYUV420()
DSkRescaleAndReadPixels.h20 SkImage::RescaleMode,
DSkImage_Base.h66 RescaleMode,
77 RescaleMode,
DSkImage.cpp78 RescaleMode rescaleMode, in asyncRescaleAndReadPixels()
95 RescaleMode rescaleMode, in asyncRescaleAndReadPixelsYUV420()
275 RescaleMode rescaleMode, in onAsyncRescaleAndReadPixels()
303 RescaleMode, in onAsyncRescaleAndReadPixelsYUV420() argument
DSkSurface_Gpu.cpp157 RescaleMode rescaleMode, in onAsyncRescaleAndReadPixels()
175 RescaleMode rescaleMode, in onAsyncRescaleAndReadPixelsYUV420()
DSkImage_Gpu.cpp333 RescaleMode rescaleMode, in onAsyncRescaleAndReadPixels()
358 RescaleMode rescaleMode, in onAsyncRescaleAndReadPixelsYUV420()
/external/skia/src/gpu/
DGrSurfaceContext.h108 using RescaleMode = SkImage::RescaleMode; variable
115 RescaleMode,
126 RescaleMode,
181 SkImage::RescaleMode);
191 SkImage::RescaleMode);
DGrSurfaceContext.cpp636 RescaleMode rescaleMode, in asyncRescaleAndReadPixels()
880 RescaleMode rescaleMode, in asyncRescaleAndReadPixelsYUV420()
1139 RescaleMode rescaleMode) { in rescale()
1161 RescaleMode rescaleMode) { in rescaleInto()
1192 rescaleMode = RescaleMode::kNearest; in rescaleInto()
1237 if (rescaleMode != RescaleMode::kNearest) { in rescaleInto()
1269 if (rescaleMode == RescaleMode::kRepeatedCubic) { in rescaleInto()
1288 auto filter = rescaleMode == RescaleMode::kNearest ? GrSamplerState::Filter::kNearest in rescaleInto()
/external/skia/gm/
Dasyncrescaleandread.cpp49 SkImage::RescaleMode rescaleMode) { in do_read_and_scale()
76 SkImage::RescaleMode rescaleMode, in do_read_and_scale_yuv()
140 SkImage::RescaleMode::kNearest, in do_rescale_grid()
141 SkImage::RescaleMode::kRepeatedLinear, in do_rescale_grid()
142 SkImage::RescaleMode::kRepeatedCubic}) { in do_rescale_grid()
303 {400, 300}, SkImage::RescaleGamma::kSrc, SkImage::RescaleMode::kNearest, &scopeExit);
423 SkImage::RescaleMode::kRepeatedCubic,
/external/skia/include/core/
DSkSurface.h758 using RescaleMode = SkImage::RescaleMode; variable
793 RescaleMode rescaleMode,
831 RescaleMode rescaleMode,
DSkImage.h883 enum class RescaleMode { enum
922 RescaleMode rescaleMode,
960 RescaleMode rescaleMode,
/external/skia/tools/
Dskottie2movie.cpp148 SkImage::RescaleMode::kNearest, in main()
/external/skia/tests/
DReadWritePixelsGpuTest.cpp582 SkImage::RescaleMode::kNearest, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
656 SkImage::RescaleMode::kNearest, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
741 SkImage::RescaleMode::kNearest, &async_callback, &cbContext); in DEF_GPUTEST()
744 SkImage::RescaleMode::kNearest, &async_callback, in DEF_GPUTEST()
DVkProtectedContextTest.cpp172 SkSurface::RescaleMode::kNearest, in DEF_GPUTEST()
/external/skia/src/core/
DSkGpuBlurUtils.cpp615 SkSurface::RescaleMode::kRepeatedLinear)) { in GaussianBlur()