Home
last modified time | relevance | path

Searched refs:blockHeight (Results 1 – 25 of 40) sorted by relevance

12

/external/angle/src/libANGLE/renderer/d3d/d3d11/
Dformatutils11.h37 DXGIFormatSize(GLuint pixelBits, GLuint blockWidth, GLuint blockHeight);
41 GLuint blockHeight; member
DMappedSubresourceVerifier11.cpp33 ASSERT(desc.Height % dxgiFormatInfo.blockHeight == 0); in getPitchCount()
34 return desc.Height / dxgiFormatInfo.blockHeight; in getPitchCount()
Dformatutils11.cpp35 DXGIFormatSize::DXGIFormatSize(GLuint pixelBits, GLuint blockWidth, GLuint blockHeight) in DXGIFormatSize() argument
36 : pixelBytes(pixelBits / 8), blockWidth(blockWidth), blockHeight(blockHeight) in DXGIFormatSize()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp457 deUint32 blockHeight = getBlockHeight(format); in getCompressedImageResolutionInBlocks() local
460 DE_ASSERT(blockWidth != 0 && blockHeight != 0); in getCompressedImageResolutionInBlocks()
463 deUint32 heightInBlocks = (size[1] + blockHeight - 1) / blockHeight; in getCompressedImageResolutionInBlocks()
471 deUint32 blockHeight = getBlockHeight(format); in getCompressedImageResolutionBlockCeil() local
474 DE_ASSERT(blockWidth != 0 && blockHeight != 0); in getCompressedImageResolutionBlockCeil()
477 deUint32 heightInBlocks = (size[1] + blockHeight - 1) / blockHeight; in getCompressedImageResolutionBlockCeil()
479 return tcu::UVec3(blockWidth * widthInBlocks, blockHeight * heightInBlocks, 1); in getCompressedImageResolutionBlockCeil()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
Dformatutils9.h36 GLuint blockHeight,
50 GLuint blockHeight; member
Drenderer9_utils.cpp781 GLuint numBlocksHight = (height + d3dFormatInfo.blockHeight - 1) / d3dFormatInfo.blockHeight; in ComputeBlockSize()
796 *requestHeight < static_cast<GLsizei>(d3dFormatInfo.blockHeight)) in MakeValidSize()
799 *requestHeight % d3dFormatInfo.blockHeight != 0) in MakeValidSize()
Dformatutils9.cpp37 blockHeight(0), in D3DFormat()
50 GLuint blockHeight, in D3DFormat() argument
61 blockHeight(blockHeight), in D3DFormat()
DImage9.cpp136 unsigned int rows = desc.Height / d3dFormatInfo.blockHeight; in CopyLockableSurfaces()
138 unsigned int bytes = d3d9::ComputeBlockSize(desc.Format, desc.Width, d3dFormatInfo.blockHeight); in CopyLockableSurfaces()
533 ASSERT(area.y % d3d9::GetD3DFormatInfo(d3d9FormatInfo.texFormat).blockHeight == 0); in loadCompressedData()
/external/deqp/framework/common/
DtcuAstcUtil.cpp456 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 …]
DtcuAstcUtil.hpp71 void generateDummyNormalBlocks (deUint8* dst, size_t numBlocks, int blockWidth, int blockHeight);
/external/swiftshader/src/Vulkan/
DVkImage.cpp561 int blockHeight = usedFormat.blockHeight(); in imageExtentInBlocks() local
565 adjustedExtent.height = ((adjustedExtent.height + blockHeight - 1) / blockHeight); in imageExtentInBlocks()
578 int blockHeight = usedFormat.blockHeight(); in imageOffsetInBlocks() local
580 …ASSERT(((offset.x % blockWidth) == 0) && ((offset.y % blockHeight) == 0)); // We can't offset wit… in imageOffsetInBlocks()
583 adjustedOffset.y /= blockHeight; in imageOffsetInBlocks()
610 int blockHeight = usedFormat.blockHeight(); in bufferExtentInBlocks() local
611 ASSERT((adjustedExtent.height % blockHeight) == 0); in bufferExtentInBlocks()
612 adjustedExtent.height /= blockHeight; in bufferExtentInBlocks()
1165 int yBlockSize = format.blockHeight(); in decodeASTC()
DVkFormat.h49 int blockHeight() const;
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c47 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()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c47 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()
/external/angle/src/image_util/
Dloadimage.inc115 template <size_t blockWidth, size_t blockHeight, size_t blockDepth, size_t blockSize>
121 const size_t rows = (height + (blockHeight - 1)) / blockHeight;
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBlockRealMatrix.java169 final int iHeight = blockHeight(iBlock); in BlockRealMatrix()
673 final int iHeight = blockHeight(iBlock); in getNorm()
724 final int iHeight = out.blockHeight(iBlock); in getSubMatrix()
862 final int iHeight = blockHeight(iBlock); in setSubMatrix()
993 final int iHeight = blockHeight(iBlock); in getColumnMatrix()
1051 final int iHeight = blockHeight(iBlock); in setColumnMatrix()
1112 final int iHeight = blockHeight(iBlock); in getColumnVector()
1197 final int iHeight = blockHeight(iBlock); in getColumn()
1227 final int iHeight = blockHeight(iBlock); in setColumn()
1677 private int blockHeight(final int blockRow) { in blockHeight() method in BlockRealMatrix
DBlockFieldMatrix.java172 final int iHeight = blockHeight(iBlock); in BlockFieldMatrix()
699 final int iHeight = out.blockHeight(iBlock); in getSubMatrix()
836 final int iHeight = blockHeight(iBlock); in setSubMatrix()
967 final int iHeight = blockHeight(iBlock); in getColumnMatrix()
1025 final int iHeight = blockHeight(iBlock); in setColumnMatrix()
1086 final int iHeight = blockHeight(iBlock); in getColumnVector()
1171 final int iHeight = blockHeight(iBlock); in getColumn()
1201 final int iHeight = blockHeight(iBlock); in setColumn()
1657 private int blockHeight(final int blockRow) { in blockHeight() method in BlockFieldMatrix
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrStorageImageWriteTests.cpp245 …() / formatDescription.blockWidth, params.size.y() / formatDescription.blockHeight, params.size.z(… in testStorageImageWrite()
364 …() / formatDescription.blockWidth, params.size.y() / formatDescription.blockHeight, params.size.z(… in testStorageImageWrite()
381 …() / formatDescription.blockWidth, params.size.y() / formatDescription.blockHeight, params.size.z(… in testStorageImageWrite()
382 …cription.blockWidth, imageCreateInfo.extent.height / formatDescription.blockHeight, imageCreateInf… in testStorageImageWrite()
635 …/ formatDescription.blockWidth, shaderGridSize.y() / formatDescription.blockHeight, shaderGridSize… in initPrograms()
/external/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp3923 &pOut->blockHeight, in HwlComputeSurfaceInfoTiled()
3971 pOut->height = PowTwoAlign(pIn->height, pOut->blockHeight); in HwlComputeSurfaceInfoTiled()
3997 pOut->blockHeight, in HwlComputeSurfaceInfoTiled()
4009 pOut->blockHeight, in HwlComputeSurfaceInfoTiled()
4022 UINT_32 mip0HeightInBlk = pOut->height / pOut->blockHeight; in HwlComputeSurfaceInfoTiled()
4051 pOut->mipChainHeight += (mip1HeightInBlk * pOut->blockHeight); in HwlComputeSurfaceInfoTiled()
4072 pOut->blockHeight, in HwlComputeSurfaceInfoTiled()
4081 (pOut->mipChainHeight / pOut->blockHeight) * pitchInBlock; in HwlComputeSurfaceInfoTiled()
4207 pOut->blockHeight = 1; in HwlComputeSurfaceInfoLinear()
4236 UINT_32 blockHeight, in GetMipChainInfo() argument
[all …]
Dgfx9addrlib.h545 UINT_32 blockHeight,
563 UINT_32 blockHeight,
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseResidency.cpp203 …/ formatDescription.blockWidth, shaderGridSize.y() / formatDescription.blockHeight, shaderGridSize… in initPrograms()
594 …/ formatDescription.blockWidth, shaderGridSize.y() / formatDescription.blockHeight, shaderGridSize… in iterate()
745 …/ formatDescription.blockWidth, shaderGridSize.y() / formatDescription.blockHeight, shaderGridSize… in iterate()
769 …/ formatDescription.blockWidth, shaderGridSize.y() / formatDescription.blockHeight, shaderGridSize… in iterate()
770 …cription.blockWidth, imageCreateInfo.extent.height / formatDescription.blockHeight, imageCreateInf… in iterate()
772 … aspectRequirements.formatProperties.imageGranularity.height / formatDescription.blockHeight, in iterate()
/external/mesa3d/src/amd/addrlib/inc/
Daddrinterface.h639 UINT_32 blockHeight; ///< Height in element inside one block(1D->Micro, 2D->Macro) member
883 AddrHtileBlockSize blockHeight; ///< 4 or 8. EG above only support 8 member
957 AddrHtileBlockSize blockHeight; ///< 4 or 8. 1 means 8, 0 means 4. EG above only support 8 member
1020 AddrHtileBlockSize blockHeight; ///< 4 or 8. 1 means 8, 0 means 4. R8xx/R9xx only support 8 member
2510 UINT_32 blockHeight; ///< Height in element inside one block member
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp2247 imageExtent.height /= formatInfo.blockHeight; in getPlaneSizeInBytes()
2257 …o, baseExtents, planeNdx, mipmapLevel) / tcu::UVec2(formatInfo.blockWidth, formatInfo.blockHeight); in getPlaneSizeInBytes()
2297 tcu::UVec3 imgAlignment{ formatInfo.blockWidth, formatInfo.blockHeight, 1 }; in getImageSizeAlignment()
2313 return tcu::UVec2{ formatInfo.blockWidth, formatInfo.blockHeight }; in getBlockExtent()
3098 DE_ASSERT(size.y() % (formatInfo.blockHeight * formatInfo.planes[planeNdx].heightDivisor) == 0); in getChannelAccess()
3100 …const deUint32 accessHeight = size.y() / ( formatInfo.blockHeight * formatInfo.planes[planeNdx].h… in getChannelAccess()
3108 …std::max(formatInfo.blockHeight * formatInfo.planes[planeNdx].heightDivisor * pixelStrideBytes / e… in getChannelAccess()
3143 DE_ASSERT(size.y() % (formatInfo.blockHeight * formatInfo.planes[planeNdx].heightDivisor) == 0); in getChannelAccess()
3145 …const deUint32 accessHeight = size.y() / ( formatInfo.blockHeight * formatInfo.planes[planeNdx].h… in getChannelAccess()
3153 …std::max(formatInfo.blockHeight * formatInfo.planes[planeNdx].heightDivisor * pixelStrideBytes / e… in getChannelAccess()
[all …]
DvkImageUtil.hpp119 deUint8 blockHeight; member
/external/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp3147 &pOut->blockHeight, in ComputeSurfaceInfoMicroTiled()
3159 pOut->height = PowTwoAlign(pIn->height, pOut->blockHeight); in ComputeSurfaceInfoMicroTiled()
3176 const UINT_32 mipActualHeight = PowTwoAlign(mipHeight, pOut->blockHeight); in ComputeSurfaceInfoMicroTiled()
3232 &pOut->blockHeight, in ComputeSurfaceInfoMacroTiled()
3241 UINT_32 heightAlign = pOut->blockHeight; in ComputeSurfaceInfoMacroTiled()
3273 pOut->blockHeight, in ComputeSurfaceInfoMacroTiled()
3309 const UINT_32 height = PowTwoAlign(mipHeight, pOut->blockHeight); in ComputeSurfaceInfoMacroTiled()
3984 const UINT_32 yb = pIn->y / localOut.blockHeight; in ComputeSurfaceAddrFromCoordMicroTiled()
4060 const UINT_32 yb = pIn->y / localOut.blockHeight; in ComputeSurfaceAddrFromCoordMacroTiled()
4100 const UINT_32 yb = pIn->y / localOut.blockHeight; in ComputeSurfaceAddrFromCoordMacroTiled()
[all …]

12