Lines Matching refs:weight
19153 var v, i, weight, idx, a, red, green,
19177 weight = cacheLanc[fX][fY];
19178 if (weight > 0) {
19180 a += weight;
19181 red += weight * srcData[idx];
19182 green += weight * srcData[idx + 1];
19183 blue += weight * srcData[idx + 2];
19184 alpha += weight * srcData[idx + 3];
19255 var x2 = (i + j * dW) * 4, weight = 0, weights = 0, weightsAlpha = 0,
19268 weight = 2 * w * w * w - 3 * w * w + 1;
19269 if (weight > 0) {
19272 gxA += weight * data[dx + 3];
19273 weightsAlpha += weight;
19277 weight = weight * data[dx + 3] / 250;
19280 gxR += weight * data[dx];
19281 gxG += weight * data[dx + 1];
19282 gxB += weight * data[dx + 2];
19283 weights += weight;