Lines Matching refs:Weights
109 double *Weights; /* Normalized weights of neighboring pixels */ member
906 res->ContribRow[u].Weights = (double *) gdMalloc(weights_size); in _gdContributionsAlloc()
907 if (res->ContribRow[u].Weights == NULL) { in _gdContributionsAlloc()
910 gdFree(res->ContribRow[i].Weights); in _gdContributionsAlloc()
924 gdFree(p->ContribRow[u].Weights); in _gdContributionsFree()
973 …dTotalWeight += (res->ContribRow[u].Weights[iSrc-iLeft] = scale_f_d * (*pFilter)(scale_f_d * (dCe… in _gdContributionsCalc()
983 res->ContribRow[u].Weights[iSrc-iLeft] /= dTotalWeight; in _gdContributionsCalc()
1005 …r += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetRed(p_s… in _gdScaleRow()
1006 …g += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetGreen(p… in _gdScaleRow()
1007 …b += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetBlue(p_… in _gdScaleRow()
1008 …a += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetAlpha(p… in _gdScaleRow()
1052 …r += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetRed(pCurSrc)… in _gdScaleCol()
1053 …g += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetGreen(pCurSr… in _gdScaleCol()
1054 …b += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetBlue(pCurSrc… in _gdScaleCol()
1055 …a += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetAlpha(pCurSr… in _gdScaleCol()