Home
last modified time | relevance | path

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

123

/external/deqp/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()
367 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
486 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
573 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
574 …DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*access.getWidth()*access.get… in upload()
695 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
696 …DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*access.getWidth()*access.get… in upload()
786 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
787 …DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*access.getWidth()*access.get… in upload()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
DETC1.java142 private static int getPixelSize (Format format) { in getPixelSize() method in ETC1
152 int pixelSize = getPixelSize(pixmap.getFormat()); in encodeImage()
163 int pixelSize = getPixelSize(pixmap.getFormat()); in encodeImagePKM()
189 int pixelSize = getPixelSize(format); in decodeImage()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp182 const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * tcuFormat.getPixelSize(); in readColorAttachment()
551 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getSize()
559 …Size += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixelSize(); in getSize()
651 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getBufferCopyRegions()
681 …fset += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixelSize(); in getBufferCopyRegions()
715 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in write()
727 …s.getWidth() * srcAccess.getHeight() * srcAccess.getDepth() * srcAccess.getFormat().getPixelSize(); in write()
860 const deUint32 layerSize = levelLayers.getWidth() * levelLayers.getFormat().getPixelSize(); in getLevel()
869 const deUint32 layerSize = levelLayers.getWidth() * levelLayers.getFormat().getPixelSize(); in getLevel()
969 …erSize = levelLayers.getWidth() * levelLayers.getHeight() * levelLayers.getFormat().getPixelSize(); in getLevel()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp174 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurface()
199 m_pixelAccessData.resize(width * height * depth * vk::mapVkFormat(m_format).getPixelSize()); in readVolume()
222 m_pixelAccessData.resize(width * vk::mapVkFormat(m_format).getPixelSize()); in readSurface1D()
278 bufferSize = vk::mapVkFormat(m_format).getPixelSize() * width * height * depth; in readUsingBuffer()
391 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurfaceLinear()
415 MemoryOp::unpack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth, in readLinear()
685 bufferSize = vk::mapVkFormat(m_format).getPixelSize() *width*height*depth; in uploadUsingBuffer()
807 MemoryOp::pack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth, in uploadLinear()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateImageObjectUtil.cpp174 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurface()
199 m_pixelAccessData.resize(width * height * depth * vk::mapVkFormat(m_format).getPixelSize()); in readVolume()
222 m_pixelAccessData.resize(width * vk::mapVkFormat(m_format).getPixelSize()); in readSurface1D()
278 bufferSize = vk::mapVkFormat(m_format).getPixelSize() * width * height * depth; in readUsingBuffer()
391 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurfaceLinear()
415 MemoryOp::unpack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth, in readLinear()
685 bufferSize = vk::mapVkFormat(m_format).getPixelSize() *width*height*depth; in uploadUsingBuffer()
807 MemoryOp::pack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth, in uploadLinear()
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolImageObjectUtil.cpp176 m_pixelAccessData.resize(width * height * depth * vk::mapVkFormat(m_format).getPixelSize()); in readVolume()
199 m_pixelAccessData.resize(width * vk::mapVkFormat(m_format).getPixelSize()); in readSurface1D()
255 bufferSize = vk::mapVkFormat(m_format).getPixelSize() * width * height * depth; in readUsingBuffer()
368 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurfaceLinear()
392 MemoryOp::unpack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth, in readLinear()
662 bufferSize = vk::mapVkFormat(m_format).getPixelSize() *width*height*depth; in uploadUsingBuffer()
785 MemoryOp::pack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth, in uploadLinear()
/external/deqp/modules/internal/
DditTextureFormatTests.cpp1108 const int inputPixelSize = getPixelSize(inputFormat); in getInputAccess()
1407 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate()
1440 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate()
1478 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate()
1516 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate()
DditImageIOTests.cpp60 …_CHECK(texture.getAccess().getRowPitch() == texture.getWidth()*texture.getFormat().getPixelSize()); in iterate()
/external/deqp/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()
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJ.java220 public static int getPixelSize(int pixelFormat) throws Exception { in getPixelSize() method in TJ
DTJCompressor.java150 srcPitch = width * TJ.getPixelSize(pixelFormat); in setSourceImage()
248 if (pixelSize != TJ.getPixelSize(pixelFormat)) in setSourceImage()
DTJDecompressor.java436 int pixelSize = TJ.getPixelSize(pixelFormat); in decompress()
786 if (pixelSize != TJ.getPixelSize(pixelFormat)) in decompress()
/external/libjpeg-turbo/java/
DTJBench.java95 int ps = TJ.getPixelSize(pixelFormat); in loadImage()
116 int ps = TJ.getPixelSize(pixelFormat); in saveImage()
139 int ps = TJ.getPixelSize(pf), i, iter = 0; in decomp()
280 int ps = TJ.getPixelSize(pf); in fullTest()
427 int ps = TJ.getPixelSize(pf), tile; in decompTest()
DTJUnitTest.java159 int ps = TJ.getPixelSize(pf); in initBuf()
311 int ps = TJ.getPixelSize(pf); in checkBuf()
656 ps = TJ.getPixelSize(pf); in compTest()
778 scaledWidth * TJ.getPixelSize(pf), scaledHeight, pf, in decompTest()
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp1071 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in upload2dTexture()
1097 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in uploadCubeTexture()
1123 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in upload2dArrayTexture()
1124 DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*width*height); in upload2dArrayTexture()
1149 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in upload3dTexture()
1150 DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*width*height); in upload3dTexture()
Des3fTextureSpecificationTests.cpp989 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()
1149 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
1381 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
1665 data.resize(m_texFormat.getPixelSize()*m_width*m_height); in createTexture()
1672 int rowPitch = deAlign32(m_texFormat.getPixelSize()*m_subW, m_alignment); in createTexture()
1733 data.resize(m_texFormat.getPixelSize()*m_size*m_size); in createTexture()
1741 int rowPitch = deAlign32(m_texFormat.getPixelSize()*m_subW, m_alignment); in createTexture()
1804 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.hpp157 return tcu::getPixelSize(vk::mapVkFormat(format)) * imageSize.x() * imageSize.y() * imageSize.z(); in getImageSizeBytes()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp116 … return src.getWidth() * src.getHeight() * src.getDepth() * tcu::getPixelSize(src.getFormat()); in calculateSize()
451 …xelDataSize = imageSize.width * imageSize.height * imageSize.depth * tcu::getPixelSize(tcuFormat); in readImage()
1023 , m_bufferSize(m_params.dst.buffer.size * tcu::getPixelSize(m_textureFormat)) in CopyImageToBuffer()
1206 const int texelSize = src.getFormat().getPixelSize(); in copyRegionToTextureLevel()
1248 , m_bufferSize(m_params.src.buffer.size * tcu::getPixelSize(m_textureFormat)) in CopyBufferToImage()
1415 const int texelSize = dst.getFormat().getPixelSize(); in copyRegionToTextureLevel()
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp680 …0) ? (targetRowLength * transferFormat.getPixelSize()) : (deAlign32(targetRowLength * transferForm… in glReadPixels()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.hpp176 return tcu::getPixelSize(vk::mapVkFormat(format)) * imageSize.x() * imageSize.y() * imageSize.z(); in getImageSizeBytes()
DvktImageAtomicOperationTests.cpp449 …const VkDeviceSize imageSizeInBytes = tcu::getPixelSize(m_format) * getNumPixels(m_imageType, m_i… in iterate()
609 return tcu::getPixelSize(m_format) * getNumPixels(m_imageType, m_imageSize); in getOutputBufferSize()
742 …return NUM_INVOCATIONS_PER_PIXEL * tcu::getPixelSize(m_format) * getNumPixels(m_imageType, m_image… in getOutputBufferSize()
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp704 const int numBytes = format.getPixelSize() * imageSize.x(); in setTextureStorage()
740 const int pixelSize = src.getFormat().getPixelSize(); in uploadTexture()
754 …glLog.glBufferData(GL_TEXTURE_BUFFER, src.getFormat().getPixelSize() * imageSize.x(), src.getAcces… in uploadTexture()
1039 const int dataSize = imageSize * textureFormat.getPixelSize(); in readBufferTextureWithMappingAndVerify()
1296 DE_ASSERT(textureFormat.getPixelSize() == imageFormat.getPixelSize()); in ImageLoadAndStoreCase()
1317 const int pixelSize = imageFormat.getPixelSize(); in replaceBadFloatReinterpretValues()
1503 const int pixelSize = m_imageFormat.getPixelSize(); in iterate()
3283 if (texFmt != imgFmt && texFmt.getPixelSize() == imgFmt.getPixelSize()) in init()
Des31fTextureLevelStateQueryTests.cpp381 static int getPixelSize (glw::GLenum internalFormat) in getPixelSize() function
384 return fmt.getPixelSize(); in getPixelSize()
476 const int baseSize = getPixelSize(internalFormat); in generateColorTextureGenerationGroup()
500 const int baseSize = getPixelSize(internalFormat); in generateColorTextureGenerationGroup()
623 const int baseSize = getPixelSize(internalFormats[internalFormatNdx]); in generateInternalFormatTextureGenerationGroup()

123