/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageViewTests.cpp | 343 const deUint32 numLevels = ImageViewTest::getNumLevels(viewType); in createSubresourceRangeTests() local 368 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests() 375 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, arraySize - 1u } }, in createSubresourceRangeTests() 376 { "array_size", 0.0f, { imageAspectFlags, 0u, numLevels, 0u, 4u } }, in createSubresourceRangeTests() 377 { "array_base_and_size", 0.0f, { imageAspectFlags, 0u, numLevels, 2u, 3u } }, in createSubresourceRangeTests() 383 …{ "lod_base_mip_level_base_array_layer", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 1u, 5u }… in createSubresourceRangeTests() 386 { "lod_base_mip_level_array_size", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, 4u } }, in createSubresourceRangeTests() 389 …{ "lod_base_mip_level_array_base_and_size", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 2u, 3… in createSubresourceRangeTests() 402 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests() 409 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 6u, arraySize - 6u } }, in createSubresourceRangeTests() [all …]
|
/external/deqp/framework/opengl/ |
D | gluTexture.cpp | 129 Texture2D::Texture2D (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, … in Texture2D() argument 146 loadCompressed(numLevels, levels, decompressionParams); in Texture2D() 187 void Texture2D::loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::Tex… in loadCompressed() argument 195 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in loadCompressed() 214 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* con… in create() argument 216 DE_ASSERT(numLevels > 0); in create() 242 for (int levelNdx = 1; levelNdx < numLevels; levelNdx++) in create() 264 vector<tcu::CompressedTexture> levels(numLevels); in create() 266 for (int ndx = 0; ndx < numLevels; ndx++) in create() 269 return new Texture2D(context, contextInfo, numLevels, &levels[0]); in create() [all …]
|
D | gluTexture.hpp | 72 …Texture2D (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const t… 83 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vect… 84 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* con… 91 …void loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDeco… 112 …TextureCube (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const… 123 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vect… 124 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* con… 130 …void loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDeco… 150 …ay (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::Comp… 163 …void loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDec… [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.c | 163 assert(mt->numLevels <= rmesa->glCtx->Const.MaxTextureLevels); in calculate_miptree_layout() 168 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout() 189 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument 203 mt->numLevels = numLevels; in radeon_miptree_create() 324 unsigned numLevels; in radeon_miptree_matches_texture() local 332 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture() 338 fprintf(stderr, "numLevels %d vs %d\n", mt->numLevels, numLevels); in radeon_miptree_matches_texture() 344 mt->numLevels >= numLevels && in radeon_miptree_matches_texture() 356 mt->numLevels >= numLevels && in radeon_miptree_matches_texture() 371 GLuint numLevels; in radeon_try_alloc_miptree() local [all …]
|
D | radeon_mipmap_tree.h | 72 GLuint numLevels; /** Number of mip levels stored in this mipmap tree */ member 104 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels,
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.c | 163 assert(mt->numLevels <= rmesa->glCtx->Const.MaxTextureLevels); in calculate_miptree_layout() 168 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout() 189 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument 203 mt->numLevels = numLevels; in radeon_miptree_create() 324 unsigned numLevels; in radeon_miptree_matches_texture() local 332 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture() 338 fprintf(stderr, "numLevels %d vs %d\n", mt->numLevels, numLevels); in radeon_miptree_matches_texture() 344 mt->numLevels >= numLevels && in radeon_miptree_matches_texture() 356 mt->numLevels >= numLevels && in radeon_miptree_matches_texture() 371 GLuint numLevels; in radeon_try_alloc_miptree() local [all …]
|
D | radeon_mipmap_tree.h | 72 GLuint numLevels; /** Number of mip levels stored in this mipmap tree */ member 104 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels,
|
/external/opencv3/modules/video/test/ocl/ |
D | test_optflow_farneback.cpp | 64 int numLevels; in PARAM_TEST_CASE() local 74 numLevels = 5; in PARAM_TEST_CASE() 97 …OCL_ON(cv::calcOpticalFlowFarneback(frame0, frame1, uflow, pyrScale, numLevels, winSize, numIters,… in OCL_TEST_P() 101 …OCL_OFF(cv::calcOpticalFlowFarneback(frame0, frame1, flow, pyrScale, numLevels, winSize, numIters,… in OCL_TEST_P() 102 …OCL_ON(cv::calcOpticalFlowFarneback(frame0, frame1, uflow, pyrScale, numLevels, winSize, numIters,… in OCL_TEST_P()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_gen_mipmap.c | 125 GLuint numLevels; in compute_num_levels() local 129 numLevels = texObj->BaseLevel + baseImage->MaxNumLevels; in compute_num_levels() 130 numLevels = MIN2(numLevels, texObj->MaxLevel + 1); in compute_num_levels() 131 assert(numLevels >= 1); in compute_num_levels() 133 return numLevels; in compute_num_levels()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureSpecificationTests.cpp | 482 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTex2D() local 486 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in verifyTex2D() 520 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTexCube() local 524 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in verifyTexCube() 627 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() local 636 for (int ndx = 0; ndx < numLevels; ndx++) in createTexture() 669 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() local 680 for (int ndx = 0; ndx < numLevels; ndx++) in createTexture() 718 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() local 727 vector<int> levels (numLevels); in createTexture() [all …]
|
D | es2fTextureCompletenessTests.cpp | 282 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local 284 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() 351 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local 353 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() 404 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local 406 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() 510 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local 512 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() 524 …glTexImage2D(GL_TEXTURE_2D, numLevels+1, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, levelData.ge… in createTexture() 614 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local [all …]
|
D | es2fTextureFilteringTests.cpp | 174 int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local 180 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 190 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 192 deUint32 step = 0x00ffffff / numLevels; in init() 437 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local 454 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 464 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 466 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init() 793 const int numLevels = 7; in init() local 795 for (int level = 0; level < numLevels; level++) in init()
|
D | es2fShaderTextureFunctionTests.cpp | 131 int numLevels; member 140 , numLevels (0) in TextureSpec() 156 , numLevels (numLevels_) in TextureSpec() 333 float cStep = 1.0f / (float)de::max(1, m_textureSpec.numLevels-1); in initTexture() 339 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture() 363 float cStep = 1.0f / (float)de::max(1, m_textureSpec.numLevels-1); in initTexture() 370 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
|
/external/opencv3/modules/video/perf/opencl/ |
D | perf_optflow_farneback.cpp | 82 const int numLevels = 5; variable 101 …cv::calcOpticalFlowFarneback(uFrame0, uFrame1, uFlow, pyrScale, numLevels, winSize, numIters, poly… 106 …cv::calcOpticalFlowFarneback(uFrame0, uFrame1, uFlow, pyrScale, numLevels, winSize, numIters, poly…
|
/external/deqp/framework/common/ |
D | tcuTexture.hpp | 435 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam… 436 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam… 437 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam… 439 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&… 440 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&… 441 Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&… 443 float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sample… 444 float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sample… 489 Texture1DView (int numLevels, const ConstPixelBufferAccess* levels); 506 inline Texture1DView::Texture1DView (int numLevels, const ConstPixelBufferAccess* levels) in Texture1DView() argument [all …]
|
D | tcuTexture.cpp | 2106 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray1D() argument 2108 …return sampleLevelArray1DOffset(levels, numLevels, sampler, s, lod, IVec2(0, depth)); // y-offset … in sampleLevelArray1D() 2111 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray2D() argument 2113 …return sampleLevelArray2DOffset(levels, numLevels, sampler, s, t, lod, IVec3(0, 0, depth)); // z-o… in sampleLevelArray2D() 2116 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray3D() argument 2118 return sampleLevelArray3DOffset(levels, numLevels, sampler, s, t, r, lod, IVec3(0, 0, 0)); in sampleLevelArray3D() 2121 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray1DOffset() argument 2134 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset() 2144 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset() 2161 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray2DOffset() argument [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureMipmapTests.cpp | 206 int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local 209 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 211 deUint32 step = 0xff / (numLevels-1); in init() 551 int numLevels = deLog2Floor32(m_size)+1; in init() local 556 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 558 deUint32 step = 0xff / (numLevels-1); in init() 857 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in iterate() local 886 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in iterate() 994 const int numLevels = deLog2Floor32(m_size)+1; in iterate() local 1032 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in iterate() [all …]
|
D | es3fTextureFilteringTests.cpp | 174 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local 180 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 190 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 192 deUint32 step = 0x00ffffff / numLevels; in init() 452 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local 469 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 479 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 481 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init() 739 const int numLevels = deLog2Floor32(de::max(m_width, m_height)) + 1; in init() local 754 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() [all …]
|
D | es3fTextureShadowTests.cpp | 234 int numLevels = m_textures[0]->getRefTexture().getNumLevels(); in init() local 237 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 244 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 246 deUint32 step = 0x00ffffff / numLevels; in init() 484 int numLevels = deLog2Floor32(m_size)+1; in init() local 506 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 516 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 518 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init() 781 int numLevels = deLog2Floor32(de::max(m_width, m_height)) + 1; in init() local 788 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() [all …]
|
/external/opencv3/modules/cudaoptflow/src/ |
D | farneback.cpp | 99 FarnebackOpticalFlowImpl(int numLevels, double pyrScale, bool fastPyramids, int winSize, in FarnebackOpticalFlowImpl() argument 101 … numLevels_(numLevels), pyrScale_(pyrScale), fastPyramids_(fastPyramids), winSize_(winSize), in FarnebackOpticalFlowImpl() 107 virtual void setNumLevels(int numLevels) { numLevels_ = numLevels; } in setNumLevels() argument 462 Ptr<FarnebackOpticalFlow> cv::cuda::FarnebackOpticalFlow::create(int numLevels, double pyrScale, bo… in create() argument 465 return makePtr<FarnebackOpticalFlowImpl>(numLevels, pyrScale, fastPyramids, winSize, in create()
|
/external/opencv3/modules/cudaoptflow/include/opencv2/ |
D | cudaoptflow.hpp | 219 virtual void setNumLevels(int numLevels) = 0; 243 int numLevels = 5,
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 134 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local 140 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 150 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 152 deUint32 step = 0x00ffffff / numLevels; in init() 391 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local 408 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 418 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 420 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init() 439 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowWifiManager.java | 114 public static int calculateSignalLevel (int rssi, int numLevels) in calculateSignalLevel() argument 116 return (int)(sSignalLevelInPercent*(numLevels-1)); in calculateSignalLevel()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 143 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local 149 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 159 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 161 deUint32 step = 0x00ffffff / numLevels; in init() 404 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local 421 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 431 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 433 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()
|
D | es2aTextureMipmapTests.cpp | 158 int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local 161 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 163 deUint32 step = 0xff / (numLevels-1); in init() 455 int numLevels = deLog2Floor32(m_size)+1; in init() local 460 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() 462 deUint32 step = 0xff / (numLevels-1); in init()
|