Searched refs:Weights (Results 1 – 1 of 1) sorted by relevance
119 double *Weights; /* Normalized weights of neighboring pixels */ member845 res->ContribRow[u].Weights = (double *) gdMalloc(weights_size); in _gdContributionsAlloc()846 if (res->ContribRow[u].Weights == NULL) { in _gdContributionsAlloc()849 gdFree(res->ContribRow[i].Weights); in _gdContributionsAlloc()863 gdFree(p->ContribRow[u].Weights); in _gdContributionsFree()921 res->ContribRow[u].Weights[iSrc-iLeft] /= dTotalWeight; in _gdContributionsCalc()946 …a += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetAlpha(p… in _gdScaleRow()990 …r += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetRed(pCurSrc)… in _gdScaleCol()991 …g += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetGreen(pCurSr… in _gdScaleCol()992 …b += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetBlue(pCurSrc… in _gdScaleCol()[all …]
Completed in 12 milliseconds