Home
last modified time | relevance | path

Searched refs:blockWidth (Results 1 – 25 of 41) sorted by relevance

12

/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBlockRealMatrix.java171 if (blockData[index].length != iHeight * blockWidth(jBlock)) { in BlockRealMatrix()
174 blockData[index].length, iHeight * blockWidth(jBlock)); in BlockRealMatrix()
531 final int kWidth = blockWidth(kBlock); in multiply()
585 final int jWidth = out.blockWidth(jBlock); in multiply()
595 final int kWidth = blockWidth(kBlock); in multiply()
670 final int jWidth = blockWidth(jBlock); in getNorm()
727 final int jWidth = out.blockWidth(jBlock); in getSubMatrix()
733 final int width = blockWidth(qBlock); in getSubMatrix()
741 final int width2 = blockWidth(qBlock + 1); in getSubMatrix()
773 final int width2 = blockWidth(qBlock + 1); in getSubMatrix()
[all …]
DBlockFieldMatrix.java174 if (blockData[index].length != iHeight * blockWidth(jBlock)) { in BlockFieldMatrix()
177 blockData[index].length, iHeight * blockWidth(jBlock)); in BlockFieldMatrix()
542 final int kWidth = blockWidth(kBlock); in multiply()
597 final int jWidth = out.blockWidth(jBlock); in multiply()
607 final int kWidth = blockWidth(kBlock); in multiply()
702 final int jWidth = out.blockWidth(jBlock); in getSubMatrix()
708 final int width = blockWidth(qBlock); in getSubMatrix()
716 final int width2 = blockWidth(qBlock + 1); in getSubMatrix()
748 final int width2 = blockWidth(qBlock + 1); in getSubMatrix()
842 final int jWidth = blockWidth(jBlock); in setSubMatrix()
[all …]
/external/angle/src/libANGLE/renderer/
Dd3d_format.cpp24 blockWidth(0), in D3DFormat()
37 GLuint blockWidth, in D3DFormat() argument
48 blockWidth(blockWidth), in D3DFormat()
Dd3d_format.h21 GLuint blockWidth,
35 GLuint blockWidth; member
/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 DecompressResult decodeVoidExtentBlock (void* dst, const Block128& blockData, int blockWidth, int 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 … (TexelWeightPair* dst, const deUint32 (&unquantizedWeights) [64], int blockWidth, int blockHeight… in interpolateWeights() argument
1273 const deUint32 scaleX = (1024 + blockWidth/2) / (blockWidth-1); in interpolateWeights()
[all …]
DtcuAstcUtil.hpp71 void generateDummyNormalBlocks (deUint8* dst, size_t numBlocks, int blockWidth, int blockHeight);
/external/angle/src/libANGLE/renderer/d3d/d3d11/
Dformatutils11.h38 DXGIFormatSize(GLuint pixelBits, GLuint blockWidth, GLuint blockHeight);
41 GLuint blockWidth; member
Dformatutils11.cpp35 DXGIFormatSize::DXGIFormatSize(GLuint pixelBits, GLuint blockWidth, GLuint blockHeight) in DXGIFormatSize() argument
36 : pixelBytes(pixelBits / 8), blockWidth(blockWidth), blockHeight(blockHeight) in DXGIFormatSize()
Drenderer11_utils.cpp2140 if (validImage || *requestWidth < static_cast<GLsizei>(dxgiFormatInfo.blockWidth) || in MakeValidSize()
2143 while (*requestWidth % dxgiFormatInfo.blockWidth != 0 || in MakeValidSize()
2153 if (*requestWidth % dxgiFormatInfo.blockWidth != 0) in MakeValidSize()
2155 *requestWidth = roundUp(*requestWidth, static_cast<GLsizei>(dxgiFormatInfo.blockWidth)); in MakeValidSize()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp478 deUint32 blockWidth = getBlockWidth(format); in getCompressedImageResolutionInBlocks() local
482 DE_ASSERT(blockWidth != 0 && blockHeight != 0); in getCompressedImageResolutionInBlocks()
484 deUint32 widthInBlocks = (size[0] + blockWidth - 1) / blockWidth; in getCompressedImageResolutionInBlocks()
492 deUint32 blockWidth = getBlockWidth(format); in getCompressedImageResolutionBlockCeil() local
496 DE_ASSERT(blockWidth != 0 && blockHeight != 0); in getCompressedImageResolutionBlockCeil()
498 deUint32 widthInBlocks = (size[0] + blockWidth - 1) / blockWidth; in getCompressedImageResolutionBlockCeil()
501 return tcu::UVec3(blockWidth * widthInBlocks, blockHeight * heightInBlocks, 1); in getCompressedImageResolutionBlockCeil()
/external/swiftshader/src/Vulkan/
DVkImage.cpp430 ((srcRowPitch * dstFormat.blockWidth()) == in copyTo()
431 (dstRowPitch * srcFormat.blockWidth())); in copyTo()
673 int blockWidth = usedFormat.blockWidth(); in imageExtentInBlocks() local
677 adjustedExtent.width = ((adjustedExtent.width + blockWidth - 1) / blockWidth); in imageExtentInBlocks()
690 int blockWidth = usedFormat.blockWidth(); in imageOffsetInBlocks() local
693 …ASSERT(((offset.x % blockWidth) == 0) && ((offset.y % blockHeight) == 0)); // We can't offset wit… in imageOffsetInBlocks()
695 adjustedOffset.x /= blockWidth; in imageOffsetInBlocks()
712 int blockWidth = usedFormat.blockWidth(); in bufferExtentInBlocks() local
713 ASSERT((adjustedExtent.width % blockWidth) == 0); in bufferExtentInBlocks()
714 adjustedExtent.width /= blockWidth; in bufferExtentInBlocks()
[all …]
DVkFormat.hpp50 int blockWidth() 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()
55 stride = (width + blockWidth - 1) / blockWidth * blockBytes; in get_aligned_compressed_row_stride()
67 blockBytes, blockWidth, 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()
/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()
55 stride = (width + blockWidth - 1) / blockWidth * blockBytes; in get_aligned_compressed_row_stride()
67 blockBytes, blockWidth, 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()
/external/angle/src/image_util/
Dloadimage.inc113 template <size_t blockWidth, size_t blockHeight, size_t blockDepth, size_t blockSize>
118 const size_t columns = (width + (blockWidth - 1)) / blockWidth;
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrStorageImageWriteTests.cpp245 …const tcu::UVec3 compatibleShaderGridSize ( params.size.x() / formatDescription.blockWidth, par… in testStorageImageWrite()
303 …const deUint32 planeW = imageCreateInfo.extent.width / (formatDescription.blockWidth * formatDesc… in testStorageImageWrite()
364 …const tcu::UVec3 compatibleShaderGridSize ( params.size.x() / formatDescription.blockWidth, para… in testStorageImageWrite()
381 …const tcu::UVec3 compatibleShaderGridSize ( params.size.x() / formatDescription.blockWidth, pa… in testStorageImageWrite()
382 …mpatibleImageSize { imageCreateInfo.extent.width / formatDescription.blockWidth, imageCreateInfo… in testStorageImageWrite()
639 …VkExtent3D compatibleShaderGridSize { shaderGridSize.x() / formatDescription.blockWidth, shad… in initPrograms()
DvktYCbCrUtil.cpp91 …const deUint32 planeW = m_size.x() / ( m_description.blockWidth * m_description.planes[planeNdx].… in getChannelAccess()
110 …const deUint32 planeW = m_size.x() / (m_description.blockWidth * m_description.planes[planeNdx].w… in getChannelAccess()
970 DE_ASSERT(size.x() % (formatInfo.blockWidth * formatInfo.planes[planeNdx].widthDivisor) == 0); in getChannelAccess()
973 …deUint32 accessWidth = size.x() / ( formatInfo.blockWidth * formatInfo.planes[planeNdx].widthDi… in getChannelAccess()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
Drenderer9_utils.cpp780 GLuint numBlocksWide = (width + d3dFormatInfo.blockWidth - 1) / d3dFormatInfo.blockWidth; in ComputeBlockSize()
795 if (isImage || *requestWidth < static_cast<GLsizei>(d3dFormatInfo.blockWidth) || in MakeValidSize()
798 while (*requestWidth % d3dFormatInfo.blockWidth != 0 || in MakeValidSize()
/external/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp3922 ADDR_E_RETURNCODE returnCode = ComputeBlockDimensionForSurf(&pOut->blockWidth, in HwlComputeSurfaceInfoTiled()
3932 UINT_32 pitchAlignInElement = pOut->blockWidth; in HwlComputeSurfaceInfoTiled()
3996 pOut->blockWidth, in HwlComputeSurfaceInfoTiled()
4008 pOut->blockWidth, in HwlComputeSurfaceInfoTiled()
4021 UINT_32 mip0WidthInBlk = pOut->pitch / pOut->blockWidth; in HwlComputeSurfaceInfoTiled()
4038 pOut->mipChainPitch += (mip1WidthInBlk * pOut->blockWidth); in HwlComputeSurfaceInfoTiled()
4071 pOut->blockWidth, in HwlComputeSurfaceInfoTiled()
4079 pOut->mipChainPitch / pOut->blockWidth; in HwlComputeSurfaceInfoTiled()
4206 … pOut->blockWidth = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementBytes); in HwlComputeSurfaceInfoLinear()
4235 UINT_32 blockWidth, in GetMipChainInfo() argument
[all …]
Dgfx9addrlib.h544 UINT_32 blockWidth,
562 UINT_32 blockWidth,
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseResidency.cpp203 …VkExtent3D compatibleShaderGridSize { shaderGridSize.x() / formatDescription.blockWidth, shad… in initPrograms()
615 …const tcu::UVec3 compatibleShaderGridSize ( shaderGridSize.x() / formatDescription.blockWidth, … in iterate()
697 …const deUint32 planeW = imageCreateInfo.extent.width / (formatDescription.blockWidth * formatDesc… in iterate()
766 …const tcu::UVec3 compatibleShaderGridSize (shaderGridSize.x() / formatDescription.blockWidth, sh… in iterate()
790 …const tcu::UVec3 compatibleShaderGridSize ( shaderGridSize.x() / formatDescription.blockWidth, … in iterate()
791 …mpatibleImageSize { imageCreateInfo.extent.width / formatDescription.blockWidth, imageCreateInfo… in iterate()
792 …larity { aspectRequirements.formatProperties.imageGranularity.width / formatDescription.blockWidth, in iterate()
/external/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp3146 ADDR_E_RETURNCODE ret = ComputeBlockDimensionForSurf(&pOut->blockWidth, in ComputeSurfaceInfoMicroTiled()
3158 pOut->pitch = PowTwoAlign(pIn->width, pOut->blockWidth); in ComputeSurfaceInfoMicroTiled()
3175 const UINT_32 mipActualWidth = PowTwoAlign(mipWidth, pOut->blockWidth); in ComputeSurfaceInfoMicroTiled()
3231 ADDR_E_RETURNCODE returnCode = ComputeBlockDimensionForSurf(&pOut->blockWidth, in ComputeSurfaceInfoMacroTiled()
3263 pOut->pitch = PowTwoAlign(pIn->width, pOut->blockWidth); in ComputeSurfaceInfoMacroTiled()
3272 pOut->blockWidth, in ComputeSurfaceInfoMacroTiled()
3308 const UINT_32 pitch = PowTwoAlign(mipWidth, pOut->blockWidth); in ComputeSurfaceInfoMacroTiled()
3983 const UINT_32 pb = mipInfo[pIn->mipId].pitch / localOut.blockWidth; in ComputeSurfaceAddrFromCoordMicroTiled()
3985 const UINT_32 xb = pIn->x / localOut.blockWidth; in ComputeSurfaceAddrFromCoordMicroTiled()
4059 const UINT_32 pb = localOut.pitch / localOut.blockWidth; in ComputeSurfaceAddrFromCoordMacroTiled()
[all …]
/external/mesa3d/src/amd/addrlib/inc/
Daddrinterface.h638 UINT_32 blockWidth; ///< Width in element inside one block(1D->Micro, 2D->Macro) member
882 AddrHtileBlockSize blockWidth; ///< 4 or 8. EG above only support 8 member
956 AddrHtileBlockSize blockWidth; ///< 4 or 8. 1 means 8, 0 means 4. EG above only support 8 member
1019 AddrHtileBlockSize blockWidth; ///< 4 or 8. 1 means 8, 0 means 4. R8xx/R9xx only support 8 member
2509 UINT_32 blockWidth; ///< Width in element inside one block member
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp2455 imageExtent.width /= formatInfo.blockWidth; in getPlaneSizeInBytes()
2466 …ormatInfo, baseExtents, planeNdx, mipmapLevel) / tcu::UVec2(formatInfo.blockWidth, formatInfo.bloc… in getPlaneSizeInBytes()
2506 tcu::UVec3 imgAlignment{ formatInfo.blockWidth, formatInfo.blockHeight, 1 }; in getImageSizeAlignment()
2522 return tcu::UVec2{ formatInfo.blockWidth, formatInfo.blockHeight }; in getBlockExtent()
3327 DE_ASSERT(size.x() % (formatInfo.blockWidth * formatInfo.planes[planeNdx].widthDivisor) == 0); in getChannelAccess()
3337 …std::max(formatInfo.blockWidth * formatInfo.planes[planeNdx].widthDivisor * pixelStrideBytes / ele… in getChannelAccess()
3372 DE_ASSERT(size.x() % (formatInfo.blockWidth * formatInfo.planes[planeNdx].widthDivisor) == 0); in getChannelAccess()
3382 …std::max(formatInfo.blockWidth * formatInfo.planes[planeNdx].widthDivisor * pixelStrideBytes / ele… in getChannelAccess()
3457 deUint32 blockWidth; member
3623 return compressedFormatParameters[formatNdx].blockWidth; in getBlockWidth()
DvkImageUtil.hpp120 deUint8 blockWidth; member

12