Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/cam/
DCamUtils.java145 public static int argbFromLinrgb(double[] linrgb) { in argbFromLinrgb() argument
146 int r = delinearized(linrgb[0]); in argbFromLinrgb()
147 int g = delinearized(linrgb[1]); in argbFromLinrgb()
148 int b = delinearized(linrgb[2]); in argbFromLinrgb()
DHctSolver.java362 static double hueOf(double[] linrgb) { in hueOf() argument
366 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()