Searched defs:contrib (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_interpolation.c965 static inline void _gdScaleRow(gdImagePtr pSrc, unsigned int src_width, gdImagePtr dst, unsigned int dst_width, unsigned int row, LineContribType *contrib) argument
973 const int left = contrib->ContribRow[x].Left;
974 const int right = contrib->ContribRow[x].Right;
980 r += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetRed(p_src_row[i])));
981 g += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetGreen(p_src_row[i])));
982 b += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetBlue(p_src_row[i])));
983 a += (unsigned char)(contrib->ContribRow[x].Weights[left_channel] * (double)(gdTrueColorGetAlpha(p_src_row[i])));
992 LineContribType * contrib; local
1002 contrib = _gdContributionsCalc(dst_width, src_width, (double)dst_width / (double)src_width, pSrc->interpolation);
1003 if (contrib
1013 _gdScaleCol(gdImagePtr pSrc, unsigned int src_width, gdImagePtr pRes, unsigned int dst_width, unsigned int dst_height, unsigned int uCol, LineContribType *contrib) argument
1039 LineContribType * contrib; local
[all...]

Completed in 35 milliseconds