/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | QueueWriteTextureValidationTests.cpp | 598 uint32_t blockHeight = utils::GetTextureFormatBlockHeight(format); in TEST_F() local 604 {blockWidth, blockHeight, 1}); in TEST_F() 611 {blockWidth, blockHeight, 1}); in TEST_F() 625 uint32_t blockHeight = utils::GetTextureFormatBlockHeight(format); in TEST_F() local 628 uint32_t testHeight = kTestBytesPerRow * blockHeight / blockByteSize; in TEST_F() 635 {0, 0, 0}, {testWidth, blockHeight, 1})); in TEST_F() 641 {testWidth, blockHeight, 1}); in TEST_F() 647 {blockWidth, blockHeight, 1}); in TEST_F() 654 {blockWidth, blockHeight, 1}); in TEST_F() 664 uint32_t blockHeight = utils::GetTextureFormatBlockHeight(format); in TEST_F() local [all …]
|
D | CopyCommandsValidationTests.cpp | 2114 uint32_t blockHeight = utils::GetTextureFormatBlockHeight(format); in TEST_F() local 2120 texture, 0, {0, 0, 0}, {blockWidth, blockHeight, 1}); in TEST_F() 2127 texture, 0, {0, 0, 0}, {blockWidth, blockHeight, 1}); in TEST_F() 2147 uint32_t blockHeight = utils::GetTextureFormatBlockHeight(format); in TEST_F() local 2150 uint32_t testHeight = kInvalidBytesPerRow * blockHeight / blockByteSize; in TEST_F() 2157 0, {0, 0, 0}, {testWidth, blockHeight, 1}); in TEST_F() 2163 texture, 0, {0, 0, 0}, {testWidth, blockHeight, 1}); in TEST_F() 2170 texture, 0, {0, 0, 0}, {testWidth, blockHeight, 1}); in TEST_F() 2183 uint32_t blockHeight = utils::GetTextureFormatBlockHeight(format); in TEST_F() local 2189 texture, 0, {0, 0, 0}, {blockWidth, blockHeight * 4, 1}); in TEST_F() [all …]
|
D | TextureValidationTests.cpp | 730 uint32_t blockHeight = utils::GetTextureFormatBlockHeight(format); in TEST_F() local 737 descriptor.size.height % blockHeight == 0); in TEST_F() 758 blockHeight % 2 == 0 ? blockHeight - (blockHeight / 2) : blockHeight - 1; in TEST_F() 769 descriptor.size.height = kHeightMultiplier * blockHeight; in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/ |
D | CopySplitTests.cpp | 39 uint32_t blockHeight = 1; member 69 uint32_t heightInBlocks = textureSpec.height / textureSpec.blockHeight; in ValidateFootprints() 85 ASSERT_EQ(copy.bufferOffset.y % textureSpec.blockHeight, 0u); in ValidateFootprints() 86 ASSERT_EQ(copy.copySize.height % textureSpec.blockHeight, 0u); in ValidateFootprints() 88 ASSERT_EQ(footprintHeight % textureSpec.blockHeight, 0u); in ValidateFootprints() 89 uint32_t footprintHeightInBlocks = footprintHeight / textureSpec.blockHeight; in ValidateFootprints() 195 uint32_t texelsPerBlock = textureSpec.blockWidth * textureSpec.blockHeight; in ValidateBufferOffset() 202 bytesPerRowInTexels * (bufferSpec.rowsPerImage / textureSpec.blockHeight); in ValidateBufferOffset() 206 copy.bufferOffset.y / textureSpec.blockHeight * bytesPerRowInTexels; in ValidateBufferOffset() 212 ASSERT_LE(copy.bufferOffset.y, textureSpec.blockHeight); in ValidateBufferOffset() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | d3d_format.cpp | 25 blockHeight(0), in D3DFormat() 38 GLuint blockHeight, in D3DFormat() argument 49 blockHeight(blockHeight), in D3DFormat()
|
D | d3d_format.h | 25 GLuint blockHeight, 39 GLuint blockHeight; member
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | TextureCopySplitter.cpp | 34 byteOffsetY / rowPitch * format.blockHeight, byteOffsetZ / slicePitch}; in ComputeTexelOffsets() 72 uint32_t slicePitch = rowPitch * (imageHeight / format.blockHeight); in ComputeTextureCopySplit() 175 copy.copies[1].bufferOffset.y = texelOffset.y + format.blockHeight; in ComputeTextureCopySplit() 178 copy.copies[1].bufferSize.height = imageHeight + texelOffset.y + format.blockHeight; in ComputeTextureCopySplit()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | formatutils11.h | 38 DXGIFormatSize(GLuint pixelBits, GLuint blockWidth, GLuint blockHeight); 42 GLuint blockHeight; member
|
D | MappedSubresourceVerifier11.cpp | 33 ASSERT(desc.Height % dxgiFormatInfo.blockHeight == 0); in getPitchCount() 34 return desc.Height / dxgiFormatInfo.blockHeight; in getPitchCount()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | formatutils11.h | 37 DXGIFormatSize(GLuint pixelBits, GLuint blockWidth, GLuint blockHeight); 41 GLuint blockHeight; member
|
D | MappedSubresourceVerifier11.cpp | 33 ASSERT(desc.Height % dxgiFormatInfo.blockHeight == 0); in getPitchCount() 34 return desc.Height / dxgiFormatInfo.blockHeight; in getPitchCount()
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/d3d12/ |
D | CopySplitTests.cpp | 37 uint32_t blockHeight = 1; member 122 uint32_t texelsPerBlock = textureSpec.blockWidth * textureSpec.blockHeight; in ValidateBufferOffset() 129 rowPitchInTexels * (bufferSpec.imageHeight / textureSpec.blockHeight); in ValidateBufferOffset() 133 copy.bufferOffset.y / textureSpec.blockHeight * rowPitchInTexels + in ValidateBufferOffset() 275 textureSpec.height % textureSpec.blockHeight == 0); in DoTest() 278 fakeFormat.blockHeight = textureSpec.blockHeight; in DoTest() 328 if (val % textureSpec.blockHeight != 0) { in TEST_F()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | formatutils9.h | 36 GLuint blockHeight, 50 GLuint blockHeight; member
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageTestsUtil.cpp | 479 deUint32 blockHeight = getBlockHeight(format); in getCompressedImageResolutionInBlocks() local 482 DE_ASSERT(blockWidth != 0 && blockHeight != 0); in getCompressedImageResolutionInBlocks() 485 deUint32 heightInBlocks = (size[1] + blockHeight - 1) / blockHeight; in getCompressedImageResolutionInBlocks() 493 deUint32 blockHeight = getBlockHeight(format); in getCompressedImageResolutionBlockCeil() local 496 DE_ASSERT(blockWidth != 0 && blockHeight != 0); in getCompressedImageResolutionBlockCeil() 499 deUint32 heightInBlocks = (size[1] + blockHeight - 1) / blockHeight; in getCompressedImageResolutionBlockCeil() 501 return tcu::UVec3(blockWidth * widthInBlocks, blockHeight * heightInBlocks, 1); in getCompressedImageResolutionBlockCeil()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | Texture.cpp | 175 descriptor->size.height % format->blockHeight != 0)) { in ValidateTextureSize() 427 uint32_t blockHeight = mFormat.blockHeight; in GetMipLevelPhysicalSize() local 429 extent.height = (extent.height + blockHeight - 1) / blockHeight * blockHeight; in GetMipLevelPhysicalSize()
|
D | Format.cpp | 77 internalFormat.blockHeight = 1; in BuildFormatTable() 91 internalFormat.blockHeight = 1; in BuildFormatTable() 105 internalFormat.blockHeight = height; in BuildFormatTable()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuAstcUtil.cpp | 456 inline void setASTCErrorColorBlock (void* dst, int blockWidth, int blockHeight, bool isSRGB) in setASTCErrorColorBlock() argument 462 for (int i = 0; i < blockWidth*blockHeight; i++) in setASTCErrorColorBlock() 474 for (int i = 0; i < blockWidth*blockHeight; i++) in setASTCErrorColorBlock() 484 …ExtentBlock (void* dst, const Block128& blockData, int blockWidth, int blockHeight, bool isSRGB, b… in decodeVoidExtentBlock() argument 495 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decodeVoidExtentBlock() 510 for (int i = 0; i < blockWidth*blockHeight; i++) in decodeVoidExtentBlock() 526 for (int i = 0; i < blockWidth*blockHeight; i++) in decodeVoidExtentBlock() 532 for (int i = 0; i < blockWidth*blockHeight; i++) in decodeVoidExtentBlock() 1270 …r* dst, const deUint32 (&unquantizedWeights) [64], int blockWidth, int blockHeight, const ASTCBloc… in interpolateWeights() argument 1274 const deUint32 scaleY = (1024 + blockHeight/2) / (blockHeight-1); in interpolateWeights() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 703 int blockHeight = usedFormat.blockHeight(); in imageExtentInBlocks() local 707 adjustedExtent.height = ((adjustedExtent.height + blockHeight - 1) / blockHeight); in imageExtentInBlocks() 720 int blockHeight = usedFormat.blockHeight(); in imageOffsetInBlocks() local 722 …ASSERT(((offset.x % blockWidth) == 0) && ((offset.y % blockHeight) == 0)); // We can't offset wit… in imageOffsetInBlocks() 725 adjustedOffset.y /= blockHeight; in imageOffsetInBlocks() 754 int blockHeight = usedFormat.blockHeight(); in bufferExtentInBlocks() local 755 …ASSERT((adjustedExtent.height % blockHeight == 0) || (adjustedExtent.height + region.imageOffset.y… in bufferExtentInBlocks() 756 adjustedExtent.height = (region.bufferImageHeight + blockHeight - 1) / blockHeight; in bufferExtentInBlocks() 1381 int yBlockSize = format.blockHeight(); in decodeASTC()
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
D | TestUtils.cpp | 81 uint32_t blockHeight = utils::GetTextureFormatBlockHeight(textureFormat); in RequiredBytesInCopy() local 84 ASSERT(copyExtent.height % blockHeight == 0); in RequiredBytesInCopy() 85 uint32_t heightInBlocks = copyExtent.height / blockHeight; in RequiredBytesInCopy()
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.c | 47 unsigned blockWidth, blockHeight; in get_aligned_compressed_row_stride() local 50 _mesa_get_format_block_size(format, &blockWidth, &blockHeight); in get_aligned_compressed_row_stride() 81 unsigned blockWidth, blockHeight; in get_texture_image_size() local 83 _mesa_get_format_block_size(format, &blockWidth, &blockHeight); in get_texture_image_size() 85 return rowStride * ((height + blockHeight - 1) / blockHeight) * depth; in get_texture_image_size()
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.c | 47 unsigned blockWidth, blockHeight; in get_aligned_compressed_row_stride() local 50 _mesa_get_format_block_size(format, &blockWidth, &blockHeight); in get_aligned_compressed_row_stride() 81 unsigned blockWidth, blockHeight; in get_texture_image_size() local 83 _mesa_get_format_block_size(format, &blockWidth, &blockHeight); in get_texture_image_size() 85 return rowStride * ((height + blockHeight - 1) / blockHeight) * depth; in get_texture_image_size()
|
/third_party/gstreamer/gstplugins_bad/gst/jpegformat/ |
D | gstjpegparse.c | 349 guint8 blockHeight[3]; /* Same for the vertical part of this component */ in gst_jpeg_parse_sof() local 385 blockHeight[i] = (value & 0x0f); in gst_jpeg_parse_sof() 397 temp = (blockWidth[0] * blockHeight[0]) / (blockWidth[1] * blockHeight[1]); in gst_jpeg_parse_sof() 399 if (temp == 4 && blockHeight[0] == 2) in gst_jpeg_parse_sof() 401 else if (temp == 4 && blockHeight[0] == 4) in gst_jpeg_parse_sof()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | NonzeroTextureCreationTests.cpp | 222 uint32_t blockHeight = utils::GetTextureFormatBlockHeight(GetParam().mFormat); in Run() local 224 Align(mipSize, blockHeight), depthOrArrayLayers}; in Run() 228 uint32_t rowsPerImage = copySize.height / blockHeight; in Run() 252 for (uint32_t row = 0; row < copySize.height / blockHeight; ++row) { in Run()
|
/third_party/flutter/skia/third_party/externals/angle2/src/image_util/ |
D | loadimage.inc | 115 template <size_t blockWidth, size_t blockHeight, size_t blockDepth, size_t blockSize> 121 const size_t rows = (height + (blockHeight - 1)) / blockHeight;
|
/third_party/skia/third_party/externals/angle2/src/image_util/ |
D | loadimage.inc | 113 template <size_t blockWidth, size_t blockHeight, size_t blockDepth, size_t blockSize> 119 const size_t rows = (height + (blockHeight - 1)) / blockHeight;
|