/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcNearestEdgeTests.cpp | 268 m_texData.resize(m_width * m_height * tcu::getPixelSize(m_texFormat)); in fillTexture() 291 if (tcu::getPixelSize(m_texFormat) < 4) in fillTexture() 357 std::vector<deUint8> fbData(m_width * m_height * tcu::getPixelSize(m_texFormat)); in verifyResults() 358 if (tcu::getPixelSize(m_texFormat) < 4) in verifyResults() 368 const auto diffBytes = tcu::getPixelSize(diffFormat) * m_width * m_height; in verifyResults()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 223 const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * tcuFormat.getPixelSize(); in readColorAttachment() 304 …const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize(… in readDepthAttachment() 362 …const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize(… in readStencilAttachment() 744 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getSize() 752 …Size += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixelSize(); in getSize() 856 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getBufferCopyRegions() 889 …fset += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixelSize(); in getBufferCopyRegions() 923 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in write() 935 …s.getWidth() * srcAccess.getHeight() * srcAccess.getDepth() * srcAccess.getFormat().getPixelSize(); in write() 1092 const deUint32 layerSize = levelLayers.getWidth() * levelLayers.getFormat().getPixelSize(); in getLevel() [all …]
|
D | vktPipelineRenderToImageTests.cpp | 894 …VkDeviceSize colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFor… in testWithSizeReduction() 895 …VkDeviceSize depthStencilSize = (useDepthStencil ? product(imageSize) * tcu::getPixelSize(mapV… in testWithSizeReduction() 917 colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFormat)); in testWithSizeReduction() 918 …depthStencilSize = (useDepthStencil ? product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.d… in testWithSizeReduction() 943 colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFormat)); in testWithSizeReduction() 944 …depthStencilSize = (useDepthStencil ? product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.d… in testWithSizeReduction() 973 …const VkDeviceSize colorBufferSize = product(checkSize) * tcu::getPixelSize(mapVkFormat(caseDe… in testWithSizeReduction() 1404 … mipLevelStorageSizes = getPerMipLevelStorageSize(mipLevelSizes, tcu::getPixelSize(mapVkFormat(cas… in testRenderToMipMaps()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawImageObjectUtil.cpp | 177 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurface() 203 m_pixelAccessData.resize(width * height * tcuFormat.getPixelSize()); in readDepth() 221 m_pixelAccessData.resize(width * height * depth * vk::mapVkFormat(m_format).getPixelSize()); in readVolume() 244 m_pixelAccessData.resize(width * vk::mapVkFormat(m_format).getPixelSize()); in readSurface1D() 300 bufferSize = vk::mapVkFormat(m_format).getPixelSize() * width * height * depth; in readUsingBuffer() 422 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurfaceLinear() 452 MemoryOp::unpack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth, in readLinear() 700 bufferSize = vk::mapVkFormat(m_format).getPixelSize() *width*height*depth; in uploadUsingBuffer() 801 MemoryOp::pack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth, in uploadLinear()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | UnpackAlignmentTest.cpp | 47 void getPixelSize(GLenum format, GLenum type, unsigned int *size) in getPixelSize() function in __anonbda08d530111::UnpackAlignmentTest 105 getPixelSize(format, type, &pixelSize); in testAlignment()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | UnpackAlignmentTest.cpp | 47 void getPixelSize(GLenum format, GLenum type, unsigned int *size) in getPixelSize() function in __anonb297443e0111::UnpackAlignmentTest 105 getPixelSize(format, type, &pixelSize); in testAlignment()
|
/third_party/vk-gl-cts/modules/internal/ |
D | ditTextureFormatTests.cpp | 1239 const int inputPixelSize = getPixelSize(inputFormat); in getInputAccess() 1543 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate() 1576 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate() 1614 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate() 1652 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()
|
/third_party/vk-gl-cts/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()
|
/third_party/flutter/skia/third_party/externals/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()
|
/third_party/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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeTestsUtil.hpp | 104 return tcu::getPixelSize(vk::mapVkFormat(format)) * imageSize.x() * imageSize.y() * imageSize.z(); in getImageSizeBytes()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryTestsUtil.cpp | 431 const deUint32 colorPixelSize = static_cast<deUint32>(tcu::getPixelSize(textureFormat)); in fillBuffer() 450 const deUint32 colorPixelSize = static_cast<deUint32>(tcu::getPixelSize(textureFormat)); in fillBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTests.hpp | 268 return extent.width * extent.height * extent.depth * format.getPixelSize(); in calcTexSize() 272 return width * height * depth * format.getPixelSize(); in calcTexSize()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmCrossStageInterfaceTests.cpp | 527 const int pixelSize = referenceFrame.getFormat().getPixelSize(); in checkImage() 585 …l(0).getPixelPtr(0,0), m_extent.width * m_extent.depth* referenceFrame.getFormat().getPixelSize()); in interpolationFill() 609 …l(0).getPixelPtr(0,0), m_extent.width * m_extent.depth* referenceFrame.getFormat().getPixelSize()); in perspectiveFill() 619 …l(0).getPixelPtr(0,0), m_extent.width * m_extent.depth* referenceFrame.getFormat().getPixelSize()); in redFill()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureUnitTests.cpp | 1074 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in upload2dTexture() 1100 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in uploadCubeTexture() 1126 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in upload2dArrayTexture() 1127 DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*width*height); in upload2dArrayTexture() 1152 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in upload3dTexture() 1153 DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*width*height); in upload3dTexture()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 1003 offsetMultiples.push_back(texFormat.getPixelSize()); in uploadImage() 1013 … += access.getWidth() * access.getHeight() * access.getDepth() * access.getFormat().getPixelSize(); in uploadImage() 1074 … += access.getWidth() * access.getHeight() * access.getDepth() * access.getFormat().getPixelSize(); in uploadImage() 1269 offsetMultiples.push_back(texFormat.getPixelSize()); in uploadSparseImage() 1284 … += access.getWidth() * access.getHeight() * access.getDepth() * access.getFormat().getPixelSize(); in uploadSparseImage() 1346 … += access.getWidth() * access.getHeight() * access.getDepth() * access.getFormat().getPixelSize(); in uploadSparseImage() 1438 …rSize = levelLayers.getWidth() * levelLayers.getHeight() * levelLayers.getFormat().getPixelSize(); in useSampler() 1503 const deUint32 layerSize = levelLayers.getWidth() * levelLayers.getFormat().getPixelSize(); in useSampler() 1529 …rSize = levelLayers.getWidth() * levelLayers.getHeight() * levelLayers.getFormat().getPixelSize(); in useSampler() 2314 …const VkDeviceSize imageSizeBytes = (VkDeviceSize)(resultFormat.getPixelSize() * m_rende… in render()
|
/third_party/vk-gl-cts/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()
|
/third_party/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() 496 int ps = TJ.getPixelSize(pf), tile, x, y, iter; in decompTest()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/ |
D | TJBench.java | 120 int ps = TJ.getPixelSize(pixelFormat); in loadImage() 142 int ps = TJ.getPixelSize(pixelFormat); in saveImage() 167 int ps = TJ.getPixelSize(pf), i, iter = 0; in decomp() 327 int ps = TJ.getPixelSize(pf); in fullTest() 485 int ps = TJ.getPixelSize(pf), tile, x, y, iter; in decompTest()
|