Home
last modified time | relevance | path

Searched refs:Weights (Results 1 – 1 of 1) sorted by relevance

/PHP-5.5/ext/gd/libgd/
H A Dgd_interpolation.c107 double *Weights; /* Normalized weights of neighboring pixels */ member
906 res->ContribRow[u].Weights = (double *) gdMalloc(windows_size * sizeof(double)); in _gdContributionsAlloc()
908 if (overflow_error == 1 || res->ContribRow[u].Weights == NULL) { in _gdContributionsAlloc()
912 gdFree(res->ContribRow[i].Weights); in _gdContributionsAlloc()
925 gdFree(p->ContribRow[u].Weights); in _gdContributionsFree()
984 res->ContribRow[u].Weights[iSrc-iLeft] /= dTotalWeight; in _gdContributionsCalc()
1009 …a += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetAlpha(p… in _gdScaleRow()
1053 …r += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetRed(pCurSrc)… in _gdScaleCol()
1054 …g += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetGreen(pCurSr… in _gdScaleCol()
1055 …b += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetBlue(pCurSrc… in _gdScaleCol()
[all …]

Completed in 12 milliseconds