Home | History | Annotate | Download | only in utils

Lines Matching refs:dimX

38 void GetBlockDimensions(Format format, int* dimX, int* dimY, bool matchSpec) {
39 if (NULL == dimX || NULL == dimY) {
43 if (!matchSpec && SkTextureCompressorGetPlatformDims(format, dimX, dimY)) {
71 *dimX = kFormatDimensions[format].fBlockSizeX;
76 int dimX, dimY;
77 GetBlockDimensions(fmt, &dimX, &dimY, true);
112 if(((width % dimX) == 0) && ((height % dimY) == 0)) {
113 const int blocksX = width / dimX;
216 int dimX, dimY;
217 GetBlockDimensions(format, &dimX, &dimY, true);
219 if (width < 0 || ((width % dimX) != 0) || height < 0 || ((height % dimY) != 0)) {
251 DecompressASTC(dst, dstRowBytes, src, width, height, dimX, dimY);