/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | BidiLine.java | 334 * Here, runCount>1 and maxLevel>=minLevel>=paraLevel. 340 * Since each run is moved but not modified, and since at the initial maxLevel 342 * don't need to do anything there and can predecrement maxLevel. 356 * However, for all maxLevel>paraLevel, this run will never be reordered 357 * and does not need to be taken into account. maxLevel==paraLevel is only reordered 363 private static void reorderLine(Bidi bidi, byte minLevel, byte maxLevel) { in reorderLine() argument 366 if (maxLevel<=(minLevel|1)) { in reorderLine() 391 while (--maxLevel >= minLevel) { in reorderLine() 396 /* look for a sequence of runs that are all at >=maxLevel */ in reorderLine() 398 while (firstRun < runCount && levels[runs[firstRun].start] < maxLevel) { in reorderLine() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | BidiLine.java | 335 * Here, runCount>1 and maxLevel>=minLevel>=paraLevel. 341 * Since each run is moved but not modified, and since at the initial maxLevel 343 * don't need to do anything there and can predecrement maxLevel. 357 * However, for all maxLevel>paraLevel, this run will never be reordered 358 * and does not need to be taken into account. maxLevel==paraLevel is only reordered 364 private static void reorderLine(Bidi bidi, byte minLevel, byte maxLevel) { in reorderLine() argument 367 if (maxLevel<=(minLevel|1)) { in reorderLine() 392 while (--maxLevel >= minLevel) { in reorderLine() 397 /* look for a sequence of runs that are all at >=maxLevel */ in reorderLine() 399 while (firstRun < runCount && levels[runs[firstRun].start] < maxLevel) { in reorderLine() [all...] |
/third_party/skia/bench/ |
H A D | PictureNestingBench.cpp | 19 PictureNesting(const char* name, int maxLevel, int maxPictureLevel) in PictureNesting() argument 20 : fMaxLevel(maxLevel) in PictureNesting() 110 PictureNestingRecording(int maxLevel, int maxPictureLevel) in PictureNestingRecording() argument 111 : INHERITED("recording", maxLevel, maxPictureLevel) { in PictureNestingRecording() 137 PictureNestingPlayback(int maxLevel, int maxPictureLevel) in PictureNestingPlayback() argument 138 : INHERITED("playback", maxLevel, maxPictureLevel) { in PictureNestingPlayback()
|
/third_party/icu/icu4c/source/common/ |
H A D | ubidiln.cpp | 407 * Here, runCount>1 and maxLevel>=minLevel>=paraLevel. 413 * Since each run is moved but not modified, and since at the initial maxLevel 415 * don't need to do anything there and can predecrement maxLevel. 429 * However, for all maxLevel>paraLevel, this run will never be reordered 430 * and does not need to be taken into account. maxLevel==paraLevel is only reordered 437 reorderLine(UBiDi *pBiDi, UBiDiLevel minLevel, UBiDiLevel maxLevel) { in reorderLine() argument 443 if(maxLevel<=(minLevel|1)) { in reorderLine() 463 while(--maxLevel>=minLevel) { in reorderLine() 468 /* look for a sequence of runs that are all at >=maxLevel */ in reorderLine() 470 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) { in reorderLine() 600 UBiDiLevel minLevel=UBIDI_MAX_EXPLICIT_LEVEL+1, maxLevel=0; ubidi_getRuns() local 714 UBiDiLevel level, minLevel, maxLevel; prepareReorder() local 752 UBiDiLevel minLevel = 0, maxLevel = 0; ubidi_reorderLogical() local 815 UBiDiLevel minLevel = 0, maxLevel = 0; ubidi_reorderVisual() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ubidiln.cpp | 407 * Here, runCount>1 and maxLevel>=minLevel>=paraLevel. 413 * Since each run is moved but not modified, and since at the initial maxLevel 415 * don't need to do anything there and can predecrement maxLevel. 429 * However, for all maxLevel>paraLevel, this run will never be reordered 430 * and does not need to be taken into account. maxLevel==paraLevel is only reordered 437 reorderLine(UBiDi *pBiDi, UBiDiLevel minLevel, UBiDiLevel maxLevel) { in reorderLine() argument 443 if(maxLevel<=(minLevel|1)) { in reorderLine() 463 while(--maxLevel>=minLevel) { in reorderLine() 468 /* look for a sequence of runs that are all at >=maxLevel */ in reorderLine() 470 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) { in reorderLine() 600 UBiDiLevel minLevel=UBIDI_MAX_EXPLICIT_LEVEL+1, maxLevel=0; ubidi_getRuns() local 714 UBiDiLevel level, minLevel, maxLevel; prepareReorder() local 752 UBiDiLevel minLevel = 0, maxLevel = 0; ubidi_reorderLogical() local 815 UBiDiLevel minLevel = 0, maxLevel = 0; ubidi_reorderVisual() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ubidiln.cpp | 407 * Here, runCount>1 and maxLevel>=minLevel>=paraLevel. 413 * Since each run is moved but not modified, and since at the initial maxLevel 415 * don't need to do anything there and can predecrement maxLevel. 429 * However, for all maxLevel>paraLevel, this run will never be reordered 430 * and does not need to be taken into account. maxLevel==paraLevel is only reordered 437 reorderLine(UBiDi *pBiDi, UBiDiLevel minLevel, UBiDiLevel maxLevel) { in reorderLine() argument 443 if(maxLevel<=(minLevel|1)) { in reorderLine() 463 while(--maxLevel>=minLevel) { in reorderLine() 468 /* look for a sequence of runs that are all at >=maxLevel */ in reorderLine() 470 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) { in reorderLine() 600 UBiDiLevel minLevel=UBIDI_MAX_EXPLICIT_LEVEL+1, maxLevel=0; ubidi_getRuns() local 714 UBiDiLevel level, minLevel, maxLevel; prepareReorder() local 752 UBiDiLevel minLevel = 0, maxLevel = 0; ubidi_reorderLogical() local 815 UBiDiLevel minLevel = 0, maxLevel = 0; ubidi_reorderVisual() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 1038 refParams.maxLevel = deLog2Floor32(de::max(m_texWidth, m_texHeight)); in iterate() 1057 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel, refParams.imageViewMinLod); in iterate() 1217 const int maxLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x82cfa4e) % numLevels; in getMaxLevel() local 1219 return maxLevel; in getMaxLevel() 1224 params.maxLevel = getMaxLevel(cellNdx); in getReferenceParams() 1316 refParams.maxLevel = deLog2Floor32(m_texSize); in iterate() 1335 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel, refParams.imageViewMinLod); in iterate() 1490 const int maxLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x974e21) % numLevels; in getMaxLevel() local 1492 return maxLevel; in getMaxLevel() 1497 params.maxLevel in getReferenceParams() 1773 const int maxLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x9111e7) % numLevels; getMaxLevel() local [all...] |
H A D | vktTextureFilteringAnisotropyTests.cpp | 95 m_refParams.maxLevel = deLog2Floor32(ANISOTROPY_TEST_RESOLUTION); in FilteringAnisotropyInstance() 97 m_refParams.maxLod = static_cast<float>(m_refParams.maxLevel); in FilteringAnisotropyInstance() 100 m_refParams.maxLevel = 0; in FilteringAnisotropyInstance() 118 for (int levelNdx = 0; levelNdx < m_refParams.maxLevel + 1; levelNdx++) in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 1038 refParams.maxLevel = deLog2Floor32(de::max(m_texWidth, m_texHeight)); in iterate() 1057 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel, refParams.imageViewMinLod); in iterate() 1217 const int maxLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x82cfa4e) % numLevels; in getMaxLevel() local 1219 return maxLevel; in getMaxLevel() 1224 params.maxLevel = getMaxLevel(cellNdx); in getReferenceParams() 1316 refParams.maxLevel = deLog2Floor32(m_texSize); in iterate() 1335 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel, refParams.imageViewMinLod); in iterate() 1490 const int maxLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x974e21) % numLevels; in getMaxLevel() local 1492 return maxLevel; in getMaxLevel() 1497 params.maxLevel in getReferenceParams() 1773 const int maxLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x9111e7) % numLevels; getMaxLevel() local [all...] |
H A D | vktTextureFilteringAnisotropyTests.cpp | 95 m_refParams.maxLevel = deLog2Floor32(ANISOTROPY_TEST_RESOLUTION); in FilteringAnisotropyInstance() 97 m_refParams.maxLod = static_cast<float>(m_refParams.maxLevel); in FilteringAnisotropyInstance() 100 m_refParams.maxLevel = 0; in FilteringAnisotropyInstance() 118 for (int levelNdx = 0; levelNdx < m_refParams.maxLevel + 1; levelNdx++) in iterate()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTexCompareVerifier.cpp | 844 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); 846 DE_ASSERT(minLevel <= maxLevel); 848 for (int level = minLevel; level <= maxLevel; level++) 862 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); 864 DE_ASSERT(minLevel <= maxLevel); 866 for (int level = minLevel; level <= maxLevel; level++) 1443 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); 1445 DE_ASSERT(minLevel <= maxLevel); 1447 for (int level = minLevel; level <= maxLevel; level++) 1461 const int maxLevel [all...] |
H A D | tcuTexLookupVerifier.cpp | 1416 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() local 1418 DE_ASSERT(minLevel <= maxLevel); in isLookupResultValid() 1420 for (int level = minLevel; level <= maxLevel; level++) in isLookupResultValid() 1434 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid() local 1436 DE_ASSERT(minLevel <= maxLevel); in isLookupResultValid() 1438 for (int level = minLevel; level <= maxLevel; level++) in isLookupResultValid() 1481 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() local 1483 DE_ASSERT(minLevel <= maxLevel); in isLookupResultValid() 1485 for (int level = minLevel; level <= maxLevel; level++) in isLookupResultValid() 1499 const int maxLevel in isLookupResultValid() local 1792 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); isLookupResultValid() local 1816 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); isLookupResultValid() local 1885 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); isLookupResultValid() local 1903 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); isLookupResultValid() local 1955 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); isLookupResultValid() local 1973 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); isLookupResultValid() local 2049 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); isLookupResultValid() local 2067 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); isLookupResultValid() local 2144 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); isLookupResultValid() local 2168 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); isLookupResultValid() local [all...] |
H A D | tcuTexture.cpp | 2631 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset() local 2632 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArray1DOffset() 2641 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset() local 2642 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray1DOffset() 2643 int level1 = de::min(maxLevel, level0 + 1); in sampleLevelArray1DOffset() 2689 const int maxLevel = (int)numLevels - 1; in sampleLevelArray2DOffset() local 2690 const int level0 = isLinearMipmapMode ? (int)deFloatFloor(minLodRelative) : deClamp32((int)deFloatCeil(minLodRelative + 0.5f) - 1, 0, maxLevel); in sampleLevelArray2DOffset() 2697 const int level1 = de::min(level0 + 1, maxLevel); in sampleLevelArray2DOffset() 2709 int maxLevel = (int)numLevels-1; in sampleLevelArray2DOffset() local 2710 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArray2DOffset() 2732 int maxLevel = (int)numLevels-1; sampleLevelArray2DOffset() local 2782 const int maxLevel = (int)numLevels - 1; sampleLevelArray3DOffset() local 2801 int maxLevel = (int)numLevels-1; sampleLevelArray3DOffset() local 2814 int maxLevel = (int)numLevels-1; sampleLevelArray3DOffset() local 2844 int maxLevel = (int)numLevels-1; sampleLevelArray1DCompare() local 2854 int maxLevel = (int)numLevels-1; sampleLevelArray1DCompare() local 2884 int maxLevel = (int)numLevels-1; sampleLevelArray2DCompare() local 2894 int maxLevel = (int)numLevels-1; sampleLevelArray2DCompare() local [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fASTCDecompressionCases.cpp | 206 ASTCSupportLevel maxLevel = ASTCSUPPORTLEVEL_NONE; in getASTCSupportLevel() local 213 maxLevel = de::max(maxLevel, ext == "GL_KHR_texture_compression_astc_hdr" ? ASTCSUPPORTLEVEL_HDR in getASTCSupportLevel() 219 maxLevel = de::max(maxLevel, ext == "GL_KHR_texture_compression_astc_ldr" ? ASTCSUPPORTLEVEL_LDR in getASTCSupportLevel() 226 return maxLevel; in getASTCSupportLevel()
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Sampler.hpp | 57 int maxLevel; member 193 void setMaxLevel(int maxLevel);
|
H A D | Sampler.cpp | 77 texture.maxLevel = 1000; in Sampler() 350 void Sampler::setMaxLevel(int maxLevel) in setMaxLevel() argument 352 texture.maxLevel = maxLevel; in setMaxLevel()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | mipmap.h | 42 unsigned baseLevel, unsigned maxLevel);
|
H A D | mipmap.c | 1913 unsigned baseLevel, unsigned maxLevel) in _mesa_prepare_mipmap_levels() 1930 for (unsigned level = baseLevel + 1; level <= maxLevel; level++) { in _mesa_prepare_mipmap_levels() 1955 GLuint maxLevel) in generate_mipmap_uncompressed() 1963 for (level = texObj->Attrib.BaseLevel; level < maxLevel; level++) { in generate_mipmap_uncompressed() 2075 GLuint maxLevel) in generate_mipmap_compressed() 2150 for (level = texObj->Attrib.BaseLevel; level < maxLevel; level++) { in generate_mipmap_compressed() 2243 GLint maxLevel; in _mesa_generate_mipmap() local 2249 maxLevel = _mesa_max_texture_levels(ctx, texObj->Target) - 1; in _mesa_generate_mipmap() 2250 assert(maxLevel >= 0); /* bad target */ in _mesa_generate_mipmap() 2252 maxLevel in _mesa_generate_mipmap() 1911 _mesa_prepare_mipmap_levels(struct gl_context *ctx, struct gl_texture_object *texObj, unsigned baseLevel, unsigned maxLevel) _mesa_prepare_mipmap_levels() argument 1952 generate_mipmap_uncompressed(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj, const struct gl_texture_image *srcImage, GLuint maxLevel) generate_mipmap_uncompressed() argument 2072 generate_mipmap_compressed(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj, struct gl_texture_image *srcImage, GLuint maxLevel) generate_mipmap_compressed() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Texture.cpp | 220 bool TextureState::setMaxLevel(GLuint maxLevel) in setMaxLevel() argument 222 if (mMaxLevel != maxLevel) in setMaxLevel() 224 mMaxLevel = maxLevel; in setMaxLevel() 471 const GLuint maxLevel = getMipmapMaxLevel(); in computeMipmapCompleteness() local 473 for (GLuint level = getEffectiveBaseLevel(); level <= maxLevel; level++) in computeMipmapCompleteness() 565 const GLuint maxLevel = std::min(getEffectiveMaxLevel(), getMipmapMaxLevel()); in getEnabledLevelCount() local 570 for (size_t enabledLevel = baseLevel; enabledLevel <= maxLevel; ++enabledLevel, ++levelCount) in getEnabledLevelCount() 690 GLuint maxLevel, 695 for (GLuint level = baseLevel; level <= maxLevel; level++) 1027 void Texture::setMaxLevel(const Context *context, GLuint maxLevel) in setMaxLevel() argument 1713 const GLuint maxLevel = mState.getMipmapMaxLevel(); generateMipmap() local [all...] |
H A D | Texture.h | 120 bool setMaxLevel(GLuint maxLevel); 195 GLuint maxLevel, 324 void setMaxLevel(const Context *context, GLuint maxLevel);
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTextureTestUtil.hpp | 128 , maxLevel (1000) in ReferenceParams() 144 , maxLevel (1000) in ReferenceParams() 158 int maxLevel; member
|
H A D | gluTextureTestUtil.cpp | 103 static tcu::Texture1DView getSubView (const tcu::Texture1DView& view, int baseLevel, int maxLevel, tcu::ImageViewMinLodParams* minLodParams DE_UNUSED_ATTR) in getSubView() argument 106 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView() 111 static tcu::Texture2DView getSubView (const tcu::Texture2DView& view, int baseLevel, int maxLevel, tcu::ImageViewMinLodParams* minLodParams = DE_NULL) in getSubView() argument 114 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView() 119 static tcu::TextureCubeView getSubView (const tcu::TextureCubeView& view, int baseLevel, int maxLevel, tcu::ImageViewMinLodParams* minLodParams = DE_NULL) in getSubView() argument 122 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView() 132 static tcu::Texture3DView getSubView (const tcu::Texture3DView& view, int baseLevel, int maxLevel, tcu::ImageViewMinLodParams* minLodParams = DE_NULL) in getSubView() argument 135 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView() 140 static tcu::TextureCubeArrayView getSubView (const tcu::TextureCubeArrayView& view, int baseLevel, int maxLevel, tcu::ImageViewMinLodParams* minLodParams DE_UNUSED_ATTR = DE_NULL) in getSubView() argument 143 const int clampedMax = de::clamp(maxLevel, clampedBas in getSubView() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Context.cpp | 3195 GLint maxLevel = texture->getMaxLevel(); in applyTextures() local 3212 device->setMaxLevel(samplerType, samplerIndex, maxLevel); in applyTextures() 3261 int maxLevel = std::min(baseTexture->getTopLevel(), baseTexture->getMaxLevel()); in applyTexture() local 3276 if(surfaceLevel > maxLevel) in applyTexture() 3278 surfaceLevel = maxLevel; in applyTexture() 3295 if(surfaceLevel > maxLevel) in applyTexture() 3297 surfaceLevel = maxLevel; in applyTexture() 3313 if(surfaceLevel > maxLevel) in applyTexture() 3315 surfaceLevel = maxLevel; in applyTexture() 3335 if(surfaceLevel > maxLevel) in applyTexture() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | TextureGL.cpp | 1331 const GLuint maxLevel = mState.getMipmapMaxLevel(); in generateMipmap() local 1345 GLuint levelCount = maxLevel - effectiveBaseLevel + 1; in generateMipmap() 1377 setLevelInfo(context, getType(), effectiveBaseLevel, maxLevel - effectiveBaseLevel, in generateMipmap() 1645 angle::Result TextureGL::setMaxLevel(const gl::Context *context, GLuint maxLevel) in setMaxLevel() argument 1647 if (maxLevel != mAppliedMaxLevel) in setMaxLevel() 1652 mAppliedMaxLevel = maxLevel; in setMaxLevel() 1660 functions->texParameteri(ToGLenum(getType()), GL_TEXTURE_MAX_LEVEL, maxLevel)); in setMaxLevel()
|
/third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
H A D | vulkan_beta.h | 734 uint32_t maxLevel; member 799 uint32_t maxLevel; member
|