Home
last modified time | relevance | path

Searched refs:SkCubicResampler (Results 1 – 23 of 23) sorted by relevance

/external/skia/include/core/
DSkSamplingOptions.h46 struct SkCubicResampler { struct
50 static constexpr SkCubicResampler Mitchell() { return {1/3.0f, 1/3.0f}; } in Mitchell() argument
51 static constexpr SkCubicResampler CatmullRom() { return {0.0f, 1/2.0f}; } in CatmullRom() argument
56 const SkCubicResampler cubic = {0, 0};
78 explicit SkSamplingOptions(const SkCubicResampler& c) in SkSamplingOptions()
DSkImage.h678 using CubicResampler = SkCubicResampler;
/external/skia/gm/
Dbicubic.cpp37 SkCubicResampler::CatmullRom(),
38 SkCubicResampler::Mitchell(),
Dtiledscaledbitmap.cpp69 SkSamplingOptions(SkCubicResampler::Mitchell()), mat)); in onDraw()
Dfilterbug.cpp62 static const SkSamplingOptions kSampling(SkCubicResampler::Mitchell()); in onDraw()
Dlocalmatriximageshader.cpp74 p.setShader(image->makeShader(SkSamplingOptions(SkCubicResampler::Mitchell()))
Dclippedbitmapshaders.cpp95 fHQ ? SkSamplingOptions(SkCubicResampler::Mitchell()) in onDraw()
Dfilterindiabox.cpp44 draw_cell(canvas, bm, mat, 3 * dx, SkSamplingOptions(SkCubicResampler::Mitchell())); in draw_row()
Dperspimages.cpp85 SkSamplingOptions(SkCubicResampler::Mitchell())}) { in onDraw()
Danisotropic.cpp25 AnisotropicGM() : fSampling(SkCubicResampler::Mitchell()) { in AnisotropicGM()
Dresizeimagefilter.cpp80 SkSamplingOptions(SkCubicResampler::Mitchell()), in onDraw()
Dmipmap.cpp52 SkSamplingOptions(SkCubicResampler::Mitchell()),
Dimagescalealigned.cpp114 SkSamplingOptions(SkCubicResampler::Mitchell()), in drawSets()
Dperspshaders.cpp160 this->drawRow(canvas, SkSamplingOptions(SkCubicResampler::Mitchell())); in onDraw()
Drectangletexture.cpp160 SkSamplingOptions(SkCubicResampler::Mitchell()), in onDraw()
Dimagefromyuvtextures.cpp246 SkSamplingOptions(SkCubicResampler::Mitchell())}) in onDraw()
Dcompressed_textures.cpp274 SkSamplingOptions sampling(SkCubicResampler::Mitchell()); in drawCell()
Dimagefiltersbase.cpp193 SkSamplingOptions sampling(SkCubicResampler::Mitchell()); in draw_atlas()
Dbleed.cpp249 const SkSamplingOptions high(SkCubicResampler::Mitchell()); in onDraw()
/external/skia/src/gpu/
DSkGr.h239 static inline bool GrValidCubicResampler(SkCubicResampler cubic) { in GrValidCubicResampler()
/external/skia/samplecode/
DSampleXfer.cpp209 void draw(SkCanvas* canvas, SkCubicResampler cubic) const { in draw()
/external/skia/src/shaders/
DSkImageShader.cpp186 constexpr SkCubicResampler kDefaultCubicResampler{1.0f/3, 1.0f/3};
188 static bool is_default_cubic_resampler(SkCubicResampler cubic) { in is_default_cubic_resampler()
/external/skia/src/image/
DSkImage.cpp810 *this = SkSamplingOptions(SkCubicResampler{1/3.0f, 1/3.0f}); in SkSamplingOptions()