Home
last modified time | relevance | path

Searched refs:blockPixelSize (Results 1 – 8 of 8) sorted by relevance

/external/deqp/modules/internal/
DditAstcTests.cpp70 const IVec3 blockPixelSize = getBlockPixelSize(format); in testDecompress() local
76 …TextureLevel texture (uncompressedFormat, blockPixelSize.x()*(int)numBlocks, blockPixelSiz… in testDecompress()
139 const IVec3 blockPixelSize = getBlockPixelSize(m_format); in iterate() local
142 …astc::generateDummyNormalBlocks(&generatedData[0], numBlocks, blockPixelSize.x(), blockPixelSize.y… in iterate()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp1051 const IVec3 blockPixelSize (getBlockPixelSize(fmt)); in decompress() local
1052 const IVec3 blockCount (deDivRoundUp32(dst.getWidth(), blockPixelSize.x()), in decompress()
1053 deDivRoundUp32(dst.getHeight(), blockPixelSize.y()), in decompress()
1054 deDivRoundUp32(dst.getDepth(), blockPixelSize.z())); in decompress()
1057 …mpressedBlock (dst.getFormat().getPixelSize() * blockPixelSize.x() * blockPixelSize.y() * blockPix… in decompress()
1058 …ccess blockAccess (getUncompressedFormat(fmt), blockPixelSize.x(), blockPixelSize.y(), blockPixe… in decompress()
1068 …const IVec3 copySize (de::min(blockPixelSize.x(), dst.getWidth() - blockPos.x() * blockPixelSi… in decompress()
1069 de::min(blockPixelSize.y(), dst.getHeight() - blockPos.y() * blockPixelSize.y()), in decompress()
1070 de::min(blockPixelSize.z(), dst.getDepth() - blockPos.z() * blockPixelSize.z())); in decompress()
1071 const IVec3 dstPixelPos = blockPos * blockPixelSize; in decompress()
[all …]
DtcuAstcUtil.cpp2909 const tcu::IVec3 blockPixelSize = getBlockPixelSize(format); in isValidBlock() local
2919 blockData, blockPixelSize.x(), blockPixelSize.y(), isSRGB, isLDR); in isValidBlock()
2929 const tcu::IVec3 blockPixelSize = getBlockPixelSize(format); in decompress() local
2931 DE_ASSERT(dst.getWidth() == blockPixelSize.x() && in decompress()
2932 dst.getHeight() == blockPixelSize.y() && in decompress()
2933 dst.getDepth() == blockPixelSize.z()); in decompress()
/external/deqp/modules/gles2/functional/
Des2fNegativeTextureApiTests.cpp1980 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in init()
1989 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, glFormat, blockPixelSize.x(), blockPixelSize.y(), 0, bloc… in init()
2030 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in init()
2039 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, glFormat, blockPixelSize.x(), blockPixelSize.y(), 0, bloc… in init()
2081 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in init()
2090 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, glFormat, blockPixelSize.x(), blockPixelSize.y(), 0, bloc… in init()
2152 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in init()
2161 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, glFormat, blockPixelSize.x(), blockPixelSize.y(), 0, bloc… in init()
2204 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in init()
2213 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, glFormat, blockPixelSize.x(), blockPixelSize.y(), 0, bloc… in init()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp554 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(tcuFormat); in getCompressedImageDataSize() local
555 const int numBlocksX = deDivRoundUp32((int)extent.width, blockPixelSize.x()); in getCompressedImageDataSize()
556 const int numBlocksY = deDivRoundUp32((int)extent.height, blockPixelSize.y()); in getCompressedImageDataSize()
557 const int numBlocksZ = deDivRoundUp32((int)extent.depth, blockPixelSize.z()); in getCompressedImageDataSize()
/external/deqp/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp180 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in generateDummyCompressedData() local
181 const tcu::IVec3 numBlocks (getDimensionNumBlocks(dst.getWidth(), blockPixelSize.x()), in generateDummyCompressedData()
182 getDimensionNumBlocks(dst.getHeight(), blockPixelSize.y()), in generateDummyCompressedData()
183 getDimensionNumBlocks(dst.getDepth(), blockPixelSize.z())); in generateDummyCompressedData()
1405 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(compressedFormat); in TextureBorderClampFormatCase() local
1409 DE_ASSERT((m_texWidth % blockPixelSize.x()) == 0 && (m_texHeight % blockPixelSize.y()) == 0); in TextureBorderClampFormatCase()
1411 DE_ASSERT((m_texWidth % blockPixelSize.x()) != 0 && (m_texHeight % blockPixelSize.y()) != 0); in TextureBorderClampFormatCase()
1413 DE_UNREF(blockPixelSize); in TextureBorderClampFormatCase()
Des31fCopyImageTests.cpp1934 const IVec3 blockPixelSize = getTexelBlockPixelSize(info.getFormat()); in getLastFullLevel() local
1940 …if (levelSize.x() < blockPixelSize.x() || levelSize.y() < blockPixelSize.y() || levelSize.z() < bl… in getLastFullLevel()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp622 tcu::IVec3 blockPixelSize = getBlockPixelSize(level.getFormat()); in getBufferCopyRegions() local
628 … (deUint32)getNextMultiple(blockPixelSize.x(), level.getWidth()), // deUint32 bufferRowLength; in getBufferCopyRegions()
629 …(deUint32)getNextMultiple(blockPixelSize.y(), level.getHeight()), // deUint32 bufferImageHeigh… in getBufferCopyRegions()