Lines Matching refs:maxRectWidth
52 int maxRectSize, maxRectWidth;
176 int maxRectSize, maxRectWidth;
185 maxRectWidth = tightConf[compressLevel].maxRectWidth;
187 if (w > maxRectWidth || w * h > maxRectSize) {
188 subrectMaxWidth = (w > maxRectWidth) ? maxRectWidth : w;
190 return (((w - 1) / maxRectWidth + 1) *
246 int maxRectSize, maxRectWidth, nMaxWidth;
249 maxRectWidth = tightConf[compressLevel].maxRectWidth;
250 nMaxWidth = (w > maxRectWidth) ? maxRectWidth : w;
497 int maxRectSize, maxRectWidth;
503 maxRectWidth = tightConf[compressLevel].maxRectWidth;
526 if (w > maxRectWidth || w * h > maxRectSize) {
527 subrectMaxWidth = (w > maxRectWidth) ? maxRectWidth : w;
531 for (dx = 0; dx < w; dx += maxRectWidth) {
532 rw = (dx + maxRectWidth < w) ? maxRectWidth : w - dx;