Home
last modified time | relevance | path

Searched refs:elementSizeBytes (Results 1 - 16 of 16) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp94 planeRowPitches[planeNdx] = m_description.planes[planeNdx].elementSizeBytes * planeW; in getChannelAccess()
113 planeRowPitches[planeNdx] = m_description.planes[planeNdx].elementSizeBytes * planeW; in getChannelAccess()
1008 const deUint32 elementSizeBytes = formatInfo.planes[planeNdx].elementSizeBytes;
1009 const deUint32 rowPitch = formatInfo.planes[planeNdx].elementSizeBytes * accessWidth;
1012 if (pixelStrideBytes != elementSizeBytes)
1014 DE_ASSERT(elementSizeBytes % pixelStrideBytes == 0);
1015 accessWidth *= elementSizeBytes/pixelStrideBytes;
H A DvktYCbCrStorageImageWriteTests.cpp362 planeRowPitches[planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * planeW;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp94 planeRowPitches[planeNdx] = m_description.planes[planeNdx].elementSizeBytes * planeW; in getChannelAccess()
113 planeRowPitches[planeNdx] = m_description.planes[planeNdx].elementSizeBytes * planeW; in getChannelAccess()
1007 const deUint32 elementSizeBytes = formatInfo.planes[planeNdx].elementSizeBytes;
1008 const deUint32 rowPitch = formatInfo.planes[planeNdx].elementSizeBytes * accessWidth;
1011 if (pixelStrideBytes != elementSizeBytes)
1013 DE_ASSERT(elementSizeBytes % pixelStrideBytes == 0);
1014 accessWidth *= elementSizeBytes/pixelStrideBytes;
H A DvktYCbCrStorageImageWriteTests.cpp275 planeRowPitches[planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * planeW;
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkImageUtil.cpp2738 return deAlign32( formatInfo.planes[planeNdx].elementSizeBytes * imageExtent.width * imageExtent.height * imageExtent.depth, mipmapMemoryAlignment); in getPlaneSizeInBytes()
2748 return deAlign32( formatInfo.planes[planeNdx].elementSizeBytes * mipExtents.x() * mipExtents.y(), mipmapMemoryAlignment); in getPlaneSizeInBytes()
3599 const deUint32 elementSizeBytes = formatInfo.planes[planeNdx].elementSizeBytes;
3602 DE_ASSERT(elementSizeBytes % pixelStrideBytes == 0);
3605 std::max(formatInfo.blockWidth * formatInfo.planes[planeNdx].widthDivisor * pixelStrideBytes / elementSizeBytes, 1u),
3606 std::max(formatInfo.blockHeight * formatInfo.planes[planeNdx].heightDivisor * pixelStrideBytes / elementSizeBytes, 1u),
3644 const deUint32 elementSizeBytes = formatInfo.planes[planeNdx].elementSizeBytes;
3647 DE_ASSERT(elementSizeBytes
[all...]
H A DvkImageUtil.hpp115 deUint8 elementSizeBytes; member
H A DvkNullDriver.cpp1227 const deUint32 elementSize = desc.planes[planeNdx].elementSizeBytes; in getYCbCrImageDataSize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesImageBlockShapes.cpp227 deUint32 pixelSize = static_cast<deUint32>(formatDescription.planes[planeNdx].elementSizeBytes) * 8u; in iterate()
H A DvktSparseResourcesShaderIntrinsicsBase.cpp543 imageSizeInPixels += getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx) / formatDescription.planes[planeNdx].elementSizeBytes; in iterate()
591 const deUint32 mipLevelSizeInPixels = getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx) / formatDescription.planes[planeNdx].elementSizeBytes; in iterate()
H A DvktSparseResourcesImageMemoryAliasing.cpp467 planeRowPitches[mipmapNdx][planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * planeW; in iterate()
H A DvktSparseResourcesImageSparseResidency.cpp713 planeRowPitches[planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * planeW; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
H A DvktSparseResourcesImageBlockShapes.cpp230 deUint32 pixelSize = static_cast<deUint32>(formatDescription.planes[planeNdx].elementSizeBytes) * 8u; in iterate()
H A DvktSparseResourcesShaderIntrinsicsBase.cpp543 imageSizeInPixels += getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx) / formatDescription.planes[planeNdx].elementSizeBytes; in iterate()
591 const deUint32 mipLevelSizeInPixels = getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx) / formatDescription.planes[planeNdx].elementSizeBytes; in iterate()
H A DvktSparseResourcesImageMemoryAliasing.cpp469 planeRowPitches[mipmapNdx][planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * planeW; in iterate()
H A DvktSparseResourcesImageSparseResidency.cpp698 planeRowPitches[planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * planeW; in iterate()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DIntermNode.cpp853 size_t elementSizeBytes = sizeof(TConstantUnion) * elementSize; in getConstantValue() local
855 static_cast<const void *>(elementConstArray), elementSizeBytes); in getConstantValue() local

Completed in 29 milliseconds