Home
last modified time | relevance | path

Searched refs:numLayers (Results 1 – 25 of 80) sorted by relevance

1234

/external/angle/src/tests/test_utils/
DMultiviewTest.cpp65 int numLayers, in CreateMultiviewBackingTextures() argument
72 textureData.resize(viewWidth * height * numLayers * 4, 0u); in CreateMultiviewBackingTextures()
87 glTexStorage3DMultisampleOES(texTarget, samples, GL_RGBA8, viewWidth, height, numLayers, in CreateMultiviewBackingTextures()
93 for (int layerIndex = 0; layerIndex < numLayers; ++layerIndex) in CreateMultiviewBackingTextures()
102 glTexImage3D(texTarget, 0, GL_RGBA8, viewWidth, height, numLayers, 0, GL_RGBA, in CreateMultiviewBackingTextures()
115 height, numLayers, false); in CreateMultiviewBackingTextures()
120 for (int layerIndex = 0; layerIndex < numLayers; ++layerIndex) in CreateMultiviewBackingTextures()
129 glTexImage3D(texTarget, 0, GL_DEPTH_COMPONENT32F, viewWidth, height, numLayers, 0, in CreateMultiviewBackingTextures()
139 numLayers, false); in CreateMultiviewBackingTextures()
145 for (int layerIndex = 0; layerIndex < numLayers; ++layerIndex) in CreateMultiviewBackingTextures()
[all …]
DMultiviewTest.h34 int numLayers,
41 int numLayers,
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderLayerTests.cpp80 …ageCreateInfo (const VkFormat format, const UVec2& size, const deUint32 numLayers, VkImageUsageFla… in makeImageCreateInfo() argument
91 numLayers, // deUint32 arrayLayers; in makeImageCreateInfo()
590 const int numLayers, in Renderer() argument
597 …colorSubresourceRange (makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, numLayers)) in Renderer()
599 , m_numLayers (numLayers) in Renderer()
629 numLayers); in Renderer()
720 tcu::TestStatus testVertexShader (Context& context, const int numLayers) in testVertexShader() argument
729 const std::vector<UVec4> grid = generateGrid(numLayers, renderSize); in testVertexShader()
730 const std::vector<Vec4> colors = generateColors(numLayers); in testVertexShader()
733 …rSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)) * numLayers; in testVertexShader()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp79 deUint32 numLayers; member
122 return imageParams.numLayers / 2; in getTargetLayer()
196 …Type type, const VkFormat format, const VkExtent3D size, const deUint32 numLayers, const VkImageUs… in makeImageCreateInfo() argument
207 numLayers, // deUint32 arrayLayers; in makeImageCreateInfo()
365 …rceRange = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, imageParams.numLayers); in copyLayeredImageToBuffer()
389 …makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 0u, imageParams.numLayers), // VkImageSu… in copyLayeredImageToBuffer()
419 …Type type, const VkFormat format, const VkExtent3D size, const deUint32 numLayers, const void* pDa… in create() argument
422 return LayeredImageAccess(format, size.width, numLayers, pData); in create()
424 return LayeredImageAccess(type, format, size, numLayers, pData); in create()
439 …LayeredImageAccess (const VkFormat format, const deUint32 width, const deUint32 numLayers, const v… in LayeredImageAccess() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleImageTests.cpp69 int numLayers; member
318 const deUint32 numLayers) in makeMultisampleRenderPass() argument
332 …const std::vector<VkAttachmentDescription> attachmentDescriptions(numLayers, colorAttachmentDescri… in makeMultisampleRenderPass()
336 std::vector<VkAttachmentReference> colorAttachmentReferences(numLayers); in makeMultisampleRenderPass()
339 for (deUint32 i = 0; i < numLayers; ++i) in makeMultisampleRenderPass()
434 …Device device, const VkFormat format, const IVec2& size, const deUint32 numLayers, const VkSampleC… in makeImage() argument
445 numLayers, // deUint32 arrayLayers; in makeImage()
543 std::string getSamplerTypeStr (const int numLayers, const bool isUint, const bool isSint) in getSamplerTypeStr() argument
546 str << (isUint ? "u" : isSint ? "i" : "") << "sampler2DMS" << (numLayers > 1 ? "Array" : ""); in getSamplerTypeStr()
800 std::string getShaderMultisampledImageType (const tcu::TextureFormat& format, const int numLayers) in getShaderMultisampledImageType() argument
[all …]
DvktPipelineMultisampleShaderFragmentMaskTests.cpp391 deUint32 numLayers; //!< 1 or N for layered image member
397 : numLayers () in TestParams()
573 … 0, binding = 0) uniform " << samplerPrefix << "sampler2DMS" << (params.numLayers > 1 ? "Array" : … in initPrograms()
577 …<< "layout(input_attachment_index = " << params.numLayers << ", set = 0, binding = 2) uniform " <<… in initPrograms()
614 const std::string samplingPos = (params.numLayers == 1 ? "ivec2(gl_WorkGroupID.xy)" in initPrograms()
623 … 0, binding = 0) uniform " << samplerPrefix << "sampler2DMS" << (params.numLayers > 1 ? "Array" : … in initPrograms()
682 DE_ASSERT(params.numLayers == 1u); // subpass load with single-layer image in drawAndSampleInputAttachment()
850 std::vector<VkClearValue> clearValues = genClearValues(params.colorFormat, params.numLayers); in drawAndSampleInputAttachment()
923 for (deUint32 layerNdx = 0u; layerNdx < params.numLayers; ++layerNdx) in draw()
937 attachmentReferences.reserve(params.numLayers); in draw()
[all …]
DvktPipelineFramebufferAttachmentTests.cpp79 deUint32 numLayers; member
122 const deUint32 numLayers, in makeRenderPass() argument
125 vector<VkAttachmentDescription> attachmentDescriptions (numLayers); in makeRenderPass()
127 vector<VkAttachmentReference> colorAttachmentReferences (numLayers); in makeRenderPass()
130 for (deUint32 i = 0; i < numLayers; i++) in makeRenderPass()
148 for (deUint32 i = 0; i < numLayers; ++i) in makeRenderPass()
178 numLayers, // deUint32 attachmentCount; in makeRenderPass()
274 const deUint32 numLayers, in makeImage() argument
287 numLayers, // deUint32 arrayLayers; in makeImage()
355 const int renderDepth = deMax32(caseDef.renderSize.z(), caseDef.numLayers); in getExpectedData()
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-color-colr-table.hh84 HBUINT16 numLayers; /* Number of color layers member
103 hb_array_t<const LayerRecord> all_layers = (this+layersZ).as_array (numLayers); in get_glyph_layers()
105 record.numLayers); in get_glyph_layers()
120 (this+layersZ).sanitize (c, numLayers))); in sanitize()
130 HBUINT16 numLayers; /* Number of Layer Records. */ member
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp108 deUint32 numLayers; member
519 const deUint32 numLayers, in makeImage() argument
545 numLayers, // deUint32 arrayLayers; in makeImage()
685 const deUint32 numLayers) in makeRenderPass() argument
699 vector<VkAttachmentDescription> attachmentDescriptions(numLayers, colorAttachmentDescription); in makeRenderPass()
702 vector<VkAttachmentReference> colorAttachmentReferences (numLayers); in makeRenderPass()
706 for (deUint32 i = 0; i < numLayers; ++i) in makeRenderPass()
758 for (deUint32 z = 0; z < caseDef.numLayers; z++) in genVertexData()
794 for (int z = 0; z < static_cast<int>(caseDef.numLayers); z++) in generateExpectedImage()
899 const deUint32 numLayers);
[all …]
DvktImageMultisampleLoadStoreTests.cpp204 pOutImageViews->resize(caseDef.texture.numLayers()); in insertImageViews()
205 for (int layerNdx = 0; layerNdx < caseDef.texture.numLayers(); ++layerNdx) in insertImageViews()
218 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, caseDef.texture.numLayers()))); in insertImageViews()
228 pOutDescriptorSets->resize(caseDef.texture.numLayers()); in insertDescriptorSets()
229 for (int layerNdx = 0; layerNdx < caseDef.texture.numLayers(); ++layerNdx) in insertDescriptorSets()
262 const int numLayers = caseDef.texture.numLayers(); in test() local
264 const VkDeviceSize constantsBufferSizeBytes = numLayers * bufferChunkSize; in test()
274 for (int layerNdx = 0; layerNdx < numLayers; ++layerNdx) in test()
302 .addType(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, numLayers) in test()
303 .addType(VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, numLayers) in test()
[all …]
DvktImageLoadStoreTests.cpp84 return image::makeBufferImageCopy(makeExtent3D(texture.layerSize()), texture.numLayers()); in makeBufferImageCopy()
146 const int numLayersOrSlices = (is3d ? texture.size(mipmapLevel).z() : texture.numLayers()); in comparePixelBuffers()
344 …ubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, texture.numMipmapLevels(), 0u, texture.numLayers()); in commandImageWriteBarrierBetweenShaderInvocations()
374 …ourceRange = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, texture.numLayers()); in commandCopyImageToBuffer()
402 …ubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, texture.numMipmapLevels(), 0u, texture.numLayers()); in commandCopyMipmapImageToBuffer()
417 …makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLOR_BIT, levelNdx, 0u, texture.numLayers()), // VkIma… in commandCopyMipmapImageToBuffer()
477 DE_ASSERT(m_texture.numLayers() > 1); in StoreTest()
671 const int loopNumLayers = (m_singleLayerBind ? m_texture.numLayers() : 1); in iterate()
822 , m_allDescriptorSets (texture.numLayers()) in ImageStoreTestInstance()
823 , m_allImageViews (texture.numLayers()) in ImageStoreTestInstance()
[all …]
DvktImageMisalignedCubeTests.cpp158 const deUint32 numLayers = m_size.z(); in iterate() local
160 const deUint32 cube1LayerStart = numLayers - 6u; in iterate()
198 const VkDeviceSize clearBufferSize = layerSize * numLayers; in iterate()
201 …ge clearSubresRange = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, numLayers); in iterate()
226 for (deUint32 layerNdx = 0; layerNdx < numLayers; ++layerNdx) in iterate()
DvktImageSubresourceLayoutTests.cpp419 const auto numLayers = ((m_params.imageType == VK_IMAGE_TYPE_3D) ? 1u : m_params.dimensions.depth); in iterateAspect() local
434 numLayers, // deUint32 arrayLayers; in iterateAspect()
465 region.imageSubresource.layerCount = numLayers; in iterateAspect()
474 … auto imageSubresourceRange = makeImageSubresourceRange(imageAspect, 0u, numLevels, 0u, numLayers); in iterateAspect()
503 for (deUint32 layerNdx = 0; layerNdx < numLayers; ++layerNdx) in iterateAspect()
514 if (numLayers > 1u && levelSubresourceLayout.arrayPitch != subresourceLayout.arrayPitch) in iterateAspect()
562 if (numLayers > 1u && subresourceLayout.arrayPitch < pixelSize * numPixels) in iterateAspect()
/external/deqp/external/vulkancts/framework/vulkan/
DvkQueryUtil.cpp351 deUint32 numLayers = 0; in enumerateInstanceLayerProperties() local
353 VK_CHECK(vkp.enumerateInstanceLayerProperties(&numLayers, DE_NULL)); in enumerateInstanceLayerProperties()
355 if (numLayers > 0) in enumerateInstanceLayerProperties()
357 properties.resize(numLayers); in enumerateInstanceLayerProperties()
358 VK_CHECK(vkp.enumerateInstanceLayerProperties(&numLayers, &properties[0])); in enumerateInstanceLayerProperties()
359 TCU_CHECK((size_t)numLayers == properties.size()); in enumerateInstanceLayerProperties()
385 deUint32 numLayers = 0; in enumerateDeviceLayerProperties() local
387 VK_CHECK(vki.enumerateDeviceLayerProperties(physicalDevice, &numLayers, DE_NULL)); in enumerateDeviceLayerProperties()
389 if (numLayers > 0) in enumerateDeviceLayerProperties()
391 properties.resize(numLayers); in enumerateDeviceLayerProperties()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryGridRenderTests.cpp463 int numLayers; member
465 Params (void) : flags(), numLayers() {} in Params()
479 params.numLayers = m_numLayers; in createInstance()
545 …LayersRange = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, m_params.numLayers); in iterate()
546 …Format, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, m_params.numLayers); in iterate()
547 …const VkImageViewType colorAttachmentViewType = (m_params.numLayers == 1 ? VK_IMAGE_VIEW_TYPE_… in iterate()
552 …const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * m_params.numLayers * tcu… in iterate()
559 …k, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), m_params.numLayers)); in iterate()
600 …K_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, m_params.numLayers); in iterate()
611 …ers (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), m_params.numLayers, alloc.getHostPt… in iterate()
[all …]
/external/webrtc/modules/video_coding/
Dmedia_opt_util.cc43 numLayers(1) {} in VCMProtectionParameters()
140 if (parameters->numLayers > 2) { in ComputeMaxFramesFec()
152 rtc::saturated_cast<float>(1 << (parameters->numLayers - 1)); in ComputeMaxFramesFec()
189 parameters->numLayers < 3 && parameters->rtt < kMaxRttTurnOffFec) { in BitRateTooLowForFec()
448 parameters->numLayers, 0, in BitsPerFrame()
450 float frameRateRatio = powf(1 / 2.0, parameters->numLayers - 1); in BitsPerFrame()
655 void VCMLossProtectionLogic::UpdateNumLayers(int numLayers) { in UpdateNumLayers() argument
656 _numLayers = (numLayers == 0) ? 1 : numLayers; in UpdateNumLayers()
673 _currentParameters.numLayers = _numLayers; in UpdateMethod()
Dmedia_opt_util.h64 int numLayers; member
280 void UpdateNumLayers(int numLayers);
/external/deqp/framework/opengl/
DgluTexture.hpp161 … RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int numLayers);
162 …ay (const RenderContext& context, deUint32 internalFormat, int width, int height, int numLayers);
195 …ray (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int numLayers);
196 …Texture1DArray (const RenderContext& context, deUint32 internalFormat, int width, int numLayers);
257 …eArray (const RenderContext& context, deUint32 format, deUint32 dataType, int size, int numLayers);
258 … TextureCubeArray (const RenderContext& context, deUint32 internalFormat, int size, int numLayers);
/external/deqp/modules/gles31/functional/
Des31fTextureFilteringTests.cpp218 const int numLayers = m_depth / 6; in init() local
282 …tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); // min… in init()
283 … tcu::Vec2(0.5f, 0.65f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); // mag… in init()
284 …(tex1, tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(float(numLayers)+0.5f, -0.5f)));… in init()
285 …se(tex1, tcu::Vec2(0.2f, 0.2f), tcu::Vec2(0.6f, 0.5f), tcu::Vec2(float(numLayers)+0.5f, -0.5f)));… in init()
293 …(tex0, tcu::Vec2(-1.25f, -1.2f), tcu::Vec2(1.2f, 1.25f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); in init()
295 …(tex0, tcu::Vec2(-1.19f, -1.3f), tcu::Vec2(1.1f, 1.35f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); in init()
297 …tcu::Vec2(0.8f, 0.8f), tcu::Vec2(1.25f, 1.20f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); // mag… in init()
298 …ex1, tcu::Vec2(-1.19f, -1.3f), tcu::Vec2(1.1f, 1.35f), tcu::Vec2(float(numLayers)+0.5f, -0.5f)));… in init()
299 …ex1, tcu::Vec2(-1.2f, -1.1f), tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(float(numLayers)+0.5f, -0.5f)));… in init()
[all …]
Des31fTextureSpecificationTests.cpp323 …ext& context, const char* name, const char* desc, deUint32 internalFormat, int size, int numLayers) in BasicTexImageCubeArrayCase() argument
324 …e (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, numLayers, maxLevelCount(s… in BasicTexImageCubeArrayCase()
361 …onst char* name, const char* desc, deUint32 internalFormat, int size, int numLayers, int numLevels) in BasicTexStorageCubeArrayCase() argument
362 …pecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, numLayers, numLevels) in BasicTexStorageCubeArrayCase()
599 int numLayers) in TexImageCubeArrayDepthCase() argument
600 …ntext, name, desc, glu::mapGLInternalFormat(internalFormat), imageSize, numLayers, maxLevelCount(i… in TexImageCubeArrayDepthCase()
644 int numLayers) in TexSubImageCubeArrayDepthCase() argument
645 …ntext, name, desc, glu::mapGLInternalFormat(internalFormat), imageSize, numLayers, maxLevelCount(i… in TexSubImageCubeArrayDepthCase()
713 int numLayers) in TexImageCubeArrayDepthBufferCase() argument
714 …raySpecCase(context, name, desc, glu::mapGLInternalFormat(internalFormat), imageSize, numLayers, 1) in TexImageCubeArrayDepthBufferCase()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_svga.c182 uint32 numLayers, in vmw_svga_winsys_surface_create() argument
225 numLayers, in vmw_svga_winsys_surface_create()
255 size, numLayers, in vmw_svga_winsys_surface_create()
276 size, numLayers, in vmw_svga_winsys_surface_create()
308 format, usage, size, numLayers, in vmw_svga_winsys_surface_create()
333 uint32 numLayers, in vmw_svga_winsys_surface_can_create() argument
342 numLayers); in vmw_svga_winsys_surface_can_create()
/external/deqp/modules/gles3/functional/
Des3fFboCompletenessTests.cpp246 GLsizei numLayers; //< Number of layers in texture member
257 os << kindStr << "_" << params.numLayers << "_" << params.attachmentLayer; in getName()
268 << params.numLayers << " layers, " in getDescription()
301 texCfg->numLayers = m_params.numLayers; in build()
/external/fonttools/Lib/fontTools/ttLib/tables/
DC_O_L_R_.py26 numLayers = baseRec.NumLayers
27 assert (firstLayerIndex + numLayers <= numLayerRecords)
29 for i in range(firstLayerIndex, firstLayerIndex+numLayers):
/external/angle/src/libANGLE/
DImageIndex.cpp180 ImageIndex ImageIndex::Make2DArrayRange(GLint levelIndex, GLint layerIndex, GLint numLayers) in Make2DArrayRange() argument
182 return ImageIndex(TextureType::_2DArray, levelIndex, layerIndex, numLayers); in Make2DArrayRange()
216 ImageIndex ImageIndex::Make2DMultisampleArrayRange(GLint layerIndex, GLint numLayers) in Make2DMultisampleArrayRange() argument
218 return ImageIndex(TextureType::_2DMultisampleArray, 0, layerIndex, numLayers); in Make2DMultisampleArrayRange()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/stub/
DNvInferPlugin_5_0.inc35 nvinfer1::plugin::GridAnchorParameters* param, int numLayers) {
39 return func_ptr(param, numLayers);

1234