/external/skia/include/core/ |
D | SkColorSpace.h | 96 static sk_sp<SkColorSpace> MakeRGB(RenderTargetGamma gamma, Gamut gamut); 97 static sk_sp<SkColorSpace> MakeRGB(RenderTargetGamma gamma, const SkMatrix44& toXYZD50); 98 static sk_sp<SkColorSpace> MakeRGB(const SkColorSpaceTransferFn& coeffs, Gamut gamut); 99 static sk_sp<SkColorSpace> MakeRGB(const SkColorSpaceTransferFn& coeffs,
|
/external/skia/src/core/ |
D | SkColorSpace.cpp | 115 sk_sp<SkColorSpace> SkColorSpace_Base::MakeRGB(SkGammaNamed gammaNamed, const SkMatrix44& toXYZD50) in MakeRGB() function in SkColorSpace_Base 143 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(RenderTargetGamma gamma, const SkMatrix44& toXYZD50) { in MakeRGB() function in SkColorSpace 146 return SkColorSpace_Base::MakeRGB(kLinear_SkGammaNamed, toXYZD50); in MakeRGB() 148 return SkColorSpace_Base::MakeRGB(kSRGB_SkGammaNamed, toXYZD50); in MakeRGB() 154 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(const SkColorSpaceTransferFn& coeffs, in MakeRGB() function in SkColorSpace 161 return SkColorSpace::MakeRGB(kSRGB_RenderTargetGamma, toXYZD50); in MakeRGB() 165 return SkColorSpace_Base::MakeRGB(k2Dot2Curve_SkGammaNamed, toXYZD50); in MakeRGB() 169 return SkColorSpace_Base::MakeRGB(kLinear_SkGammaNamed, toXYZD50); in MakeRGB() 186 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(RenderTargetGamma gamma, Gamut gamut) { in MakeRGB() function in SkColorSpace 189 return SkColorSpace::MakeRGB(gamma, toXYZD50); in MakeRGB() [all …]
|
D | SkColorSpace_XYZ.cpp | 89 return SkColorSpace_Base::MakeRGB(kLinear_SkGammaNamed, fToXYZD50); in makeLinearGamma() 96 return SkColorSpace_Base::MakeRGB(kSRGB_SkGammaNamed, fToXYZD50); in makeSRGBGamma()
|
D | SkColorSpace_Base.h | 197 static sk_sp<SkColorSpace> MakeRGB(SkGammaNamed gammaNamed, const SkMatrix44& toXYZD50);
|
D | SkColorSpace_ICC.cpp | 1416 return SkColorSpace_Base::MakeRGB(gammaNamed, mat); in make_xyz() 1441 return SkColorSpace_Base::MakeRGB(data.fNamed, toXYZD50); in make_gray()
|
/external/skia/tests/ |
D | ColorSpaceTest.cpp | 112 SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, srgbToxyzD50); in DEF_TEST() 123 sk_sp<SkColorSpace> rgbColorSpace2 = SkColorSpace::MakeRGB(srgbFn, srgbToxyzD50); in DEF_TEST() 129 SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, srgbToxyzD50); in DEF_TEST() 147 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, srgbToxyzD50); in DEF_TEST() 158 sk_sp<SkColorSpace> rgbColorSpace2 = SkColorSpace::MakeRGB(linearExpFn, srgbToxyzD50); in DEF_TEST() 169 sk_sp<SkColorSpace> rgbColorSpace3 = SkColorSpace::MakeRGB(linearFn, srgbToxyzD50); in DEF_TEST() 175 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, srgbToxyzD50); in DEF_TEST() 196 sk_sp<SkColorSpace> rgbColorSpace = SkColorSpace::MakeRGB(fn, adobeToxyzD50); in DEF_TEST() 267 test_serialize(r, SkColorSpace::MakeRGB(fn, toXYZ).get(), false); in DEF_TEST() 292 sk_sp<SkColorSpace> rgb4 = SkColorSpace::MakeRGB(fn, toXYZ); in DEF_TEST() [all …]
|
D | ImageTest.cpp | 1033 sk_sp<SkColorSpace> rec2020 = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in DEF_TEST() 1055 sk_sp<SkColorSpace> p3 = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in DEF_TEST() 1059 sk_sp<SkColorSpace> adobeGamut = SkColorSpace::MakeRGB(fn, SkColorSpace::kAdobeRGB_Gamut); in DEF_TEST()
|
D | ColorSpaceXformTest.cpp | 308 auto dstSpace = SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, SkMatrix44::I()); in DEF_TEST()
|
D | BitmapCopyTest.cpp | 668 sk_sp<SkColorSpace> cs = SkColorSpace::MakeRGB(fn, SkColorSpace::kRec2020_Gamut); in DEF_TEST()
|
D | CanvasTest.cpp | 909 sk_sp<SkColorSpace> cs = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in DEF_TEST()
|
D | SurfaceTest.cpp | 816 auto oddColorSpace = SkColorSpace::MakeRGB(oddGamma, *srgbMatrix); in test_surface_creation_and_snapshot_with_color_space()
|
D | CodecTest.cpp | 1570 sk_sp<SkColorSpace> p3 = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in test_encode_icc()
|
/external/skia/gm/ |
D | gammaencodedpremul.cpp | 119 SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, SkColorSpace::kRec2020_Gamut), 121 DEF_GM(return new GammaEncodedPremulGM(SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, 124 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, SkColorSpace::kSRGB_Gamut), 127 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, SkColorSpace::kSRGB_Gamut), 130 SkColorSpace::MakeRGB({ 1.8f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f },
|
D | gamut.cpp | 138 wideCS = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in draw_gamut_grid() 143 wideCS = SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, in draw_gamut_grid()
|
D | colorspacexform.cpp | 42 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, wideGamut); in onOnceBeforeDraw()
|
D | color4f.cpp | 120 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, mat)),
|
D | readpixels.cpp | 97 return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, toXYZD50); in make_srgb_transfer_fn()
|
/external/skia/tools/flags/ |
D | SkCommonFlagsConfig.cpp | 312 *outColorSpace = SkColorSpace::MakeRGB(gamma, gamut); in parse_option_gpu_color() 326 *outColorSpace = SkColorSpace::MakeRGB(gamma, wideGamutRGBMatrix); in parse_option_gpu_color() 337 *outColorSpace = SkColorSpace::MakeRGB(gamma, narrowGamutRGBMatrix); in parse_option_gpu_color()
|
/external/skia/bench/ |
D | ColorCanvasDrawBitmapBench.cpp | 56 SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, SkColorSpace::kAdobeRGB_Gamut),
|
D | ColorCodecBench.cpp | 78 fDstSpace = SkColorSpace::MakeRGB(gamma, matrix); in onDelayedSetup()
|
/external/skia/src/codec/ |
D | SkPngCodec.cpp | 414 return SkColorSpace::MakeRGB(fn, toXYZD50); in read_color_space() 419 return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, toXYZD50); in read_color_space() 433 return SkColorSpace::MakeRGB(fn, toXYZD50); in read_color_space()
|
D | SkAndroidCodec.cpp | 192 return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in computeOutputColorSpace()
|
/external/skia/dm/ |
D | DM.cpp | 890 return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in adobe_rgb() 907 return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, toXYZD50); in rgb_to_gbr()
|
/external/skia/tools/viewer/ |
D | Viewer.cpp | 752 cs = SkColorSpace::MakeRGB(transferFn, toXYZ); in drawSlide()
|
/external/skia/samplecode/ |
D | SampleApp.cpp | 1706 colorSpace = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in onEvent()
|