Home
last modified time | relevance | path

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

/PHP-8.3/ext/gd/libgd/
H A Dgd.c398 HWBType HWB1, HWB2; in HWB_Diff() local
404 RGB_to_HWB(RGB1, &HWB1); in HWB_Diff()
412 if ((HWB1.H == HWB_UNDEFINED) || (HWB2.H == HWB_UNDEFINED)) { in HWB_Diff()
415 diff = fabsf(HWB1.H - HWB2.H); in HWB_Diff()
421 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