Lines Matching refs:maxRectWidth
76 int maxRectSize, maxRectWidth;
246 int maxRectSize, maxRectWidth;
255 maxRectWidth = tightConf[compressLevel].maxRectWidth;
257 if (w > maxRectWidth || w * h > maxRectSize) {
258 subrectMaxWidth = (w > maxRectWidth) ? maxRectWidth : w;
260 return (((w - 1) / maxRectWidth + 1) *
359 int maxRectSize, maxRectWidth, nMaxWidth;
362 maxRectWidth = tightConf[compressLevel].maxRectWidth;
363 nMaxWidth = (w > maxRectWidth) ? maxRectWidth : w;
617 int maxRectSize, maxRectWidth;
623 maxRectWidth = tightConf[compressLevel].maxRectWidth;
646 if (w > maxRectWidth || w * h > maxRectSize) {
647 subrectMaxWidth = (w > maxRectWidth) ? maxRectWidth : w;
651 for (dx = 0; dx < w; dx += maxRectWidth) {
652 rw = (dx + maxRectWidth < w) ? maxRectWidth : w - dx;