Searched refs:tot_weight (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c2878 int src_weight, dst_weight, tot_weight; local
2899 tot_weight = src_weight + dst_weight;
2907 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight;
2909 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight;
2911 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight;
H A Dgd_interpolation.c622 const int tot_weight = src_weight + dst_weight; local
627 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight;
629 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight;
631 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight;

Completed in 13 milliseconds