/external/deqp/framework/opengl/ |
D | gluPixelTransfer.cpp | 38 int pixelSize = format.getPixelSize(); in getTransferAlignment() 54 TCU_CHECK_INTERNAL(dst.getRowPitch() == dst.getFormat().getPixelSize()*dst.getWidth()); in readPixels() 73 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texImage2D() 91 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texImage3D() 112 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texSubImage2D() 130 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texSubImage3D()
|
D | gluTexture.cpp | 43 int pixelSize = format.getPixelSize(); in computePixelStore() 180 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload() 313 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload() 401 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload() 520 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload() 607 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload() 608 …DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*access.getWidth()*access.get… in upload() 729 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload() 730 …DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*access.getWidth()*access.get… in upload() 820 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 207 const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * tcuFormat.getPixelSize(); in readColorAttachment() 592 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getSize() 600 …Size += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixelSize(); in getSize() 704 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getBufferCopyRegions() 737 …fset += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixelSize(); in getBufferCopyRegions() 771 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in write() 783 …s.getWidth() * srcAccess.getHeight() * srcAccess.getDepth() * srcAccess.getFormat().getPixelSize(); in write() 940 const deUint32 layerSize = levelLayers.getWidth() * levelLayers.getFormat().getPixelSize(); in getLevel() 949 const deUint32 layerSize = levelLayers.getWidth() * levelLayers.getFormat().getPixelSize(); in getLevel() 1088 …erSize = levelLayers.getWidth() * levelLayers.getHeight() * levelLayers.getFormat().getPixelSize(); in getLevel() [all …]
|
D | vktPipelineRenderToImageTests.cpp | 897 …VkDeviceSize colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFor… in testWithSizeReduction() 898 …VkDeviceSize depthStencilSize = (useDepthStencil ? product(imageSize) * tcu::getPixelSize(mapV… in testWithSizeReduction() 916 colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFormat)); in testWithSizeReduction() 917 …depthStencilSize = (useDepthStencil ? product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.d… in testWithSizeReduction() 942 colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFormat)); in testWithSizeReduction() 943 …depthStencilSize = (useDepthStencil ? product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.d… in testWithSizeReduction() 976 …const VkDeviceSize colorBufferSize = product(checkSize) * tcu::getPixelSize(mapVkFormat(caseDe… in testWithSizeReduction() 1388 … mipLevelStorageSizes = getPerMipLevelStorageSize(mipLevelSizes, tcu::getPixelSize(mapVkFormat(cas… in testRenderToMipMaps()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryExternalMemoryHostTests.cpp | 501 VkDeviceSize size = 10000 * vk::mapVkFormat(m_testParams.m_format).getPixelSize(); in createBindMemoryResultBuffer() 739 …iceSize dataBufferSize = 10000 * vk::mapVkFormat(m_testParams.m_format).getPixelSize(); in iterate() 804 …m_format), 100, 100, 1, (100 * vk::mapVkFormat(m_testParams.m_format).getPixelSize()), 0, m_hostMe… in iterate() 832 VkDeviceSize size = 10000 * vk::mapVkFormat(m_testParams.m_format).getPixelSize(); in prepareBufferForHostAccess() 851 VkDeviceSize size = 10000 * vk::mapVkFormat(m_testParams.m_format).getPixelSize(); in copyResultBuffertoBuffer() 896 VkDeviceSize size = 10000 * vk::mapVkFormat(m_testParams.m_format).getPixelSize(); in createDataBuffer() 914 VkDeviceSize size = 10000 * vk::mapVkFormat(m_testParams.m_format).getPixelSize(); in fillBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawImageObjectUtil.cpp | 177 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurface() 202 m_pixelAccessData.resize(width * height * depth * vk::mapVkFormat(m_format).getPixelSize()); in readVolume() 225 m_pixelAccessData.resize(width * vk::mapVkFormat(m_format).getPixelSize()); in readSurface1D() 281 bufferSize = vk::mapVkFormat(m_format).getPixelSize() * width * height * depth; in readUsingBuffer() 372 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurfaceLinear() 402 MemoryOp::unpack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth, in readLinear() 625 bufferSize = vk::mapVkFormat(m_format).getPixelSize() *width*height*depth; in uploadUsingBuffer() 726 MemoryOp::pack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth, in uploadLinear()
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsicsBase.cpp | 285 …t, imageSparseInfo.arrayLayers, m_format, imageSparseInfo.mipLevels) / tcu::getPixelSize(m_format); in iterate() 329 …arseInfo.extent, imageSparseInfo.arrayLayers, m_format, mipLevelNdx) / tcu::getPixelSize(m_format); in iterate() 633 …st<deUint32>(bufferImageResidencyCopy[mipmapNdx].bufferOffset) / tcu::getPixelSize(m_residencyForm… in iterate() 638 pixelOffsetNotAligned += mipLevelSizeInBytes / tcu::getPixelSize(m_residencyFormat); in iterate()
|
/external/deqp/modules/internal/ |
D | ditTextureFormatTests.cpp | 1193 const int inputPixelSize = getPixelSize(inputFormat); in getInputAccess() 1497 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate() 1530 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate() 1568 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate() 1606 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate()
|
D | ditImageIOTests.cpp | 60 …_CHECK(texture.getAccess().getRowPitch() == texture.getWidth()*texture.getFormat().getPixelSize()); in iterate()
|
/external/deqp/modules/glshared/ |
D | glsFragmentOpUtil.cpp | 283 original.getFormat().getPixelSize(), in getMultisampleAccess() 294 original.getFormat().getPixelSize(), in getMultisampleAccess()
|
D | glsLongStressCase.cpp | 127 const int pixelSize = format.getPixelSize(); in computePixelStore() 501 : glu::mapGLInternalFormat(internalFormat).getPixelSize(); in getApproxMemUsageDiff() 521 m_dataSizeApprox = width * height * format.getPixelSize() * (m_type == TEXTURETYPE_CUBE ? 6 : 1); in setData() 523 DE_ASSERT(src.getRowPitch() == format.getPixelSize()*src.getWidth()); in setData() 538 m_dataSizeApprox += levelWid * levelHei * format.getPixelSize(); in setData() 551 m_dataSizeApprox += 6 * levelWid * levelHei * format.getPixelSize(); in setData() 565 DE_ASSERT(src.getRowPitch() == format.getPixelSize()*src.getWidth()); in setSubData()
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJ.java | 220 public static int getPixelSize(int pixelFormat) { in getPixelSize() method in TJ
|
D | TJCompressor.java | 153 srcPitch = width * TJ.getPixelSize(pixelFormat); in setSourceImage() 252 if (pixelSize != TJ.getPixelSize(pixelFormat)) in setSourceImage()
|
D | TJDecompressor.java | 444 int pixelSize = TJ.getPixelSize(pixelFormat); in decompress() 810 if (pixelSize != TJ.getPixelSize(pixelFormat)) in decompress()
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureUnitTests.cpp | 1072 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in upload2dTexture() 1098 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in uploadCubeTexture() 1124 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in upload2dArrayTexture() 1125 DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*width*height); in upload2dArrayTexture() 1150 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in upload3dTexture() 1151 DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*width*height); in upload3dTexture()
|
D | es3fTextureSpecificationTests.cpp | 989 int rowPitch = deAlign32(levelW*m_texFormat.getPixelSize(), m_alignment); in createTexture() 1043 int rowPitch = deAlign32(m_texFormat.getPixelSize()*levelSize, m_alignment); in createTexture() 1080 int pixelSize = m_texFormat.getPixelSize(); in createTexture() 1148 int pixelSize = m_texFormat.getPixelSize(); in createTexture() 1380 int pixelSize = m_texFormat.getPixelSize(); in createTexture() 1664 data.resize(m_texFormat.getPixelSize()*m_width*m_height); in createTexture() 1671 int rowPitch = deAlign32(m_texFormat.getPixelSize()*m_subW, m_alignment); in createTexture() 1732 data.resize(m_texFormat.getPixelSize()*m_size*m_size); in createTexture() 1740 int rowPitch = deAlign32(m_texFormat.getPixelSize()*m_subW, m_alignment); in createTexture() 1803 int pixelSize = m_texFormat.getPixelSize(); in createTexture() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 974 offsetMultiples.push_back(texFormat.getPixelSize()); in uploadImage() 984 … += access.getWidth() * access.getHeight() * access.getDepth() * access.getFormat().getPixelSize(); in uploadImage() 1045 … += access.getWidth() * access.getHeight() * access.getDepth() * access.getFormat().getPixelSize(); in uploadImage() 1240 offsetMultiples.push_back(texFormat.getPixelSize()); in uploadSparseImage() 1255 … += access.getWidth() * access.getHeight() * access.getDepth() * access.getFormat().getPixelSize(); in uploadSparseImage() 1317 … += access.getWidth() * access.getHeight() * access.getDepth() * access.getFormat().getPixelSize(); in uploadSparseImage() 1409 …rSize = levelLayers.getWidth() * levelLayers.getHeight() * levelLayers.getFormat().getPixelSize(); in useSampler() 1474 const deUint32 layerSize = levelLayers.getWidth() * levelLayers.getFormat().getPixelSize(); in useSampler() 1500 …rSize = levelLayers.getWidth() * levelLayers.getHeight() * levelLayers.getFormat().getPixelSize(); in useSampler() 2276 …const VkDeviceSize imageSizeBytes = (VkDeviceSize)(resultFormat.getPixelSize() * m_rende… in render()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cSparseTexture2Tests.cpp | 1049 GLint texSize = width * height * depth * mState.format.getPixelSize(); in writeDataToTexture() 1149 GLint texSize = width * height * depth * mState.format.getPixelSize(); in verifyTextureData() 1169 int pixelSize = mState.format.getPixelSize(); in verifyTextureData() 1187 GLint texSize = width * height * mState.format.getPixelSize(); in verifyTextureData() 1214 int pixelSize = mState.format.getPixelSize(); in verifyTextureData() 1713 GLint texSize = width * height * depth * mState.format.getPixelSize(); in verifyTextureDataExtended() 1734 int pixelSize = mState.format.getPixelSize(); in verifyTextureDataExtended() 1753 GLint texSize = width * height * mState.format.getPixelSize(); in verifyTextureDataExtended() 1780 int pixelSize = mState.format.getPixelSize(); in verifyTextureDataExtended() 2690 GLint texSize = width * height * depth * mState.format.getPixelSize(); in writeDataToTexture()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmCrossStageInterfaceTests.cpp | 602 const int pixelSize = referenceFrame.getFormat().getPixelSize(); in checkImage() 660 …l(0).getPixelPtr(0,0), m_extent.width * m_extent.depth* referenceFrame.getFormat().getPixelSize()); in interpolationFill() 684 …l(0).getPixelPtr(0,0), m_extent.width * m_extent.depth* referenceFrame.getFormat().getPixelSize()); in perspectiveFill() 694 …l(0).getPixelPtr(0,0), m_extent.width * m_extent.depth* referenceFrame.getFormat().getPixelSize()); in redFill()
|
/external/libjpeg-turbo/java/ |
D | TJBench.java | 120 int ps = TJ.getPixelSize(pixelFormat); in loadImage() 144 int ps = TJ.getPixelSize(pixelFormat); in saveImage() 169 int ps = TJ.getPixelSize(pf), i, iter = 0; in decomp() 334 int ps = TJ.getPixelSize(pf); in fullTest() 494 int ps = TJ.getPixelSize(pf), tile, x, y, iter; in decompTest()
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeTestsUtil.hpp | 136 return tcu::getPixelSize(vk::mapVkFormat(format)) * imageSize.x() * imageSize.y() * imageSize.z(); in getImageSizeBytes()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryTestsUtil.cpp | 561 const deUint32 colorPixelSize = static_cast<deUint32>(tcu::getPixelSize(textureFormat)); in fillBuffer() 580 const deUint32 colorPixelSize = static_cast<deUint32>(tcu::getPixelSize(textureFormat)); in fillBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationMiscDrawTests.cpp | 145 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in runTest() 173 …const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkF… in runTest()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassSampleReadTests.cpp | 203 VkDeviceSize getPixelSize (VkFormat vkFormat) in getPixelSize() function 207 return format.getPixelSize(); in getPixelSize() 217 const VkDeviceSize pixelSize (getPixelSize(format)); in createBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureTestUtil.cpp | 470 , m_resultBufferSize (renderWidth * renderHeight * m_textureFormat.getPixelSize()) in TextureRenderer() 1524 …std::vector<deUint8> uncompressedData (uncompressedFormat.getPixelSize() * level.getWidth() * lev… in loadTexture2D() 1528 …std::vector<deUint8> commonFromatData (commonFormat.getPixelSize() * level.getWidth() * level.get… in loadTexture2D() 1588 …std::vector<deUint8> uncompressedData (uncompressedFormat.getPixelSize() * level.getWidth() * l… in loadTextureCube() 1592 …std::vector<deUint8> commonFromatData (commonFormat.getPixelSize() * level.getWidth() * level.g… in loadTextureCube()
|