Lines Matching refs:shared
9669 if (p.shared.blurRadius !== radius) {
9670 p.shared.blurRadius = radius;
9671 p.shared.blurKernelSize = 1 + (p.shared.blurRadius<<1);
9672 p.shared.blurKernel = new Array(p.shared.blurKernelSize);
9674 for (i = 0; i < p.shared.blurKernelSize; i++) {
9675 p.shared.blurKernel[i] = 0;
9679 p.shared.blurKernel[radius+i] = p.shared.blurKernel[radiusi] = radiusi * radiusi;
9681 p.shared.blurKernel[radius] = radius * radius;
9701 read = x - p.shared.blurRadius;
9711 for (i = bk0; i < p.shared.blurKernelSize; i++) {
9716 m = p.shared.blurKernel[i];
9734 ym = -p.shared.blurRadius;
9751 for (i = bk0; i < p.shared.blurKernelSize; i++) {
9755 m = p.shared.blurKernel[i];
9999 p.shared = { class in p
10064 p.shared.sX = p.shared.srcXOffset;
10065 p.shared.fracV = p.shared.srcYOffset & PConstants.PREC_MAXVAL;
10066 p.shared.ifV = PConstants.PREC_MAXVAL - p.shared.fracV;
10067 p.shared.v1 = (p.shared.srcYOffset >> PConstants.PRECISIONB) * p.shared.iw;
10068 …p.shared.v2 = Math.min((p.shared.srcYOffset >> PConstants.PRECISIONB) + 1, p.shared.ih1) * p.share…
10072 p.shared.fracU = p.shared.sX & PConstants.PREC_MAXVAL;
10073 p.shared.ifU = PConstants.PREC_MAXVAL - p.shared.fracU;
10074 p.shared.ul = (p.shared.ifU * p.shared.ifV) >> PConstants.PRECISIONB;
10075 p.shared.ll = (p.shared.ifU * p.shared.fracV) >> PConstants.PRECISIONB;
10076 p.shared.ur = (p.shared.fracU * p.shared.ifV) >> PConstants.PRECISIONB;
10077 p.shared.lr = (p.shared.fracU * p.shared.fracV) >> PConstants.PRECISIONB;
10078 p.shared.u1 = (p.shared.sX >> PConstants.PRECISIONB);
10079 p.shared.u2 = Math.min(p.shared.u1 + 1, p.shared.iw1);
10082 var cULoffset = (p.shared.v1 + p.shared.u1) * 4;
10083 var cURoffset = (p.shared.v1 + p.shared.u2) * 4;
10084 var cLLoffset = (p.shared.v2 + p.shared.u1) * 4;
10085 var cLRoffset = (p.shared.v2 + p.shared.u2) * 4;
10086 p.shared.cUL = p.color.toInt(p.shared.srcBuffer[cULoffset], p.shared.srcBuffer[cULoffset+1],
10087 p.shared.srcBuffer[cULoffset+2], p.shared.srcBuffer[cULoffset+3]);
10088 p.shared.cUR = p.color.toInt(p.shared.srcBuffer[cURoffset], p.shared.srcBuffer[cURoffset+1],
10089 p.shared.srcBuffer[cURoffset+2], p.shared.srcBuffer[cURoffset+3]);
10090 p.shared.cLL = p.color.toInt(p.shared.srcBuffer[cLLoffset], p.shared.srcBuffer[cLLoffset+1],
10091 p.shared.srcBuffer[cLLoffset+2], p.shared.srcBuffer[cLLoffset+3]);
10092 p.shared.cLR = p.color.toInt(p.shared.srcBuffer[cLRoffset], p.shared.srcBuffer[cLRoffset+1],
10093 p.shared.srcBuffer[cLRoffset+2], p.shared.srcBuffer[cLRoffset+3]);
10094 p.shared.r = ((p.shared.ul * ((p.shared.cUL & PConstants.RED_MASK) >> 16) + p.shared.ll *
10095 …((p.shared.cLL & PConstants.RED_MASK) >> 16) + p.shared.ur * ((p.shared.cUR & PConstants.RED_MASK)…
10096 …p.shared.lr * ((p.shared.cLR & PConstants.RED_MASK) >> 16)) << PConstants.PREC_RED_SHIFT) & PConst…
10097 …p.shared.g = ((p.shared.ul * (p.shared.cUL & PConstants.GREEN_MASK) + p.shared.ll * (p.shared.cLL …
10098 p.shared.ur * (p.shared.cUR & PConstants.GREEN_MASK) + p.shared.lr *
10099 … (p.shared.cLR & PConstants.GREEN_MASK)) >>> PConstants.PRECISIONB) & PConstants.GREEN_MASK;
10100 …p.shared.b = (p.shared.ul * (p.shared.cUL & PConstants.BLUE_MASK) + p.shared.ll * (p.shared.cLL & …
10101 …p.shared.ur * (p.shared.cUR & PConstants.BLUE_MASK) + p.shared.lr * (p.shared.cLR & PConstants.BLU…
10102 p.shared.a = ((p.shared.ul * ((p.shared.cUL & PConstants.ALPHA_MASK) >>> 24) + p.shared.ll *
10103 …((p.shared.cLL & PConstants.ALPHA_MASK) >>> 24) + p.shared.ur * ((p.shared.cUR & PConstants.ALPHA_…
10104 …p.shared.lr * ((p.shared.cLR & PConstants.ALPHA_MASK) >>> 24)) << PConstants.PREC_ALPHA_SHIFT) & P…
10105 return p.shared.a | p.shared.r | p.shared.g | p.shared.b;
10138 p.shared.srcXOffset = Math.floor(destX1 < 0 ? -destX1 * dx : srcX1 * PConstants.PRECISIONF);
10139 p.shared.srcYOffset = Math.floor(destY1 < 0 ? -destY1 * dy : srcY1 * PConstants.PRECISIONF);
10153 p.shared.srcBuffer = img.imageData.data;
10156 p.shared.iw = img.width;
10157 p.shared.iw1 = img.width - 1;
10158 p.shared.ih1 = img.height - 1;
10175 p.shared.sX += dx;
10178 p.shared.srcYOffset += dy;
10197 p.shared.sX += dx;
10200 p.shared.srcYOffset += dy;
10218 p.shared.sX += dx;
10221 p.shared.srcYOffset += dy;
10239 p.shared.sX += dx;
10242 p.shared.srcYOffset += dy;
10260 p.shared.sX += dx;
10263 p.shared.srcYOffset += dy;
10281 p.shared.sX += dx;
10284 p.shared.srcYOffset += dy;
10302 p.shared.sX += dx;
10305 p.shared.srcYOffset += dy;
10323 p.shared.sX += dx;
10326 p.shared.srcYOffset += dy;
10344 p.shared.sX += dx;
10347 p.shared.srcYOffset += dy;
10365 p.shared.sX += dx;
10368 p.shared.srcYOffset += dy;
10386 p.shared.sX += dx;
10389 p.shared.srcYOffset += dy;
10407 p.shared.sX += dx;
10410 p.shared.srcYOffset += dy;
10428 p.shared.sX += dx;
10431 p.shared.srcYOffset += dy;
10449 p.shared.sX += dx;
10452 p.shared.srcYOffset += dy;
10470 p.shared.sX += dx;
10473 p.shared.srcYOffset += dy;