Searched refs:dTotalWeight (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_interpolation.c932 double dTotalWeight = 0.0; local
948 dTotalWeight += (res->ContribRow[u].Weights[iSrc-iLeft] = scale_f_d * (*pFilter)(scale_f_d * (dCenter - (double)iSrc)));
951 if (dTotalWeight < 0.0) {
956 if (dTotalWeight > 0.0) {
958 res->ContribRow[u].Weights[iSrc-iLeft] /= dTotalWeight;

Completed in 8 milliseconds