Searched refs:wtot (Results 1 – 2 of 2) sorted by relevance
792 double w, wx, wy, wtot; /* pixel weights */ in scale_rect() local1054 wtot = 0.0; in scale_rect()1157 wtot += w; in scale_rect()1195 if (wtot <= 0.0) { in scale_rect()1196 wtot = 1.0; in scale_rect()1198 wtot = 1.0/wtot; /* normalization factor */ in scale_rect()1202 *(dest ) = (char) (wtot * pixave[0]); in scale_rect()1203 *(dest+1) = (char) (wtot * pixave[1]); in scale_rect()1204 *(dest+2) = (char) (wtot * pixave[2]); in scale_rect()1205 *(dest+3) = (char) (wtot * pixave[3]); in scale_rect()[all …]
4706 + double w, wx, wy, wtot; /* pixel weights */5054 + * wtot is for accumulating the total weight.5057 + wtot = 0.0;5160 + wtot += w;5198 + if (wtot <= 0.0) {5199 + wtot = 1.0;5201 + wtot = 1.0/wtot; /* normalization factor */5205 + *(dest ) = (char) (wtot * pixave[0]);5206 + *(dest+1) = (char) (wtot * pixave[1]);5207 + *(dest+2) = (char) (wtot * pixave[2]);[all …]