Searched refs:linearB (Results 1 – 1 of 1) sorted by relevance
150 float linearB = Bx * X + By * Y + Bz * Z; in lab2rgb() local153 B = (uint8)constrain_int32_0_255((int32)(pow(linearB, 0.4) * 255.0 + 0.5)); in lab2rgb()179 float linearB = linearTable[B]; in rgb2lab() local180 float Xq = XRn * linearR + XGn * linearG + XBn * linearB; // == X/Xn in rgb2lab()181 float Yq = YRn * linearR + YGn * linearG + YBn * linearB; // == Y/Yn in rgb2lab()182 float Zq = ZRn * linearR + ZGn * linearG + ZBn * linearB; // == Z/Zn in rgb2lab()