Home
last modified time | relevance | path

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

123

/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp77 deUint32 numLayers; member
109 return imageParams.numLayers / 2; in getTargetLayer()
183 …Type type, const VkFormat format, const VkExtent3D size, const deUint32 numLayers, const VkImageUs… in makeImageCreateInfo() argument
194 numLayers, // deUint32 arrayLayers; in makeImageCreateInfo()
302 …Type type, const VkFormat format, const VkExtent3D size, const deUint32 numLayers, const void* pDa… in create() argument
305 return LayeredImageAccess(format, size.width, numLayers, pData); in create()
307 return LayeredImageAccess(type, format, size, numLayers, pData); in create()
322 …LayeredImageAccess (const VkFormat format, const deUint32 width, const deUint32 numLayers, const v… in LayeredImageAccess() argument
326 , m_layers (numLayers) in LayeredImageAccess()
331 …Type type, const VkFormat format, const VkExtent3D size, const deUint32 numLayers, const void* pDa… in LayeredImageAccess() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleImageTests.cpp68 int numLayers; member
316 const deUint32 numLayers) in makeMultisampleRenderPass() argument
330 …const std::vector<VkAttachmentDescription> attachmentDescriptions(numLayers, colorAttachmentDescri… in makeMultisampleRenderPass()
334 std::vector<VkAttachmentReference> colorAttachmentReferences(numLayers); in makeMultisampleRenderPass()
337 for (deUint32 i = 0; i < numLayers; ++i) in makeMultisampleRenderPass()
432 …Device device, const VkFormat format, const IVec2& size, const deUint32 numLayers, const VkSampleC… in makeImage() argument
443 numLayers, // deUint32 arrayLayers; in makeImage()
553 std::string getSamplerTypeStr (const int numLayers, const bool isUint, const bool isSint) in getSamplerTypeStr() argument
556 str << (isUint ? "u" : isSint ? "i" : "") << "sampler2DMS" << (numLayers > 1 ? "Array" : ""); in getSamplerTypeStr()
699 std::string getShaderMultisampledImageType (const tcu::TextureFormat& format, const int numLayers) in getShaderMultisampledImageType() argument
[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 …]
DvktPipelineRenderToImageTests.cpp435 const deUint32 numLayers, in makeRenderPass() argument
451 vector<VkAttachmentDescription> attachmentDescriptions(numLayers, colorAttachmentDescription); in makeRenderPass()
467 …attachmentDescriptions.insert(attachmentDescriptions.end(), numLayers, depthStencilAttachmentDescr… in makeRenderPass()
470 vector<VkAttachmentReference> colorAttachmentReferences (numLayers); in makeRenderPass()
471 vector<VkAttachmentReference> depthStencilAttachmentReferences(numLayers); in makeRenderPass()
475 for (deUint32 i = 0; i < numLayers; ++i) in makeRenderPass()
484 i + numLayers, // deUint32 attachment; in makeRenderPass()
531 const deUint32 numLayers, in makeImage() argument
543 numLayers, // deUint32 arrayLayers; in makeImage()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderLayerTests.cpp203 …ageCreateInfo (const VkFormat format, const UVec2& size, const deUint32 numLayers, VkImageUsageFla… in makeImageCreateInfo() argument
214 numLayers, // deUint32 arrayLayers; in makeImageCreateInfo()
767 const int numLayers, in Renderer() argument
774 …colorSubresourceRange (makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, numLayers)) in Renderer()
776 , m_numLayers (numLayers) in Renderer()
806 numLayers); in Renderer()
902 tcu::TestStatus testVertexShader (Context& context, const int numLayers) in testVertexShader() argument
913 const std::vector<UVec4> grid = generateGrid(numLayers, renderSize); in testVertexShader()
914 const std::vector<Vec4> colors = generateColors(numLayers); in testVertexShader()
917 …rSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)) * numLayers; in testVertexShader()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMultisampleLoadStoreTests.cpp207 pOutImageViews->resize(caseDef.texture.numLayers()); in insertImageViews()
208 for (int layerNdx = 0; layerNdx < caseDef.texture.numLayers(); ++layerNdx) in insertImageViews()
221 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, caseDef.texture.numLayers()))); in insertImageViews()
231 pOutDescriptorSets->resize(caseDef.texture.numLayers()); in insertDescriptorSets()
232 for (int layerNdx = 0; layerNdx < caseDef.texture.numLayers(); ++layerNdx) in insertDescriptorSets()
267 const int numLayers = caseDef.texture.numLayers(); in test() local
269 const VkDeviceSize constantsBufferSizeBytes = numLayers * bufferChunkSize; in test()
279 for (int layerNdx = 0; layerNdx < numLayers; ++layerNdx) in test()
307 .addType(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, numLayers) in test()
308 .addType(VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, numLayers) in test()
[all …]
DvktImageMutableTests.cpp106 deUint32 numLayers; member
517 const deUint32 numLayers, in makeImage() argument
543 numLayers, // deUint32 arrayLayers; in makeImage()
706 const deUint32 numLayers) in makeRenderPass() argument
720 vector<VkAttachmentDescription> attachmentDescriptions(numLayers, colorAttachmentDescription); in makeRenderPass()
723 vector<VkAttachmentReference> colorAttachmentReferences (numLayers); in makeRenderPass()
727 for (deUint32 i = 0; i < numLayers; ++i) in makeRenderPass()
816 for (deUint32 z = 0; z < caseDef.numLayers; z++) in genVertexData()
852 for (int z = 0; z < static_cast<int>(caseDef.numLayers); z++) in generateExpectedImage()
957 const deUint32 numLayers);
[all …]
DvktImageLoadStoreTests.cpp66 return image::makeBufferImageCopy(makeExtent3D(texture.layerSize()), texture.numLayers()); in makeBufferImageCopy()
107 const int numLayersOrSlices = (is3d ? texture.size().z() : texture.numLayers()); in comparePixelBuffers()
264 …ourceRange = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, texture.numLayers()); in commandImageWriteBarrierBetweenShaderInvocations()
294 …ourceRange = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, texture.numLayers()); in commandCopyImageToBuffer()
351 DE_ASSERT(m_texture.numLayers() > 1); in StoreTest()
474 const int loopNumLayers = (m_singleLayerBind ? m_texture.numLayers() : 1); in iterate()
598 , m_allDescriptorSets (texture.numLayers()) in ImageStoreTestInstance()
599 , m_allImageViews (texture.numLayers()) in ImageStoreTestInstance()
612 const int numLayers = m_texture.numLayers(); in ImageStoreTestInstance() local
613 const VkDeviceSize constantsBufferSizeBytes = numLayers * m_constantsBufferChunkSizeBytes; in ImageStoreTestInstance()
[all …]
DvktImageTexture.hpp43 …int numLayers (void) const { return m_numLayers; } //!< Number of array layers (for array and… in numLayers() function in vkt::image::Texture
/external/harfbuzz_ng/src/
Dhb-ot-color-colr-table.hh82 HBUINT16 numLayers; /* Number of color layers member
101 hb_array_t<const LayerRecord> all_layers ((this+layersZ).arrayZ, numLayers); in get_glyph_layers()
103 record.numLayers); in get_glyph_layers()
122 (this+layersZ).sanitize (c, numLayers))); in sanitize()
132 HBUINT16 numLayers; /* Number of Layer Records. */ member
/external/deqp/external/vulkancts/framework/vulkan/
DvkQueryUtil.cpp279 deUint32 numLayers = 0; in enumerateInstanceLayerProperties() local
281 VK_CHECK(vkp.enumerateInstanceLayerProperties(&numLayers, DE_NULL)); in enumerateInstanceLayerProperties()
283 if (numLayers > 0) in enumerateInstanceLayerProperties()
285 properties.resize(numLayers); in enumerateInstanceLayerProperties()
286 VK_CHECK(vkp.enumerateInstanceLayerProperties(&numLayers, &properties[0])); in enumerateInstanceLayerProperties()
287 TCU_CHECK((size_t)numLayers == properties.size()); in enumerateInstanceLayerProperties()
313 deUint32 numLayers = 0; in enumerateDeviceLayerProperties() local
315 VK_CHECK(vki.enumerateDeviceLayerProperties(physicalDevice, &numLayers, DE_NULL)); in enumerateDeviceLayerProperties()
317 if (numLayers > 0) in enumerateDeviceLayerProperties()
319 properties.resize(numLayers); in enumerateDeviceLayerProperties()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dmedia_opt_util.cc107 if (parameters->numLayers > 2) { in ComputeMaxFramesFec()
119 static_cast<float>(1 << (parameters->numLayers - 1)); in ComputeMaxFramesFec()
156 parameters->numLayers < 3 && parameters->rtt < kMaxRttTurnOffFec) { in BitRateTooLowForFec()
339 if (parameters->numLayers == 1) { in ProtectionFactor()
429 kVp8LayerRateAlloction[parameters->numLayers - 1][0]; in BitsPerFrame()
430 float frameRateRatio = powf(1 / 2.0, parameters->numLayers - 1); in BitsPerFrame()
632 void VCMLossProtectionLogic::UpdateNumLayers(int numLayers) { in UpdateNumLayers() argument
633 _numLayers = (numLayers == 0) ? 1 : numLayers; in UpdateNumLayers()
650 _currentParameters.numLayers = _numLayers; in UpdateMethod()
Dvideo_sender.cc108 int numLayers; in RegisterSendCodec() local
110 numLayers = sendCodec->codecSpecific.VP8.numberOfTemporalLayers; in RegisterSendCodec()
112 numLayers = sendCodec->codecSpecific.VP9.numberOfTemporalLayers; in RegisterSendCodec()
114 numLayers = 1; in RegisterSendCodec()
119 numLayers > 1 && sendCodec->mode == kScreensharing; in RegisterSendCodec()
132 numLayers, maxPayloadSize); in RegisterSendCodec()
Dmedia_opt_util.h60 numLayers(1) {} in VCMProtectionParameters()
73 int numLayers; member
291 void UpdateNumLayers(int numLayers);
/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()
610 …yers(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), m_params.numLayers, alloc.getHostPt… in iterate()
[all …]
/external/deqp/modules/gles31/functional/
Des31fTextureFilteringTests.cpp215 const int numLayers = m_depth / 6; in init() local
276 …tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); // min… in init()
277 … tcu::Vec2(0.5f, 0.65f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); // mag… in init()
278 …(tex1, tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(float(numLayers)+0.5f, -0.5f)));… in init()
279 …se(tex1, tcu::Vec2(0.2f, 0.2f), tcu::Vec2(0.6f, 0.5f), tcu::Vec2(float(numLayers)+0.5f, -0.5f)));… in init()
287 …(tex0, tcu::Vec2(-1.25f, -1.2f), tcu::Vec2(1.2f, 1.25f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); in init()
289 …(tex0, tcu::Vec2(-1.19f, -1.3f), tcu::Vec2(1.1f, 1.35f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); in init()
291 …tcu::Vec2(0.8f, 0.8f), tcu::Vec2(1.25f, 1.20f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); // mag… in init()
292 …ex1, tcu::Vec2(-1.19f, -1.3f), tcu::Vec2(1.1f, 1.35f), tcu::Vec2(float(numLayers)+0.5f, -0.5f)));… in init()
293 …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.cpp321 …ext& context, const char* name, const char* desc, deUint32 internalFormat, int size, int numLayers) in BasicTexImageCubeArrayCase() argument
322 …e (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, numLayers, maxLevelCount(s… in BasicTexImageCubeArrayCase()
359 …onst char* name, const char* desc, deUint32 internalFormat, int size, int numLayers, int numLevels) in BasicTexStorageCubeArrayCase() argument
360 …pecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, numLayers, numLevels) in BasicTexStorageCubeArrayCase()
597 int numLayers) in TexImageCubeArrayDepthCase() argument
598 …ntext, name, desc, glu::mapGLInternalFormat(internalFormat), imageSize, numLayers, maxLevelCount(i… in TexImageCubeArrayDepthCase()
642 int numLayers) in TexSubImageCubeArrayDepthCase() argument
643 …ntext, name, desc, glu::mapGLInternalFormat(internalFormat), imageSize, numLayers, maxLevelCount(i… in TexSubImageCubeArrayDepthCase()
711 int numLayers) in TexImageCubeArrayDepthBufferCase() argument
712 …raySpecCase(context, name, desc, glu::mapGLInternalFormat(internalFormat), imageSize, numLayers, 1) in TexImageCubeArrayDepthBufferCase()
/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/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_svga.c172 uint32 numLayers, in vmw_svga_winsys_surface_create() argument
199 numLayers); in vmw_svga_winsys_surface_create()
228 size, numLayers, in vmw_svga_winsys_surface_create()
247 size, numLayers, in vmw_svga_winsys_surface_create()
276 size, numLayers, numMipLevels, in vmw_svga_winsys_surface_create()
301 uint32 numLayers, in vmw_svga_winsys_surface_can_create() argument
309 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()
Des3fTextureFilteringTests.cpp679 …er, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height, int numLayers);
730 …ter, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height, int numLayers) in Texture2DArrayFilteringCase() argument
739 , m_numLayers (numLayers) in Texture2DArrayFilteringCase()
1262 int numLayers; in init() member
1586 int numLayers = 8; in init() local
1593 width, height, numLayers)); in init()
1613 int numLayers = sizes2DArray[sizeNdx].numLayers; in init() local
1614 …= de::toString(width) + "x" + de::toString(height) + "x" + de::toString(numLayers) + "_" + filterN… in init()
1621 width, height, numLayers)); in init()
1643 int numLayers = 7; in init() local
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DC_O_L_R_.py28 gid, firstLayerIndex, numLayers = struct.unpack(">HHH", data[glyphPos:glyphPos+6])
31 assert (firstLayerIndex + numLayers <= numLayerRecords)
34 for j in range(numLayers):
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsSampled.cpp145 const deUint32 numLayers = getNumLayers(m_imageType, m_imageSize); in initPrograms() local
168 if (numLayers > 1u) in initPrograms()
170 const deInt32 maxVertices = 3u * numLayers; in initPrograms()
191 …<< " for (int layerNdx = 0; layerNdx < " << static_cast<deInt32>(numLayers) << "; ++layerNdx)\n" in initPrograms()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringTests.cpp551 …Parameters.format), m_testParameters.width, m_testParameters.height, m_testParameters.numLayers))); in Texture2DArrayFilteringTestInstance()
564 for (int layerNdx = 0; layerNdx < m_testParameters.numLayers; layerNdx++) in Texture2DArrayFilteringTestInstance()
579 for (int layerNdx = 0; layerNdx < m_testParameters.numLayers; layerNdx++) in Texture2DArrayFilteringTestInstance()
583 const deUint32 step = 0x00ffffff / (numLevels*m_testParameters.numLayers - 1); in Texture2DArrayFilteringTestInstance()
599 ….5f, 2.8f ), tcu::Vec2(-1.0f, -2.7f), tcu::Vec2(-0.5f, float(m_testParameters.numLayers)+0.5f))); in Texture2DArrayFilteringTestInstance()
600 ….2f, 0.175f), tcu::Vec2(-2.0f, -3.7f), tcu::Vec2(-0.5f, float(m_testParameters.numLayers)+0.5f))); in Texture2DArrayFilteringTestInstance()
601 ….8f, -2.3f ), tcu::Vec2( 0.2f, -0.1f), tcu::Vec2(float(m_testParameters.numLayers)+0.5f, -0.5f))); in Texture2DArrayFilteringTestInstance()
959 const int numLayers; in populateTextureFilteringTests() member
1367 testParameters.numLayers = 8; in populateTextureFilteringTests()
1384 …+ de::toString(sizes2DArray[sizeNdx].height) + "x" + de::toString(sizes2DArray[sizeNdx].numLayers); in populateTextureFilteringTests()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_winsys.h536 uint32 numLayers,
584 uint32 numLayers,

123