Home | History | Annotate | Download | only in test

Lines Matching refs:cdist

148 		} cdist[256];
158 cdist[i].r = final.r-palcolors[i].r;
159 cdist[i].g = final.g-palcolors[i].g;
160 cdist[i].b = final.b-palcolors[i].b;
166 palcolors[c].r+((cdist[c].r*i))/maxstep;
168 palcolors[c].g+((cdist[c].g*i))/maxstep;
170 palcolors[c].b+((cdist[c].b*i))/maxstep;
180 cdist[i].r = final.r-palcolors[i].r;
181 cdist[i].g = final.g-palcolors[i].g;
182 cdist[i].b = final.b-palcolors[i].b;
189 palcolors[c].r+((cdist[c].r*i))/maxstep;
191 palcolors[c].g+((cdist[c].g*i))/maxstep;
193 palcolors[c].b+((cdist[c].b*i))/maxstep;
207 cdist[i].r = cmap[i].r-palcolors[i].r;
208 cdist[i].g = cmap[i].g-palcolors[i].g;
209 cdist[i].b = cmap[i].b-palcolors[i].b;
215 palcolors[c].r+((cdist[c].r*i))/maxstep;
217 palcolors[c].g+((cdist[c].g*i))/maxstep;
219 palcolors[c].b+((cdist[c].b*i))/maxstep;