/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageTestsUtil.cpp | 58 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize) in getShaderGridSize() argument 64 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize() 67 return tcu::UVec3(imageSize.x(), imageSize.z(), 1u); in getShaderGridSize() 70 return tcu::UVec3(imageSize.x(), imageSize.y(), 1u); in getShaderGridSize() 74 return tcu::UVec3(imageSize.x(), imageSize.y(), imageSize.z()); in getShaderGridSize() 77 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u); in getShaderGridSize() 80 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u * imageSize.z()); in getShaderGridSize() 88 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument 95 return tcu::UVec3(imageSize.x(), 1u, 1u); in getLayerSize() 101 return tcu::UVec3(imageSize.x(), imageSize.y(), 1u); in getLayerSize() [all …]
|
D | vktImageQualifiersTests.cpp | 68 const tcu::UVec3 getLocalWorkGroupSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLocalWorkGroupSize() argument 70 const tcu::UVec3 computeGridSize = getShaderGridSize(imageType, imageSize); in getLocalWorkGroupSize() 78 const tcu::UVec3 getNumWorkGroups (const ImageType imageType, const tcu::UVec3& imageSize) in getNumWorkGroups() argument 80 const tcu::UVec3 computeGridSize = getShaderGridSize(imageType, imageSize); in getNumWorkGroups() 81 const tcu::UVec3 localWorkGroupSize = getLocalWorkGroupSize(imageType, imageSize); in getNumWorkGroups() 115 const tcu::UVec3& imageSize, in comparePixelBuffers() argument 126 for (deUint32 layerNdx = 0; layerNdx < getNumLayers(imageType, imageSize); ++layerNdx) in comparePixelBuffers() 160 return passedLayers == getNumLayers(imageType, imageSize); in comparePixelBuffers() 207 const tcu::UVec3& imageSize, 230 const tcu::UVec3& imageSize, in MemoryQualifierTestCase() argument [all …]
|
D | vktImageTestsUtil.hpp | 101 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size us… 102 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size of a s… 103 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of arr… 104 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of tex… 174 inline vk::VkDeviceSize getImageSizeBytes (const tcu::IVec3& imageSize, const vk::VkFormat format) in getImageSizeBytes() argument 176 return tcu::getPixelSize(vk::mapVkFormat(format)) * imageSize.x() * imageSize.y() * imageSize.z(); in getImageSizeBytes()
|
D | vktImageLoadStoreUtil.cpp | 35 float computeStoreColorScale (const vk::VkFormat format, const tcu::IVec3 imageSize) in computeStoreColorScale() argument 37 const int maxImageDimension = de::max(imageSize.x(), de::max(imageSize.y(), imageSize.z())); in computeStoreColorScale()
|
D | vktImageAtomicOperationTests.cpp | 248 const tcu::UVec3& imageSize, 268 const tcu::UVec3& imageSize, in BinaryAtomicEndResultCase() argument 274 , m_imageSize (imageSize) in BinaryAtomicEndResultCase() 321 const tcu::UVec3& imageSize, 341 const tcu::UVec3& imageSize, in BinaryAtomicIntermValuesCase() argument 347 , m_imageSize (imageSize) in BinaryAtomicIntermValuesCase() 396 const tcu::UVec3& imageSize, 430 const tcu::UVec3& imageSize, in BinaryAtomicInstanceBase() argument 436 , m_imageSize (imageSize) in BinaryAtomicInstanceBase() 591 const tcu::UVec3& imageSize, in BinaryAtomicEndResultInstance() argument [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleTestsUtil.cpp | 40 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const deUint3… in getShaderGridSize() argument 42 const deUint32 mipLevelX = std::max(imageSize.x() >> mipLevel, 1u); in getShaderGridSize() 43 const deUint32 mipLevelY = std::max(imageSize.y() >> mipLevel, 1u); in getShaderGridSize() 44 const deUint32 mipLevelZ = std::max(imageSize.z() >> mipLevel, 1u); in getShaderGridSize() 52 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize() 55 return tcu::UVec3(mipLevelX, imageSize.z(), 1u); in getShaderGridSize() 61 return tcu::UVec3(mipLevelX, mipLevelY, imageSize.z()); in getShaderGridSize() 70 return tcu::UVec3(mipLevelX, mipLevelY, 6u * imageSize.z()); in getShaderGridSize() 78 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument 85 return tcu::UVec3(imageSize.x(), 1u, 1u); in getLayerSize() [all …]
|
D | vktPipelineMultisampleInterpolationTests.cpp | 42 …st VkSampleCountFlagBits samples, const tcu::UVec3& size) : numSamples(samples), imageSize(size) {} in ImageMSParams() 45 tcu::UVec3 imageSize; member 93 const tcu::UVec3& imageSize) const; 119 const tcu::UVec3& imageSize) const in validateImageSize() 128 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension1D; in validateImageSize() 131 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension1D && in validateImageSize() 132 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in validateImageSize() 135 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize() 136 imageSize.y() <= deviceProperties.limits.maxImageDimension2D; in validateImageSize() 139 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize() [all …]
|
D | vktPipelineMultisampleTestsUtil.hpp | 65 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const de… 67 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize); 69 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize); 71 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize);
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsicsSampled.hpp | 40 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseSampledBase() argument 42 … : SparseShaderIntrinsicsCaseBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseSampledBase() 60 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseSampledExplicit() argument 62 … : SparseShaderIntrinsicsCaseSampledBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseSampledExplicit() 74 const tcu::UVec3& imageSize, in SparseCaseOpImageSparseSampleExplicitLod() argument 76 …parseShaderIntrinsicsCaseSampledExplicit (testCtx, name, function, imageType, imageSize, format) {} in SparseCaseOpImageSparseSampleExplicitLod() 92 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseSampledImplicit() argument 94 … : SparseShaderIntrinsicsCaseSampledBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseSampledImplicit() 106 const tcu::UVec3& imageSize, in SparseCaseOpImageSparseSampleImplicitLod() argument 108 …parseShaderIntrinsicsCaseSampledImplicit (testCtx, name, function, imageType, imageSize, format) {} in SparseCaseOpImageSparseSampleImplicitLod() [all …]
|
D | vktSparseResourcesTestsUtil.cpp | 38 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const deUint3… in getShaderGridSize() argument 40 const deUint32 mipLevelX = std::max(imageSize.x() >> mipLevel, 1u); in getShaderGridSize() 41 const deUint32 mipLevelY = std::max(imageSize.y() >> mipLevel, 1u); in getShaderGridSize() 42 const deUint32 mipLevelZ = std::max(imageSize.z() >> mipLevel, 1u); in getShaderGridSize() 50 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize() 53 return tcu::UVec3(mipLevelX, imageSize.z(), 1u); in getShaderGridSize() 59 return tcu::UVec3(mipLevelX, mipLevelY, imageSize.z()); in getShaderGridSize() 68 return tcu::UVec3(mipLevelX, mipLevelY, 6u * imageSize.z()); in getShaderGridSize() 76 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument 83 return tcu::UVec3(imageSize.x(), 1u, 1u); in getLayerSize() [all …]
|
D | vktSparseResourcesShaderIntrinsics.cpp | 90 const tcu::UVec3 imageSize = imageParametersArray[imageTypeNdx].imageSizes[imageSizeNdx]; in createSparseResourcesShaderIntrinsicsTests() local 93 stream << imageSize.x() << "_" << imageSize.y() << "_" << imageSize.z(); in createSparseResourcesShaderIntrinsicsTests() 111 …d(new SparseCaseOpImageSparseFetch(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests() 114 …ld(new SparseCaseOpImageSparseRead(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests() 117 …CaseOpImageSparseSampleExplicitLod(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests() 120 …CaseOpImageSparseSampleImplicitLod(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests() 123 …(new SparseCaseOpImageSparseGather(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests()
|
D | vktSparseResourcesShaderIntrinsicsStorage.hpp | 40 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseStorage() argument 42 … : SparseShaderIntrinsicsCaseBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseStorage() 63 const tcu::UVec3& imageSize, in SparseCaseOpImageSparseFetch() argument 65 … : SparseShaderIntrinsicsCaseStorage (testCtx, name, function, imageType, imageSize, format) {} in SparseCaseOpImageSparseFetch() 86 const tcu::UVec3& imageSize, in SparseCaseOpImageSparseRead() argument 88 … : SparseShaderIntrinsicsCaseStorage (testCtx, name, function, imageType, imageSize, format) {} in SparseCaseOpImageSparseRead()
|
D | vktSparseResourcesImageSparseBinding.cpp | 62 const tcu::UVec3& imageSize, 77 const tcu::UVec3& imageSize, in ImageSparseBindingCase() argument 81 , m_imageSize (imageSize) in ImageSparseBindingCase() 91 const tcu::UVec3& imageSize, 104 const tcu::UVec3& imageSize, in ImageSparseBindingInstance() argument 108 , m_imageSize (imageSize) in ImageSparseBindingInstance() 408 const tcu::UVec3 imageSize = imageParametersArray[imageTypeNdx].imageSizes[imageSizeNdx]; in createImageSparseBindingTests() local 411 stream << imageSize.x() << "_" << imageSize.y() << "_" << imageSize.z(); in createImageSparseBindingTests() 413 …oup->addChild(new ImageSparseBindingCase(testCtx, stream.str(), "", imageType, imageSize, format)); in createImageSparseBindingTests()
|
D | vktSparseResourcesShaderIntrinsicsBase.hpp | 107 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseBase() argument 112 , m_imageSize(imageSize) in SparseShaderIntrinsicsCaseBase() 130 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsInstanceBase() argument 135 , m_imageSize(imageSize) in SparseShaderIntrinsicsInstanceBase()
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 73 const tcu::UVec3& imageSize, 88 const tcu::UVec3& imageSize, in MipmapSparseResidencyCase() argument 92 , m_imageSize (imageSize) in MipmapSparseResidencyCase() 102 const tcu::UVec3& imageSize, 116 const tcu::UVec3& imageSize, in MipmapSparseResidencyInstance() argument 120 , m_imageSize (imageSize) in MipmapSparseResidencyInstance() 491 const tcu::UVec3 imageSize = imageParametersArray[imageTypeNdx].imageSizes[imageSizeNdx]; in createMipmapSparseResidencyTests() local 494 stream << imageSize.x() << "_" << imageSize.y() << "_" << imageSize.z(); in createMipmapSparseResidencyTests() 496 …->addChild(new MipmapSparseResidencyCase(testCtx, stream.str(), "", imageType, imageSize, format)); in createMipmapSparseResidencyTests()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderImageLoadStoreTests.cpp | 696 …er& glLog, TextureType imageType, deUint32 internalFormat, const IVec3& imageSize, deUint32 textur… in setTextureStorage() argument 705 const int numBytes = format.getPixelSize() * imageSize.x(); in setTextureStorage() 710 DE_ASSERT(imageSize.y() == 1 && imageSize.z() == 1); in setTextureStorage() 718 glLog.glTexStorage2D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y()); in setTextureStorage() 719 DE_ASSERT(imageSize.z() == 1); in setTextureStorage() 724 …glLog.glTexStorage3D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y(), imageSize.z()… in setTextureStorage() 736 const IVec3& imageSize = src.getSize(); in uploadTexture() local 738 setTextureStorage(glLog, src.getImageType(), internalFormat, imageSize, textureBufGL); in uploadTexture() 755 …glLog.glBufferData(GL_TEXTURE_BUFFER, src.getFormat().getPixelSize() * imageSize.x(), src.getAcces… in uploadTexture() 758 …glLog.glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, imageSize.x(), imageSize.y(), transferFormat.format,… in uploadTexture() [all …]
|
/external/opencv/cvaux/src/ |
D | cvepilines.cpp | 667 int icvGetAngleLine( CvPoint2D64d startPoint, CvSize imageSize,CvPoint2D64d *point1,CvPoint2D64d *p… in icvGetAngleLine() argument 678 pb.x = imageSize.width-1; in icvGetAngleLine() 681 pd.x = imageSize.width-1; in icvGetAngleLine() 682 pd.y = imageSize.height-1; in icvGetAngleLine() 685 pc.y = imageSize.height-1; in icvGetAngleLine() 697 else if( startPoint.y > imageSize.height-1 ) in icvGetAngleLine() 708 else if ( startPoint.x > imageSize.width-1 ) in icvGetAngleLine() 715 else if ( startPoint.y > imageSize.height-1 ) in icvGetAngleLine() 730 if( startPoint.x < imageSize.width/2 ) in icvGetAngleLine() 741 else if( startPoint.y > imageSize.height-1 ) in icvGetAngleLine() [all …]
|
/external/mesa3d/src/glx/ |
D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 210 start = ((const GLubyte *) userdata) + skipImages * imageSize + in __glFillImage() 230 itera += imageSize; in __glFillImage() 250 itera += imageSize; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage() 437 start = ((GLubyte *) userdata) + skipImages * imageSize + in __glEmptyImage() 458 itera += imageSize; in __glEmptyImage()
|
/external/opencv/ |
D | cvjni.cpp | 151 int imageSize = strm->GetSize(); in Java_org_siprop_opencv_OpenCV_getSourceImage() local 152 jbooleanArray res_array = env->NewBooleanArray(imageSize); in Java_org_siprop_opencv_OpenCV_getSourceImage() 157 env->SetBooleanArrayRegion(res_array, 0, imageSize, (jboolean*)strm->GetByte()); in Java_org_siprop_opencv_OpenCV_getSourceImage() 257 int imageSize; in Java_org_siprop_opencv_OpenCV_findContours() local 270 imageSize = strm->GetSize(); in Java_org_siprop_opencv_OpenCV_findContours() 271 jbooleanArray res_array = env->NewBooleanArray(imageSize); in Java_org_siprop_opencv_OpenCV_findContours() 276 env->SetBooleanArrayRegion(res_array, 0, imageSize, (jboolean*)strm->GetByte()); in Java_org_siprop_opencv_OpenCV_findContours() 701 int imageSize; 765 imageSize = m_strm->GetSize(); 766 res_array = env->NewBooleanArray(imageSize); [all …]
|
/external/mesa3d/src/mesa/main/ |
D | teximage.h | 259 GLint border, GLsizei imageSize, 265 GLsizei height, GLint border, GLsizei imageSize, 272 GLsizei imageSize, const GLvoid *data); 282 GLsizei imageSize, const GLvoid *data); 287 GLenum format, GLsizei imageSize, 294 GLsizei imageSize, const GLvoid *data);
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeTestsUtil.hpp | 155 inline vk::VkDeviceSize getImageSizeBytes (const tcu::IVec3& imageSize, const vk::VkFormat format) in getImageSizeBytes() argument 157 return tcu::getPixelSize(vk::mapVkFormat(format)) * imageSize.x() * imageSize.y() * imageSize.z(); in getImageSizeBytes()
|
/external/swiftshader/src/OpenGL/libGL/ |
D | Texture.h | 95 void setCompressedImage(GLsizei imageSize, const void *pixels, Image *image); 96 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… 132 …mage(GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pix… 134 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… 185 …get, GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pix… 188 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix…
|
D | Texture.cpp | 182 void Texture::setCompressedImage(GLsizei imageSize, const void *pixels, Image *image) in setCompressedImage() argument 186 image->loadCompressedData(0, 0, 0, image->getWidth(), image->getHeight(), 1, imageSize, pixels); in setCompressedImage() 218 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… in subImageCompressed() argument 237 image->loadCompressedData(xoffset, yoffset, 0, width, height, 1, imageSize, pixels); in subImageCompressed() 390 …mage(GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pix… in setCompressedImage() argument 404 Texture::setCompressedImage(imageSize, pixels, image[level]); in setCompressedImage() 412 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… in subImageCompressed() argument 414 …Texture::subImageCompressed(xoffset, yoffset, width, height, format, imageSize, pixels, image[leve… in subImageCompressed() 750 …get, GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pix… in setCompressedImage() argument 766 Texture::setCompressedImage(imageSize, pixels, image[face][level]); in setCompressedImage() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | E_B_L_C_.py | 491 writer.simpletag('imageSize', value=self.imageSize) 501 self.imageSize = safeEval(attrs['value']) 510 …assert len(data) <= self.imageSize, "Data in indexSubTable format %d must be less than the fixed s… 512 pad = (self.imageSize - len(data)) * b'\0' 521 (self.imageSize,) = struct.unpack(">L", self.data[:4]) 525 offsets = [self.imageSize * i + self.imageDataOffset for i in range(len(glyphIds)+1)] 536 dataList.append(struct.pack(">L", self.imageSize)) 587 (self.imageSize,) = struct.unpack(">L", self.data[:4]) 594 offsets = [self.imageSize * i + self.imageDataOffset for i in range(len(glyphIds)+1)] 601 dataList.append(struct.pack(">L", self.imageSize))
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Texture.h | 124 void setCompressedImage(GLsizei imageSize, const void *pixels, egl::Image *image); 125 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pix… 172 …mage(GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pix… 174 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… 231 …get, GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pix… 234 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… 292 …l, GLenum format, GLsizei width, GLsizei height, GLsizei depth, GLsizei imageSize, const void *pix… 294 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pix…
|