Lines Matching refs:ContribRow
114 ContributionType *ContribRow; /* Row (or column) of contribution weights */ member
833 res->ContribRow = (ContributionType *) gdMalloc(line_length * sizeof(ContributionType)); in _gdContributionsAlloc()
834 if (res->ContribRow == NULL) { in _gdContributionsAlloc()
839 res->ContribRow[u].Weights = (double *) gdMalloc(weights_size); in _gdContributionsAlloc()
840 if (res->ContribRow[u].Weights == NULL) { in _gdContributionsAlloc()
843 gdFree(res->ContribRow[i].Weights); in _gdContributionsAlloc()
845 gdFree(res->ContribRow); in _gdContributionsAlloc()
857 gdFree(p->ContribRow[u].Weights); in _gdContributionsFree()
859 gdFree(p->ContribRow); in _gdContributionsFree()
901 res->ContribRow[u].Left = iLeft; in _gdContributionsCalc()
902 res->ContribRow[u].Right = iRight; in _gdContributionsCalc()
905 …dTotalWeight += (res->ContribRow[u].Weights[iSrc-iLeft] = scale_f_d * (*pFilter)(scale_f_d * (dCe… in _gdContributionsCalc()
915 res->ContribRow[u].Weights[iSrc-iLeft] /= dTotalWeight; in _gdContributionsCalc()
956 const int left = contrib->ContribRow[x].Left; in _gdScaleRow()
957 const int right = contrib->ContribRow[x].Right; in _gdScaleRow()
963 r += contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetRed(p_src_row[i])); in _gdScaleRow()
964 g += contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetGreen(p_src_row[i])); in _gdScaleRow()
965 b += contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetBlue(p_src_row[i])); in _gdScaleRow()
966 a += contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetAlpha(p_src_row[i])); in _gdScaleRow()
1004 const int iLeft = contrib->ContribRow[y].Left; in _gdScaleCol()
1005 const int iRight = contrib->ContribRow[y].Right; in _gdScaleCol()
1012 r += contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetRed(pCurSrc)); in _gdScaleCol()
1013 g += contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetGreen(pCurSrc)); in _gdScaleCol()
1014 b += contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetBlue(pCurSrc)); in _gdScaleCol()
1015 a += contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetAlpha(pCurSrc)); in _gdScaleCol()