Searched refs:linrgb (Results 1 – 2 of 2) sorted by relevance
145 public static int argbFromLinrgb(double[] linrgb) { in argbFromLinrgb() argument146 int r = delinearized(linrgb[0]); in argbFromLinrgb()147 int g = delinearized(linrgb[1]); in argbFromLinrgb()148 int b = delinearized(linrgb[2]); in argbFromLinrgb()
362 static double hueOf(double[] linrgb) { in hueOf() argument366 double[] row = linrgb; in hueOf()367 double rD = linrgb[0] * matrix[0][0] + row[1] * matrix[0][1] + row[2] * matrix[0][2]; in hueOf()368 double gD = linrgb[0] * matrix[1][0] + row[1] * matrix[1][1] + row[2] * matrix[1][2]; in hueOf()369 double bD = linrgb[0] * matrix[2][0] + row[1] * matrix[2][1] + row[2] * matrix[2][2]; in hueOf()