Searched refs:rdist (Results 1 – 1 of 1) sorted by relevance
309 long rdist, gdist, bdist; in InverseColorMap() local321 rdist = cRed - x2; in InverseColorMap()324 rdist = rdist*rdist + gdist*gdist + bdist*bdist; in InverseColorMap()333 for( r = 0, rxx = crinc; r < nColorMax; rdist += rxx, r++, rxx += xsqr2 ) in InverseColorMap()335 … for( g = 0, gdist = rdist, gxx = cginc; g < nColorMax; gdist += gxx, g++, gxx += xsqr2 ) in InverseColorMap()
Completed in 6 milliseconds