Home
last modified time | relevance | path

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

/PHP-8.2/ext/gd/libgd/
H A Dgd.c398 HWBType HWB1, HWB2; in HWB_Diff() local
405 RGB_to_HWB(RGB2, &HWB2); 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 12 milliseconds