Home
last modified time | relevance | path

Searched refs:filterMode (Results 1 – 25 of 52) sorted by relevance

123

/external/skia/src/gpu/
DGrPrimitiveProcessor.cpp65 GrSamplerState::Filter filterMode, in TextureSampler() argument
67 this->reset(textureType, config, filterMode, wrapXAndY); in TextureSampler()
85 GrSamplerState::Filter filterMode, in reset() argument
88 filterMode = clamp_filter(textureType, filterMode); in reset()
89 fSamplerState = GrSamplerState(wrapXAndY, filterMode); in reset()
DGrFragmentProcessor.cpp434 GrSamplerState::Filter filterMode, in TextureSampler() argument
436 this->reset(std::move(proxy), filterMode, wrapXAndY); in TextureSampler()
447 GrSamplerState::Filter filterMode, in reset() argument
450 filterMode = SkTMin(filterMode, this->proxy()->highestFilterMode()); in reset()
451 fSamplerState = GrSamplerState(wrapXAndY, filterMode); in reset()
DSkGpuDevice_drawTexture.cpp271 const GrSamplerState::Filter* filterMode = doBicubic ? nullptr : &fm; in draw_texture_producer() local
286 if (filterMode && GrSamplerState::Filter::kBilerp == *filterMode && in draw_texture_producer()
304 coordsAllInsideSrcRect, filterMode); in draw_texture_producer()
/external/skqp/src/gpu/
DGrPrimitiveProcessor.cpp65 GrSamplerState::Filter filterMode, in TextureSampler() argument
67 this->reset(textureType, config, filterMode, wrapXAndY); in TextureSampler()
85 GrSamplerState::Filter filterMode, in reset() argument
88 filterMode = clamp_filter(textureType, filterMode); in reset()
89 fSamplerState = GrSamplerState(wrapXAndY, filterMode); in reset()
DGrFragmentProcessor.cpp514 GrSamplerState::Filter filterMode, in TextureSampler() argument
516 this->reset(std::move(proxy), filterMode, wrapXAndY); in TextureSampler()
527 GrSamplerState::Filter filterMode, in reset() argument
530 filterMode = SkTMin(filterMode, this->proxy()->highestFilterMode()); in reset()
531 fSamplerState = GrSamplerState(wrapXAndY, filterMode); in reset()
DSkGpuDevice_drawTexture.cpp255 const GrSamplerState::Filter* filterMode = doBicubic ? nullptr : &fm; in drawTextureProducerImpl() local
270 if (filterMode && GrSamplerState::Filter::kBilerp == *filterMode && in drawTextureProducerImpl()
291 coordsAllInsideSrcRect, filterMode); in drawTextureProducerImpl()
/external/lzma/CPP/7zip/Archive/7z/
D7zUpdate.cpp61 static int Parse_EXE(const Byte *buf, size_t size, CFilterMode *filterMode) in Parse_EXE() argument
112 filterMode->Id = filterId; in Parse_EXE()
131 static int Parse_ELF(const Byte *buf, size_t size, CFilterMode *filterMode) in Parse_ELF() argument
175 filterMode->Id = filterId; in Parse_ELF()
196 static unsigned Parse_MACH(const Byte *buf, size_t size, CFilterMode *filterMode) in Parse_MACH() argument
230 filterMode->Id = filterId; in Parse_MACH()
242 static BoolInt Parse_WAV(const Byte *buf, size_t size, CFilterMode *filterMode) in Parse_WAV() argument
277 filterMode->Id = k_Delta; in Parse_WAV()
278 filterMode->Delta = delta; in Parse_WAV()
288 static BoolInt ParseFile(const Byte *buf, size_t size, CFilterMode *filterMode) in ParseFile() argument
[all …]
/external/skia/src/gpu/effects/
DGrBicubicEffect.cpp172 bool GrBicubicEffect::ShouldUseBicubic(const SkMatrix& matrix, GrSamplerState::Filter* filterMode) { in ShouldUseBicubic() argument
174 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
182 *filterMode = GrSamplerState::Filter::kMipMap; in ShouldUseBicubic()
189 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
192 *filterMode = GrSamplerState::Filter::kBilerp; in ShouldUseBicubic()
198 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
DGrYUVtoRGBEffect.cpp41 GrSamplerState::Filter filterMode) { in Make() argument
47 GrSamplerState::Filter minimizeFilterMode = GrSamplerState::Filter::kMipMap == filterMode ? in Make()
57 filterModes[i] = (size == YSize) ? filterMode : minimizeFilterMode; in Make()
DGrYUVtoRGBEffect.h23 GrSamplerState::Filter filterMode);
DGrBicubicEffect.h80 GrSamplerState::Filter* filterMode);
/external/skqp/src/gpu/effects/
DGrBicubicEffect.cpp189 bool GrBicubicEffect::ShouldUseBicubic(const SkMatrix& matrix, GrSamplerState::Filter* filterMode) { in ShouldUseBicubic() argument
191 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
199 *filterMode = GrSamplerState::Filter::kMipMap; in ShouldUseBicubic()
206 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
209 *filterMode = GrSamplerState::Filter::kBilerp; in ShouldUseBicubic()
215 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
DGrYUVtoRGBEffect.cpp34 GrSamplerState::Filter filterMode) { in Make() argument
40 GrSamplerState::Filter minimizeFilterMode = GrSamplerState::Filter::kMipMap == filterMode ? in Make()
50 filterModes[i] = (size == YSize) ? filterMode : minimizeFilterMode; in Make()
DGrYUVtoRGBEffect.h23 GrSamplerState::Filter filterMode);
DGrBicubicEffect.h75 GrSamplerState::Filter* filterMode);
/external/lzma/C/
DLzma86Enc.c17 int level, UInt32 dictSize, int filterMode) in Lzma86_Encode() argument
40 useFilter = (filterMode != SZ_FILTER_NO); in Lzma86_Encode()
66 int numPasses = (filterMode == SZ_FILTER_AUTO) ? 3 : 1; in Lzma86_Encode()
DLzma86.h72 int level, UInt32 dictSize, int filterMode);
/external/skia/tests/
DDetermineDomainModeTest.cpp346 for (int filterMode = 0; filterMode < 4; ++filterMode) { in proxy_test() local
357 gHalfFilterWidth[filterMode]); in proxy_test()
368 gModePtrs[filterMode], in proxy_test()
373 if (3 == filterMode) { in proxy_test()
/external/skqp/tests/
DDetermineDomainModeTest.cpp346 for (int filterMode = 0; filterMode < 4; ++filterMode) { in proxy_test() local
357 gHalfFilterWidth[filterMode]); in proxy_test()
368 gModePtrs[filterMode], in proxy_test()
373 if (3 == filterMode) { in proxy_test()
/external/skqp/include/gpu/
DGrSamplerState.h45 void setFilterMode(Filter filterMode) { fFilter = filterMode; } in setFilterMode() argument
/external/skia/include/gpu/
DGrSamplerState.h45 void setFilterMode(Filter filterMode) { fFilter = filterMode; } in setFilterMode() argument
/external/deqp/framework/common/
DtcuTexture.cpp2180 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray1DOffset() local
2182 switch (filterMode) in sampleLevelArray1DOffset()
2184 case Sampler::NEAREST: return levels[0].sample1DOffset(sampler, filterMode, s, offset); in sampleLevelArray1DOffset()
2185 case Sampler::LINEAR: return levels[0].sample1DOffset(sampler, filterMode, s, offset); in sampleLevelArray1DOffset()
2192 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEAR… in sampleLevelArray1DOffset()
2203 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR … in sampleLevelArray1DOffset()
2220 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray2DOffset() local
2222 switch (filterMode) in sampleLevelArray2DOffset()
2224 case Sampler::NEAREST: return levels[0].sample2DOffset(sampler, filterMode, s, t, offset); in sampleLevelArray2DOffset()
2225 case Sampler::LINEAR: return levels[0].sample2DOffset(sampler, filterMode, s, t, offset); in sampleLevelArray2DOffset()
[all …]
/external/deqp/framework/opengl/
DgluTextureUtil.cpp633 static inline tcu::Sampler::FilterMode mapGLMinFilterMode (deUint32 filterMode) in mapGLMinFilterMode() argument
635 switch (filterMode) in mapGLMinFilterMode()
644 throw tcu::InternalError("Can't map GL min filter mode" + tcu::toHex(filterMode).toString()); in mapGLMinFilterMode()
648 static inline tcu::Sampler::FilterMode mapGLMagFilterMode (deUint32 filterMode) in mapGLMagFilterMode() argument
650 switch (filterMode) in mapGLMagFilterMode()
655 throw tcu::InternalError("Can't map GL mag filter mode" + tcu::toHex(filterMode).toString()); in mapGLMagFilterMode()
769 deUint32 getGLFilterMode (tcu::Sampler::FilterMode filterMode) in getGLFilterMode() argument
771 DE_ASSERT(filterMode != tcu::Sampler::FILTERMODE_LAST); in getGLFilterMode()
772 switch (filterMode) in getGLFilterMode()
DgluTextureUtil.hpp74 deUint32 getGLFilterMode (tcu::Sampler::FilterMode filterMode);
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp60 VkFilter mapFilterMode (tcu::Sampler::FilterMode filterMode);
61 VkSamplerMipmapMode mapMipmapMode (tcu::Sampler::FilterMode filterMode);

123