Home
last modified time | relevance | path

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

/PHP-5.3/ext/gd/libgd/
H A Dgd.c354 HWBType HWB1, HWB2; in HWB_Diff() local
360 RGB_to_HWB(RGB1, &HWB1); in HWB_Diff()
368 if ((HWB1.H == HWB_UNDEFINED) || (HWB2.H == HWB_UNDEFINED)) { in HWB_Diff()
371 diff = fabsf(HWB1.H - HWB2.H); in HWB_Diff()
377 diff = diff * diff + (HWB1.W - HWB2.W) * (HWB1.W - HWB2.W) + (HWB1.B - HWB2.B) * (HWB1.B - HWB2.B); in HWB_Diff()

Completed in 10 milliseconds