Lines Matching refs:ContribRow
125 ContributionType *ContribRow; /* Row (or column) of contribution weights */ member
844 res->ContribRow = (ContributionType *) gdMalloc(line_length * sizeof(ContributionType)); in _gdContributionsAlloc()
845 if (res->ContribRow == NULL) { in _gdContributionsAlloc()
850 res->ContribRow[u].Weights = (double *) gdMalloc(weights_size); in _gdContributionsAlloc()
851 if (res->ContribRow[u].Weights == NULL) { in _gdContributionsAlloc()
854 gdFree(res->ContribRow[i].Weights); in _gdContributionsAlloc()
856 gdFree(res->ContribRow); in _gdContributionsAlloc()
868 gdFree(p->ContribRow[u].Weights); in _gdContributionsFree()
870 gdFree(p->ContribRow); in _gdContributionsFree()
912 res->ContribRow[u].Left = iLeft; in _gdContributionsCalc()
913 res->ContribRow[u].Right = iRight; in _gdContributionsCalc()
916 …dTotalWeight += (res->ContribRow[u].Weights[iSrc-iLeft] = scale_f_d * (*pFilter)(scale_f_d * (dCe… in _gdContributionsCalc()
926 res->ContribRow[u].Weights[iSrc-iLeft] /= dTotalWeight; in _gdContributionsCalc()
941 const int left = contrib->ContribRow[x].Left; in _gdScaleRow()
942 const int right = contrib->ContribRow[x].Right; in _gdScaleRow()
948 …r += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetRed(p_s… in _gdScaleRow()
949 …g += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetGreen(p… in _gdScaleRow()
950 …b += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetBlue(p_… in _gdScaleRow()
951 …a += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetAlpha(p… in _gdScaleRow()
987 const int iLeft = contrib->ContribRow[y].Left; in _gdScaleCol()
988 const int iRight = contrib->ContribRow[y].Right; in _gdScaleCol()
995 …r += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetRed(pCurSrc)… in _gdScaleCol()
996 …g += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetGreen(pCurSr… in _gdScaleCol()
997 …b += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetBlue(pCurSrc… in _gdScaleCol()
998 …a += (unsigned char)(contrib->ContribRow[y].Weights[i_iLeft] * (double)(gdTrueColorGetAlpha(pCurSr… in _gdScaleCol()