Home
last modified time | relevance | path

Searched refs:getPixelSize (Results 1 – 25 of 178) sorted by relevance

12345678

/third_party/vk-gl-cts/framework/opengl/
DgluPixelTransfer.cpp38 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()
DgluTexture.cpp43 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/
DglcNearestEdgeTests.cpp268 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/
DvktPipelineImageUtil.cpp223 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 …]
DvktPipelineRenderToImageTests.cpp894 …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/
DvktDrawImageObjectUtil.cpp177 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/
DUnpackAlignmentTest.cpp47 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/
DUnpackAlignmentTest.cpp47 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/
DditTextureFormatTests.cpp1239 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()
DditImageIOTests.cpp60 …_CHECK(texture.getAccess().getRowPitch() == texture.getWidth()*texture.getFormat().getPixelSize()); in iterate()
/third_party/vk-gl-cts/modules/glshared/
DglsFragmentOpUtil.cpp283 original.getFormat().getPixelSize(), in getMultisampleAccess()
294 original.getFormat().getPixelSize(), in getMultisampleAccess()
DglsLongStressCase.cpp127 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/
DTJ.java220 public static int getPixelSize(int pixelFormat) { in getPixelSize() method in TJ
DTJCompressor.java153 srcPitch = width * TJ.getPixelSize(pixelFormat); in setSourceImage()
252 if (pixelSize != TJ.getPixelSize(pixelFormat)) in setSourceImage()
/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJ.java220 public static int getPixelSize(int pixelFormat) { in getPixelSize() method in TJ
DTJCompressor.java153 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/
DvktComputeTestsUtil.hpp104 return tcu::getPixelSize(vk::mapVkFormat(format)) * imageSize.x() * imageSize.y() * imageSize.z(); in getImageSizeBytes()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.cpp431 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/
DvktDescriptorSetsIndexingTests.hpp268 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/
DvktSpvAsmCrossStageInterfaceTests.cpp527 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/
Des3fTextureUnitTests.cpp1074 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/
DvktShaderRender.cpp1003 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/
Dgl4cSparseTexture2Tests.cpp1049 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/
DTJBench.java120 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/
DTJBench.java120 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()

12345678