Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dformats.c74 uint8_t BlockWidth, BlockHeight, BlockDepth; member
346 *bw = info->BlockWidth; in _mesa_get_format_block_size()
366 *bw = info->BlockWidth; in _mesa_get_format_block_size_3d()
531 return info->BlockWidth > 1 || info->BlockHeight > 1; in _mesa_is_format_compressed()
819 if (info->BlockWidth > 1 || info->BlockHeight > 1 || info->BlockDepth > 1) { in _mesa_format_image_size()
821 const uint32_t bw = info->BlockWidth; in _mesa_format_image_size()
847 if (info->BlockWidth > 1 || info->BlockHeight > 1 || info->BlockDepth > 1) { in _mesa_format_image_size64()
849 const uint64_t bw = info->BlockWidth; in _mesa_format_image_size64()
871 if (info->BlockWidth > 1 || info->BlockHeight > 1) { in _mesa_format_row_stride()
873 const uint32_t bw = info->BlockWidth; in _mesa_format_row_stride()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DBC_Decoder.cpp29 static constexpr int BlockWidth = 4; variable
57 for(int i = 0; i < BlockWidth && (x + i) < dstW; i++, idxOffset++, dstOffset += dstBpp) in decode()
181 for(int i = 0; i < BlockWidth && (x + i) < dstW; i++) in decode()
206 for(int i = 0; i < BlockWidth && (x + i) < dstW; i++, dstRow += dstBpp) in decode()
1668 const int dx = BlockWidth * dstBpp; in Decode()
1681 for(int x = 0; x < w; x += BlockWidth, ++color, dstRow += dx) in Decode()
1695 for(int x = 0; x < w; x += BlockWidth, alpha += 2, color += 2, dstRow += dx) in Decode()
1710 for(int x = 0; x < w; x += BlockWidth, alpha += 2, color += 2, dstRow += dx) in Decode()
1724 for(int x = 0; x < w; x += BlockWidth, ++red, dstRow += dx) in Decode()
1738 for(int x = 0; x < w; x += BlockWidth, red += 2, green += 2, dstRow += dx) in Decode()
[all …]