Lines Matching refs:ContribRow

125    ContributionType *ContribRow; /* Row (or column) of contribution weights */  member
839 res->ContribRow = (ContributionType *) gdMalloc(line_length * sizeof(ContributionType)); in _gdContributionsAlloc()
840 if (res->ContribRow == NULL) { in _gdContributionsAlloc()
845 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()
851 gdFree(res->ContribRow); in _gdContributionsAlloc()
863 gdFree(p->ContribRow[u].Weights); in _gdContributionsFree()
865 gdFree(p->ContribRow); in _gdContributionsFree()
907 res->ContribRow[u].Left = iLeft; in _gdContributionsCalc()
908 res->ContribRow[u].Right = iRight; in _gdContributionsCalc()
911 …dTotalWeight += (res->ContribRow[u].Weights[iSrc-iLeft] = scale_f_d * (*pFilter)(scale_f_d * (dCe… in _gdContributionsCalc()
921 res->ContribRow[u].Weights[iSrc-iLeft] /= dTotalWeight; in _gdContributionsCalc()
936 const int left = contrib->ContribRow[x].Left; in _gdScaleRow()
937 const int right = contrib->ContribRow[x].Right; in _gdScaleRow()
943 …r += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetRed(p_s… in _gdScaleRow()
944 …g += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetGreen(p… in _gdScaleRow()
945 …b += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetBlue(p_… in _gdScaleRow()
946 …a += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetAlpha(p… in _gdScaleRow()
982 const int iLeft = contrib->ContribRow[y].Left; in _gdScaleCol()
983 const int iRight = contrib->ContribRow[y].Right; in _gdScaleCol()
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()
993 …a += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetAlpha(pCurSr… in _gdScaleCol()