Searched refs:cDelta (Results 1 – 2 of 2) sorted by relevance
184 sal_uInt8 cDelta = cMax - cMin; in RGBtoHSB() local188 nSat = cDelta * 100 / cMax; in RGBtoHSB()200 dHue = (double)( c[1] - c[2] ) / (double)cDelta; in RGBtoHSB()204 dHue = 2.0 + (double)( c[2] - c[0] ) / (double)cDelta; in RGBtoHSB()208 dHue = 4.0 + (double)( c[0] - c[1] ) / (double)cDelta; in RGBtoHSB()
90 double cDelta = dV - std::min( dR, std::min( dG, dB ) ); in RGBtoHSV() local94 dS = cDelta / dV; in RGBtoHSV()104 dH = ( dG - dB ) / cDelta; in RGBtoHSV()108 dH = 2.0 + ( dB - dR ) / cDelta; in RGBtoHSV()112 dH = 4.0 + ( dR - dG ) / cDelta; in RGBtoHSV()
Completed in 26 milliseconds