Home
last modified time | relevance | path

Searched refs:BlockHeight (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/main/
Dformats.c74 uint8_t BlockWidth, BlockHeight, BlockDepth; member
347 *bh = info->BlockHeight; in _mesa_get_format_block_size()
367 *bh = info->BlockHeight; in _mesa_get_format_block_size_3d()
530 return info->BlockWidth > 1 || info->BlockHeight > 1; in _mesa_is_format_compressed()
818 if (info->BlockWidth > 1 || info->BlockHeight > 1 || info->BlockDepth > 1) { in _mesa_format_image_size()
821 const uint32_t bh = info->BlockHeight; in _mesa_format_image_size()
846 if (info->BlockWidth > 1 || info->BlockHeight > 1 || info->BlockDepth > 1) { in _mesa_format_image_size64()
849 const uint64_t bh = info->BlockHeight; in _mesa_format_image_size64()
870 if (info->BlockWidth > 1 || info->BlockHeight > 1) { in _mesa_format_row_stride()
/external/swiftshader/src/Device/
DBC_Decoder.cpp30 static constexpr int BlockHeight = 4; variable
53 for(int j = 0; j < BlockHeight && (y + j) < dstH; j++) in decode()
56 int idxOffset = j * BlockHeight; in decode()
179 for(int j = 0; j < BlockHeight && (y + j) < dstH; j++) in decode()
183 …dst[channel + (i * dstBpp) + (j * dstPitch)] = static_cast<uint8_t>(c[getIdx((j * BlockHeight) + i… in decode()
203 for(int j = 0; j < BlockHeight && (y + j) < dstH; j++, dst += dstPitch) in decode()
208 *dstRow = getAlpha(j * BlockHeight + i); in decode()
1640 const int dy = BlockHeight * dstPitch; in Decode()
1649 for(int y = 0; y < h; y += BlockHeight, dst += dy) in Decode()
1663 for(int y = 0; y < h; y += BlockHeight, dst += dy) in Decode()
[all …]