Home | History | Annotate | Download | only in utils

Lines Matching refs:height

25                               int width, int height, size_t rowBytes) {
27 return 0 == etc1_encode_image(src, width, height, 2, SkToInt(rowBytes), dst);
74 int GetCompressedDataSize(Format fmt, int width, int height) {
111 if(((width % dimX) == 0) && ((height % dimY) == 0)) {
113 const int blocksY = height / dimY;
122 int width, int height, size_t rowBytes, Format format) {
124 if (proc && proc(dst, src, width, height, rowBytes)) {
140 if (proc && proc(dst, src, width, height, rowBytes)) {
148 int compressedDataSize = GetCompressedDataSize(format, pixmap.width(), pixmap.height());
157 pixmap.width(), pixmap.height(), pixmap.rowBytes(), format)) {
164 SkBlitter* CreateBlitterForFormat(int width, int height, void* compressedBuffer,
168 return CreateLATCBlitter(width, height, compressedBuffer, allocator);
171 return CreateR11EACBlitter(width, height, compressedBuffer, allocator);
174 return CreateASTCBlitter(width, height, compressedBuffer, allocator);
184 int width, int height, Format format) {
188 if (width < 0 || ((width % dimX) != 0) || height < 0 || ((height % dimY) != 0)) {
194 DecompressLATC(dst, dstRowBytes, src, width, height);
198 DecompressR11EAC(dst, dstRowBytes, src, width, height);
203 return 0 == etc1_decode_image(src, dst, width, height, 3, dstRowBytes);
220 DecompressASTC(dst, dstRowBytes, src, width, height, dimX, dimY);