Home
last modified time | relevance | path

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

/external/skia/gm/
Detc1bitmap.cpp38 int blockWidth = (origW + 3) >> 2; in slice_etc1_data() local
42 if (blockWidth < 2 || blockHeight < 2) { in slice_etc1_data()
46 int newWidth = (blockWidth - 1) << 2; in slice_etc1_data()
59 memcpy(newData, origData, (blockWidth - 1)*ETC1_ENCODED_BLOCK_SIZE); in slice_etc1_data()
60 origData += blockWidth*ETC1_ENCODED_BLOCK_SIZE; in slice_etc1_data()
61 newData += (blockWidth - 1)*ETC1_ENCODED_BLOCK_SIZE; in slice_etc1_data()
/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/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()
454 uint32_t blockWidth, blockHeight; in migrate_image_to_miptree() local
455 _mesa_get_format_block_size(image->base.Base.TexFormat, &blockWidth, &blockHeight); in migrate_image_to_miptree()
/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()
454 uint32_t blockWidth, blockHeight; in migrate_image_to_miptree() local
455 _mesa_get_format_block_size(image->base.Base.TexFormat, &blockWidth, &blockHeight); in migrate_image_to_miptree()
/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()
1258 void interpolateWeights (TexelWeightPair* dst, const deUint32* unquantizedWeights, int blockWidth, … in interpolateWeights() argument
1261 const deUint32 scaleX = (1024 + blockWidth/2) / (blockWidth-1); in interpolateWeights()
[all …]
DtcuAstcUtil.hpp71 void generateDummyNormalBlocks (deUint8* dst, size_t numBlocks, int blockWidth, int blockHeight);