Lines Matching refs:dimY
37 void GetBlockDimensions(Format format, int* dimX, int* dimY, bool matchSpec) { in GetBlockDimensions() argument
38 if (nullptr == dimX || nullptr == dimY) { in GetBlockDimensions()
42 if (!matchSpec && SkOpts::fill_block_dimensions(format, dimX, dimY)) { in GetBlockDimensions()
71 *dimY = kFormatDimensions[format].fBlockSizeY; in GetBlockDimensions()
75 int dimX, dimY; in GetCompressedDataSize() local
76 GetBlockDimensions(fmt, &dimX, &dimY, true); in GetCompressedDataSize()
111 if(((width % dimX) == 0) && ((height % dimY) == 0)) { in GetCompressedDataSize()
113 const int blocksY = height / dimY; in GetCompressedDataSize()
185 int dimX, dimY; in DecompressBufferFromFormat() local
186 GetBlockDimensions(format, &dimX, &dimY, true); in DecompressBufferFromFormat()
188 if (width < 0 || ((width % dimX) != 0) || height < 0 || ((height % dimY) != 0)) { in DecompressBufferFromFormat()
220 DecompressASTC(dst, dstRowBytes, src, width, height, dimX, dimY); in DecompressBufferFromFormat()