Home
last modified time | relevance | path

Searched refs:planeNdx (Results 1 – 21 of 21) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrStorageImageWriteTests.cpp149 …etPlaneCompatibleFormatForWriting(const vk::PlanarFormatDescription& formatInfo, deUint32 planeNdx) in getPlaneCompatibleFormatForWriting() argument
151 DE_ASSERT(planeNdx < formatInfo.numPlanes); in getPlaneCompatibleFormatForWriting()
152 vk::VkFormat result = formatInfo.planes[planeNdx].planeCompatibleFormat; in getPlaneCompatibleFormatForWriting()
239 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() local
241 …Flags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : VK_IMAGE_ASPEC… in testStorageImageWrite()
243 …rmat planeCompatibleFormat = getPlaneCompatibleFormatForWriting(formatDescription, planeNdx); in testStorageImageWrite()
244 …= (planeCompatibleFormat != getPlaneCompatibleFormat(formatDescription, planeNdx)) ? getPlanarForm… in testStorageImageWrite()
246 …bleShaderGridSize.x(), compatibleShaderGridSize.y(), compatibleShaderGridSize.z() }, planeNdx, 0u); in testStorageImageWrite()
250 shaderName << "comp" << planeNdx; in testStorageImageWrite()
300 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() local
[all …]
DvktYCbCrUtil.cpp67 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in MultiPlaneImageData() local
68 …m_planeData[planeNdx].resize(getPlaneSizeInBytes(m_description, size, planeNdx, 0, BUFFER_IMAGE_CO… in MultiPlaneImageData()
76 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in MultiPlaneImageData() local
77 m_planeData[planeNdx] = other.m_planeData[planeNdx]; in MultiPlaneImageData()
89 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in getChannelAccess() local
91 …const deUint32 planeW = m_size.x() / ( m_description.blockWidth * m_description.planes[planeNdx].… in getChannelAccess()
92 planeRowPitches[planeNdx] = m_description.planes[planeNdx].elementSizeBytes * planeW; in getChannelAccess()
93 planePtrs[planeNdx] = &m_planeData[planeNdx][0]; in getChannelAccess()
108 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in getChannelAccess() local
110 …const deUint32 planeW = m_size.x() / (m_description.blockWidth * m_description.planes[planeNdx].w… in getChannelAccess()
[all …]
DvktYCbCrViewTests.cpp291 deUint32 planeNdx; member
299 , planeNdx (planeNdx_) in TestParameters()
308 , planeNdx (0u) in TestParameters()
372 const VkFormat planeViewFormat = getPlaneCompatibleFormat(params.format, params.planeNdx); in checkSupport()
383 deInt32Hash((deUint32)params.planeNdx) ^ in testPlaneView()
392 const VkFormat planeViewFormat = getPlaneCompatibleFormat(format, params.planeNdx); in testPlaneView()
395 const UVec2 planeExtent = getPlaneExtent(formatInfo, size, params.planeNdx, 0); in testPlaneView()
418 allocations[params.planeNdx]->getMemory(), in testPlaneView()
419 allocations[params.planeNdx]->getOffset(), in testPlaneView()
426 …mageMemory(device, *imageAlias, allocations[params.planeNdx]->getMemory(), allocations[params.plan… in testPlaneView()
[all …]
DvktYCbCrUtil.hpp68 size_t getPlaneSize (deUint32 planeNdx) const { return m_planeData[planeNdx].size(); } in getPlaneSize()
69 void* getPlanePtr (deUint32 planeNdx) { return &m_planeData[planeNdx][0]; } in getPlanePtr() argument
70 const void* getPlanePtr (deUint32 planeNdx) const { return &m_planeData[planeNdx][0]; } in getPlanePtr()
DvktYCbCrCopyTests.cpp734 for (deUint32 planeNdx = 0; planeNdx < result.getDescription().numPlanes; ++planeNdx) in imageCopyTest() local
736 …2 planeSize = vk::getPlaneSizeInBytes(result.getDescription(), result.getSize(), planeNdx, 0u, 1u); in imageCopyTest()
739 const deUint8 res = ((const deUint8*)result.getPlanePtr(planeNdx))[byteNdx]; in imageCopyTest()
740 const deUint8 ref = ((const deUint8*)reference.getPlanePtr(planeNdx))[byteNdx]; in imageCopyTest()
750 …log << TestLog::Message << "Plane: " << planeNdx << ", Offset: " << byteNdx << ", Expected: " << (… in imageCopyTest()
DvktYCbCrConversionTests.cpp722 for (deUint32 planeNdx = 0; planeNdx < planeInfo.numPlanes; planeNdx++) in textureConversionTest() local
723 deMemset(src.getPlanePtr(planeNdx), 0u, src.getPlaneSize(planeNdx)); in textureConversionTest()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsBase.cpp506 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
510 …imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx, BUFFE… in iterate()
511 …imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx) / formatDescription.planes[pl… in iterate()
542 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
544 …ctFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : VK_IMAGE_ASPEC… in iterate()
559 …imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx) / formatDescription.planes[pl… in iterate()
576 …nt3D mipExtent = getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx, mipmapNdx); in iterate()
719 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
721 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate()
725 bufferImageSparseCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate()
[all …]
DvktSparseResourcesImageMemoryAliasing.cpp325 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
327 …ctFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : VK_IMAGE_ASPEC… in iterate()
344 …D mipExtent = getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx, mipLevelNdx); in iterate()
462 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
467 planeOffsets[mipmapNdx][planeNdx] = imageSizeInBytes; in iterate()
468 … = gridSize.x() / (formatDescription.blockWidth * formatDescription.planes[planeNdx].widthDivisor); in iterate()
469 …planeRowPitches[mipmapNdx][planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * plane… in iterate()
470 …imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx, BUFFE… in iterate()
478 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
480 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate()
[all …]
DvktSparseResourcesMipmapSparseResidency.cpp263 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
265 …ctFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : VK_IMAGE_ASPEC… in iterate()
282 …D mipExtent = getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx, mipLevelNdx); in iterate()
405 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
407 …imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx, BUFFE… in iterate()
413 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
415 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate()
419 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate()
426 …vk::getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx, mipmapNdx) // VkExtent3D … in iterate()
428 …imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx, BUFFE… in iterate()
[all …]
DvktSparseResourcesImageSparseBinding.cpp288 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
290 …imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx, BUFFE… in iterate()
295 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
297 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate()
301 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate()
308 …vk::getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx, mipmapNdx) // VkExtent3D … in iterate()
310 …imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx, BUFFE… in iterate()
349 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
351 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate()
372 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
[all …]
DvktSparseResourcesImageSparseResidency.cpp199 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in initPrograms() local
201 …rmat planeCompatibleFormat = getPlaneCompatibleFormatForWriting(formatDescription, planeNdx); in initPrograms()
202 …= (planeCompatibleFormat != getPlaneCompatibleFormat(formatDescription, planeNdx)) ? getPlanarForm… in initPrograms()
210 if (formatDescription.channels[channelNdx].planeNdx != planeNdx) in initPrograms()
218 …shaderExtent = getPlaneExtent(compatibleFormatDescription, compatibleShaderGridSize, planeNdx, 0); in initPrograms()
242 shaderName << "comp" << planeNdx; in initPrograms()
423 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
425 …ctFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : VK_IMAGE_ASPEC… in iterate()
439 … planeExtent = getPlaneExtent(formatDescription, imageCreateInfo.extent, planeNdx, mipLevelNdx); in iterate()
609 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
[all …]
DvktSparseResourcesImageBlockShapes.cpp220 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local
222 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate()
230 …deUint32 pixelSize = static_cast<deUint32>(formatDescription.planes[planeNdx].elementSizeBy… in iterate()
DvktSparseResourcesTestsUtil.hpp160 const deUint32 planeNdx,
167 const deUint32 planeNdx,
248 deUint32 planeNdx);
DvktSparseResourcesTestsUtil.cpp842 …t, const vk::PlanarFormatDescription& formatDescription, const deUint32 planeNdx, const deUint32 m… in getImageMipLevelSizeInBytes() argument
844 …return layersCount * getPlaneSizeInBytes(formatDescription, baseExtents, planeNdx, mipmapLevel, mi… in getImageMipLevelSizeInBytes()
847 …t, const vk::PlanarFormatDescription& formatDescription, const deUint32 planeNdx, const deUint32 m… in getImageSizeInBytes() argument
852 …etImageMipLevelSizeInBytes(baseExtents, layersCount, formatDescription, planeNdx, mipmapLevel, mip… in getImageSizeInBytes()
1021 …etPlaneCompatibleFormatForWriting(const vk::PlanarFormatDescription& formatInfo, deUint32 planeNdx) in getPlaneCompatibleFormatForWriting() argument
1023 DE_ASSERT(planeNdx < formatInfo.numPlanes); in getPlaneCompatibleFormatForWriting()
1024 vk::VkFormat result = formatInfo.planes[planeNdx].planeCompatibleFormat; in getPlaneCompatibleFormatForWriting()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp111 deUint8 planeNdx; member
143 const deUint32 planeNdx,
148 const deUint32 planeNdx,
153 const deUint32 planeNdx,
157 const deUint32 planeNdx,
164 deUint32 planeNdx);
166 deUint32 planeNdx);
168 VkImageAspectFlagBits getPlaneAspect (deUint32 planeNdx);
DvkImageUtil.cpp2450 const deUint32 planeNdx, in getPlaneSizeInBytes() argument
2454 VkExtent3D imageExtent = getPlaneExtent(formatInfo, baseExtents, planeNdx, mipmapLevel); in getPlaneSizeInBytes()
2457 …return deAlign32( formatInfo.planes[planeNdx].elementSizeBytes * imageExtent.width * imageExtent.h… in getPlaneSizeInBytes()
2462 const deUint32 planeNdx, in getPlaneSizeInBytes() argument
2466 …tcu::UVec2 mipExtents = getPlaneExtent(formatInfo, baseExtents, planeNdx, mipmapLevel) / tcu::UVec… in getPlaneSizeInBytes()
2467 …return deAlign32( formatInfo.planes[planeNdx].elementSizeBytes * mipExtents.x() * mipExtents.y(), … in getPlaneSizeInBytes()
2472 const deUint32 planeNdx, in getPlaneExtent() argument
2475 deUint32 widthDivisor = formatInfo.planes[planeNdx].widthDivisor; in getPlaneExtent()
2476 deUint32 heightDivisor = formatInfo.planes[planeNdx].heightDivisor; in getPlaneExtent()
2485 const deUint32 planeNdx, in getPlaneExtent() argument
[all …]
DvkMemUtil.cpp385 for (deUint32 planeNdx = 0; planeNdx < numPlanes; ++planeNdx) in bindImagePlanesMemory() local
387 const VkImageAspectFlagBits planeAspect = getPlaneAspect(planeNdx); in bindImagePlanesMemory()
DvkNullDriver.cpp1223 for (deUint32 planeNdx = 0; planeNdx < desc.numPlanes; ++planeNdx) in getYCbCrImageDataSize() local
1225 const deUint32 elementSize = desc.planes[planeNdx].elementSizeBytes; in getYCbCrImageDataSize()
1228 totalSize += getPlaneSizeInBytes(desc, extent, planeNdx, 0, BUFFER_IMAGE_COPY_OFFSET_GRANULARITY); in getYCbCrImageDataSize()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp336 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage() local
341 (deUint32)imageData.getPlaneSize(planeNdx), in uploadYCbCrImage()
355 (deUint32)imageData.getPlaneSize(planeNdx) in uploadYCbCrImage()
359 …r->getAllocation().getHostPtr(), imageData.getPlanePtr(planeNdx), imageData.getPlaneSize(planeNdx)… in uploadYCbCrImage()
367 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage() local
370 ? vk::getPlaneAspect(planeNdx) in uploadYCbCrImage()
396 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage() local
399 ? vk::getPlaneAspect(planeNdx) in uploadYCbCrImage()
402 ? imageData.getSize().x() / formatDesc.planes[planeNdx].widthDivisor in uploadYCbCrImage()
405 ? imageData.getSize().y() / formatDesc.planes[planeNdx].heightDivisor in uploadYCbCrImage()
[all …]
/external/deqp/framework/referencerenderer/
DrrRenderer.cpp553 for (int planeNdx = 0; planeNdx < numPlanes; ++planeNdx) in clipPrimitives() local
555 const ClipVolumePlane* plane = planes[planeNdx]; in clipPrimitives()
569 clippedByPlane[planeNdx] = true; in clipPrimitives()
574 clippedByPlane[planeNdx] = false; in clipPrimitives()
608 for (int planeNdx = 0; planeNdx < numPlanes; ++planeNdx) in clipPrimitives() local
612 if (!clippedByPlane[planeNdx]) in clipPrimitives()
620 clipTriangleToPlane(convexPrimitive, subTriangles[subTriangleNdx].vertices, *planes[planeNdx]); in clipPrimitives()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1630 for (deUint32 planeNdx = 0; planeNdx < (deUint32)getPlaneCount(format); planeNdx++) in testMultiplaneImages() local
1632 const VkImageAspectFlagBits aspect = getPlaneAspect(planeNdx); in testMultiplaneImages()