Home
last modified time | relevance | path

Searched refs:blockDimY (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/images/
DSkImageDecoder_astc.cpp61 const int blockDimY = buf[1]; in onDecode() local
71 if (4 == blockDimX && 4 == blockDimY) { in onDecode()
73 } else if (5 == blockDimX && 4 == blockDimY) { in onDecode()
75 } else if (5 == blockDimX && 5 == blockDimY) { in onDecode()
77 } else if (6 == blockDimX && 5 == blockDimY) { in onDecode()
79 } else if (6 == blockDimX && 6 == blockDimY) { in onDecode()
81 } else if (8 == blockDimX && 5 == blockDimY) { in onDecode()
83 } else if (8 == blockDimX && 6 == blockDimY) { in onDecode()
85 } else if (8 == blockDimX && 8 == blockDimY) { in onDecode()
87 } else if (10 == blockDimX && 5 == blockDimY) { in onDecode()
[all …]
/external/skia/src/utils/
DSkTextureCompressor_ASTC.h24 int width, int height, int blockDimX, int blockDimY);
DSkTextureCompressor_ASTC.cpp317 static inline void write_constant_color(uint8_t* dst, int blockDimX, int blockDimY, in write_constant_color() argument
319 for (int y = 0; y < blockDimY; ++y) { in write_constant_color()
330 static inline void write_error_color(uint8_t* dst, int blockDimX, int blockDimY, in write_error_color() argument
338 write_constant_color(dst, blockDimX, blockDimY, dstRowBytes, kASTCErrorColor); in write_error_color()
2081 int width, int height, int blockDimX, int blockDimY) { in DecompressASTC() argument
2087 ASTCDecompressionData data(blockDimX, blockDimY); in DecompressASTC()
2088 for (int y = 0; y < height; y += blockDimY) { in DecompressASTC()
2089 dst -= blockDimY * dstRowBytes; in DecompressASTC()