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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c358 HWBType HWB1, HWB2; local
364 RGB_to_HWB(RGB1, &HWB1);
372 if ((HWB1.H == HWB_UNDEFINED) || (HWB2.H == HWB_UNDEFINED)) {
375 diff = fabsf(HWB1.H - HWB2.H);
381 diff = diff * diff + (HWB1.W - HWB2.W) * (HWB1.W - HWB2.W) + (HWB1.B - HWB2.B) * (HWB1.B - HWB2.B);

Completed in 9 milliseconds