Searched refs:eotf (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 633 DoubleUnaryOperator eotf = ((ColorSpace.Rgb) mColorSpace).getEotf(); in luminance() local 634 double r = eotf.applyAsDouble(mComponents[0]); in luminance() 635 double g = eotf.applyAsDouble(mComponents[1]); in luminance() 636 double b = eotf.applyAsDouble(mComponents[2]); in luminance() 1223 DoubleUnaryOperator eotf = ((ColorSpace.Rgb) colorSpace).getEotf(); in luminance() local 1224 double r = eotf.applyAsDouble(red(color)); in luminance() 1225 double g = eotf.applyAsDouble(green(color)); in luminance() 1226 double b = eotf.applyAsDouble(blue(color)); in luminance() 1355 DoubleUnaryOperator eotf = cs.getEotf(); in luminance() local 1357 double r = eotf.applyAsDouble(red(color) / 255.0); in luminance() [all …]
|
D | ColorSpace.java | 2394 @NonNull DoubleUnaryOperator eotf) { in Rgb() argument 2396 oetf, eotf, 0.0f, 1.0f, null, MIN_ID); in Rgb() 2443 @NonNull DoubleUnaryOperator eotf, in Rgb() argument 2446 this(name, primaries, whitePoint, null, oetf, eotf, min, max, null, MIN_ID); in Rgb() 2737 @NonNull DoubleUnaryOperator eotf, in Rgb() argument 2755 if (oetf == null || eotf == null) { in Rgb() 2780 mEotf = eotf; in Rgb() 2787 mClampedEotf = clamp.andThen(eotf); in Rgb() 2794 mIsSrgb = isSrgb(mPrimaries, mWhitePoint, oetf, eotf, min, max, id); in Rgb()
|